Skip to contents

hlapro (development version)

hlapro 0.4.0

hlapro 0.3.0

  • New read_lum_csv() function to parse raw Luminex Single-Antigen Bead assay data
  • Fixed tests for new release of HLA Eplet registry (2024-08-19)

hlapro 0.2.3

  • Fixed tests for new release of HLA Eplet registry (2024-03-15)

hlapro 0.2.2

hlapro 0.2.1

hlapro 0.2.0

  • New functions to lookup eplets/alleles in the HLA Eplet registry. Updated for release “2024-01-22: IPD-IMGT/HLA 3.54” of the registry (#9)

  • New upscale_typings() function to impute high-resolution (two-field) genotypes for a low resolution serological input typing, based on haplotype frequencies released by the NMDP

  • New gl_to_df() and df_to_gl() functions to convert between a data frame with one column per allele and a GL String containing all alleles.

  • New clean_hla() function to correct common formatting issues in HLA allele typing strings.

  • New functions to get serological equivalents of an allele from the ETRL HLA tables. These tables are also shipped with the package as the etrl_hla data frame:

  • New validate_alleles() to check whether a(n) (list of) HLA allele(s) is well-formed

  • New get_resolution() to determine resolution of a(n) (list of) HLA allele(s) as either low, intermediate, or high.

  • New extract_alleles_str(), extract_alleles_df() gets alleles for each locus from HLA typing string, and separates them into named list elements / new columns in a data frame.

    • Use count_alleles() to inspect the number of alleles per locus. The extract_alleles()_* functions also use count_alleles() to warn whenever they encounter a typing with more than two alleles per locus.

hlapro 0.1.0

  • New get_mismatches() determines mismatched antigens from a pair of donor/recipient typings.