multiUpdateGL | R Documentation |
Updates a column from a data frame in GL String Code format to a desired reference database version.
multiUpdateGL(GLSCs, to, expand = FALSE, verbose = FALSE)
GLSCs |
A vector of GL String Codes. |
to |
A character string identifying the IPD-IMGT/HLA Database release version to translate 'GLSCs' to. Values can range from version 1.05.0 to the loaded version of the alleleListHistory object. |
expand |
A logical that indicates if the lowest-numbered truncated allele names that match truncated allele names in 'GLSCs' should be returned (expand = FALSE), or if a slash-delimited string of all matching full-length allele names should be returned (expand = TRUE). The default value is FALSE. |
verbose |
A logical that indicates if messages regarding the update process should be sent to the console (TRUE) or not (FALSE). The default value is FALSE. |
A version GLSCs (in a data frame) updated to the desired version. NA values are returned in place of alleles that are not present in 'to'.
Mack et al. HLA 2023;102(2):206-212 https://doi.org/10.1111/tan.15126
Mack et al. HLA 2023;102(4):501-507 https://doi.org/10.1111/tan.15145
multiUpdateGLs <- multiUpdateGL(GLSC.ex$GL.String.Code[1:50],"2.25.0")
multiUpdateGLs <- multiUpdateGL(GLSC.ex$GL.String.Code[1:50],"3.58.0")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.