read_hla_xml: Fetch or update the IPD-IMGT/HLA hla.xml file

Description Usage Arguments Value Examples

View source: R/parse.R

Description

Fetch or update the IPD-IMGT/HLA hla.xml file

Usage

1
2
3
read_hla_xml(db_path = getOption("hlatools.local_repos"), remote = FALSE)

update_hla_xml(db_path = getOption("hlatools.local_repos"))

Arguments

db_path

<character>; location of local IPD-IMGT/HLA repository.

remote

<logical>; if TRUE pull data from the IPD-IMGT/HLA ftp server, if FALSE retrieve data from db_path.

Value

An xml_document.

invisible(NULL)

Examples

1
2
3
4
5
## Not run: 
doc <- read_hla_xml(remote = TRUE)
update_hla_xml()

## End(Not run)

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