GLupdate {HLAtools} | R Documentation |
Update a GL String Code.
Description
Updates the allele names in a Genotype List (GL) String Code to the desired reference database version using the IPD-IMGT/HLA Database's Allele List History table.
Usage
GLupdate(GLString, Version, expand = FALSE)
Arguments
GLString |
A character string of HLA allele names and operators in GL String Code format signifying their relation with one another and the pertinent HLA Allele List version. |
Version |
A character string of the desired version to which the alleles to be updated, going back to version 1.05.0. |
expand |
A logical that determines whether to return only the direct HLA ID allele match or all possible HLA allele matches. |
Value
An updated version the GL String Code input (in the form of a character string) updated to the input desired version.
Note
For internal use only.
Source
https://github.com/ANHIG/IMGTHLA/blob/Latest/Allelelist_history.txt
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
GLupdate("hla#3.36.0#HLA-B*15:35", "3.52.0")
GLupdate("hla#3.45.0#HLA-A*02:08", "3.52.0")
GLupdate("hla#3.45.0#HLA-A*02:08", "3.52.0", expand = TRUE)
GLupdate("hla#3.1.0#HLA-A*02:01+HLA-A*01:01:01:01", Version = "3.53.0")
GLupdate("hla#3.44.0#HLA-DPA1*02:01:01:05", "3.45.0")
GLupdate("hla#3.45.0#HLA-DPA1*02:01:01:05", "3.46.0")
GLupdate("hla#3.37.0#HLA-A*01:02", "3.52.0", expand = TRUE)