parse_hla_alleles: Parse all HLA alleles for a locus from hla.xml

Description Usage Arguments Value See Also Examples

View source: R/parse.R

Description

Parse all HLA alleles for a locus from hla.xml

Usage

1

Arguments

doc

hla.xml’ as an XML document.

locusname

One of <HLA-A, HLA-B, HLA-C, HLA-DQB1, HLA-DRB1, HLA-DPB1>

ncores

The number of compute cores to use.

Value

A HLAAllele object.

See Also

read_hla_xml(), parse_hla_alleles(), HLARanges, HLAAllele, HLAGene

Examples

1
2
3
4
5
## Not run: 
doc  <- read_hla_xml()
dpb1 <- parse_hla_alleles(doc, "HLA-DPB1")

## End(Not run)

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