verifyAllele {HLAtools} | R Documentation |
Determine if an Allele Name Ever Existed, and (if so) its Most Recent IPD-IMGT/HLA Database Release
Description
Returns TRUE if an allele name is present in AlleleListHistory or FALSE it is absent, or c(TRUE,version), where 'version' is the most recent IPD-IMGT/HLA Database release in which that name appeared, when version = TRUE.
Usage
verifyAllele(allele, version = FALSE)
Arguments
allele |
A character string of an HLA allele name. Colon-delimited and field-delimited names are both accepted. |
version |
A logical that indicates if the most recent nomenclature release version in which that name was valid should be returned. |
Value
A logical identifying if the allele name is found in AlleleListHistory (TRUE) or not (FALSE), or c(TRUE,version) if version = TRUE.
Examples
verifyAllele("A*01:01:01:01")
verifyAllele("A*01:01:01:01",TRUE)
verifyAllele("A*010101",TRUE)
verifyAllele("A*0101",TRUE)
[Package HLAtools version 1.1.1 Index]