squashVersion {HLAtools} | R Documentation |
Reduce a Release Version to Numerals
Description
Removes the '.' delimiters from an IPD-IMGT/HLA Database Release Version name
Usage
squashVersion(ver, num = FALSE)
Arguments
ver |
A character vector-formatted IPD-IMGT/HLA Database Release Version name (e.g., '3.54.0'). |
num |
A Logial. A numeric value is returned when num = TRUE. A character vector is returned when num = FALSE. The default value is FALSE. |
Value
A 4-digit value, as either a character string or a number.
Note
For internal HLAtools use.
Examples
squashVersion("3.45.0",TRUE)
[Package HLAtools version 1.1.1 Index]