get_serotypes {immunotation} | R Documentation |
Get the serotypes of the MHC complexes encoded by a list of MHC alleles.
get_serotypes(allele_list, organism = "human", mhc_type)
allele_list |
List of allele |
organism |
Organism to be used for MRO lookup. If the organism does not match the given allele, a empty object is returned. |
mhc_type |
["MHC-I" or "MHC-II"] MHC class to use for MRO lookup. |
Named list of serotypes, which only contains complexes contained in the MRO. If no serotype is annoted for a given complex, the list element is NA.
allele_list <- c("A*01:01:01","B*27:01") get_serotypes(allele_list, mhc_type = "MHC-I")