View source: R/accessoryFunctions.R
numFields | R Documentation |
Returns the number of fields in a colon-delimited HLA allele name. A value of 1 is returned for digit-delimited HLA allele names.
numFields(allele)
allele |
A character string of a colon-delimited HLA allele name. |
A numeric value describing the number of fields in the allele name.
numFields("HLA-A*01:01")
numFields("DRB1*04:03:01")
numFields("13:02:01:01")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.