get_serotypes {immunotation} | R 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")

[Package immunotation version 1.0.1 Index]