validateGLstring {HLAtools} | R Documentation |
Validate a GL String
Description
Evaluates a GL String to identify unsupported characters for a specified GL String version.
Usage
validateGLstring(GLstring, version)
Arguments
GLstring |
A character string of allele names and operators in the GL String format. |
version |
A character string identifying the GL String version for evaluation. Options are "1.0" and "1.1". |
Value
A logical. TRUE is returned when all characters in a 'version' GL String are permitted. FALSE is returned when forbidden characters are present, or when an incorrect 'version' is specified.
References
Mack et al. HLA 2023;102(2):206-212 https://doi.org/10.1111/tan.15126
Examples
validateGLstring("HLA-A*02:01/HLA-A*02:02+HLA-A*03:01/HLA-A*03:02", version = "1.0")
[Package HLAtools version 1.1.1 Index]