match_alleles: (Partially) match allele names in a HLAGene object.

Description Usage Arguments Value

View source: R/utils.R

Description

(Partially) match allele names in a HLAGene object.

Usage

1
match_alleles(allele, x, partially = FALSE)

Arguments

allele

character; A vector of (partial) allele names.

x

A HLAAllele or HLAGene object.

partially

If TRUE match partial allele names.

Value

An integer vector of matching positions.


gschofl/hlatools documentation built on July 2, 2021, 10:59 a.m.