Skip to contents

lookup_eplets() takes in a set of HLA alleles, and retrieves the corresponding eplets from the Eplet Registry table.

Usage

lookup_eplets(eplet_df, alleles)

Arguments

eplet_df

Data frame containing the Eplet Registry; from output of load_eplet_registry().

alleles

String or character vector of HLA alleles.

Value

Named list, where each element is a character vector of eplets for each allele in the input.

See also

lookup_alleles() for the reverse operation

Examples

if (FALSE) { # \dontrun{
df_eplets <- load_eplet_registry()
lookup_eplets(df_eplets, "A*01:01")
# Also works for vectors:
lookup_eplets(df_eplets, c("A*01:01", "B*08:01"))
} # }