GLvalidate {HLAtools} | R Documentation |
Validates a GL String Code.
Description
A lightweight validator that inspects a GL String Code for correct structure. If the namespace field contains a value other than value of 'namespace', the namespace is changed to 'hla'. The version and GL String fields are not evaluated.
Usage
GLvalidate(GLString, namespace = c("hla", "kir"))
Arguments
GLString |
A character string describing a string formatted to GL String Code specifications. |
namespace |
A character vector of allowed namespace strings. The default value is 'c("hla","kir")'. |
Value
A character string describing wither a well-formatted GL String Code or the value FALSE.
Note
For internal use only.
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
GLvalidate("ha#3.25.0#hla-B15:35")
[Package HLAtools version 1.1.1 Index]