get_serotypes: Serotypes

View source: R/MRO_interface.R

get_serotypesR Documentation

Serotypes

Description

Get the serotypes of the MHC complexes encoded by a list of MHC alleles.

Usage

get_serotypes(allele_list, organism = "human", mhc_type)

Arguments

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.

Value

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.

Examples

allele_list <- c("A*01:01:01","B*27:01")
get_serotypes(allele_list, mhc_type = "MHC-I")


imkeller/immunotation documentation built on Jan. 3, 2023, 1:31 p.m.