Description Usage Arguments Examples
Takes a vector of genotype scores (each made up of a two character string)
and a character class to match against, and returns a logical value depending
on whether the two characters match (FALSE
) or not (TRUE
).
1 | isHet(score, characterClass = "[[:alnum:]]", nonMatch = "false")
|
score |
A vector of genotype scores, each of which needs to be a two character string. Numeric values are converted to strings |
characterClass |
A regex character class to match against. If characters
in |
nonMatch |
c("false", "error") a string defining whether to return false or throw an error if scores do not match characterClass. |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.