checkLocusANHIG {SSHAARP} | R Documentation |
Check locus validity
Description
Checks if the locus in the entered variant is a protein-coding gene annotated by the IPD-IMGT/HLA Database
Usage
checkLocusANHIG(variant)
Arguments
variant |
An amino acid motif or allele with an HLA locus name followed by an asterisk. This function ONLY evaluates if the locus in the entered variant is a protein-coding gene. |
Value
TRUE if locus in entered variant are in the IPD-IMGT/HLA Database. Otherwise, a vector with FALSE and an error message is returned.
Note
For internal SSHAARP use only.
Examples
#Example of valid locus in a motif
checkLocusANHIG("DRB1*26F~28E")
#[1] TRUE
#Example of an invalid locus in an allele
checkLocusANHIG("BOO*01:01")
#[1] "FALSE" "BOO is not a valid locus."
[Package SSHAARP version 2.0.5 Index]