updateGL {HLAtools}R Documentation

Update a GL String Code to a Specified IPD-IMGT/HLA Database Version.

Description

A quality control wrapper for GLupdate, which updates a GL String Code to a desired reference database version.

Usage

updateGL(GLStringCode, Version, expand = FALSE)

Arguments

GLStringCode

A character string of HLA allele names and operators in GL String Code format, signifying their relation with one another and the associated IMGT/HLA Database release version.

Version

A character string identifying of the desired IPD-IMGT/HLA Database release version to which the alleles should be updated, going back to version 1.05.0

expand

A logical that indicates whether user would like to return all allele names that contain the input allele name (TRUE), or if only the direct HLA ID match should be returned (FALSE).

Value

A version of the input GL String code (in the form of a character string) updated to the desired version.

References

Mack et al. HLA 2023;102(2):206-212 https://doi.org/10.1111/tan.15126

Mack et al. HLA 05 July 2023 https://doi.org/10.1111/tan.15145

Examples

updateGL("hla#1.05.0#HLA-DPA1*0106", "3.52.0")
updateGL("hla#3.36.0#HLA-B*15:35", "3.52.0")
updateGL("hla#3.45.0#HLA-DPA1*02:01:01:04", "3.52.0")

updateGL("hla#3.45.0#HLA-A*02:08", "3.52.0", expand = TRUE)
updateGL("hla#1.05.0#HLA-DPA1*0106", "3.52.0", expand = TRUE)
updateGL("hla#1.05.0#HLA-DPA1*0106", "2.27.0", expand = TRUE)


[Package HLAtools version 1.1.1 Index]