count_markers | R Documentation |
count_markers
counts the number of markers a phenotype has
given its numerical representation. Basically it returns the number of
values greater than -1 in an integer vector.
count_markers(phenotype)
phenotype |
Numeric vector with phenotype encoding. |
Number of markers.
count_markers(c(0,1,2,0))
count_markers(c(0,1,-1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.