
Lookup the new designation for deleted or changed HLA alleles
Source:R/clean_hla.R
convert_deleted.Rd
Some HLA alleles were assigned in the past, but this assignment later turned out to be wrong. For example, the allele was deleted because it turned out to be identical to an existing allele. Or, the allele was changed by having its sequence renamed (most commonly, a suffix is added).
convert_deleted()
returns the new assignment of an HLA allele in the
deleted_changed lookup table. If the allele does not occur in the table
(i.e., it was never re-assigned), it simply returns the input allele. N.B. in
some cases, it was decided to remove the allele entirely, in which case NA
is returned.
Value
A vector with the same length as allele
, with all deleted/changed
alleles converted to their new equivalent
See also
convert_v2_to_v3()
to lookup the v3 equivalent of v2 alleles