make_phenotype_name | R Documentation |
make_phenotype_name
generates a human-readable phenotype name from a numeric representation
with the following encoding:
-1 : Drop marker
0 : - (negative)
1 : + (positive)
2 : ++ (double positive)
More positive states can also be represented (e.g. 3, 4... : +++, ++++...)
make_phenotype_name(phenotype, markers)
phenotype |
Numeric vector with phenotype encoding. |
markers |
Names for markers. Must match the length of |
Phenotype name.
make_phenotype_name(c(0,1,2,0),c("Marker1","Marker2","Marker3","Marker4"))
make_phenotype_name(c(0,1,-1),c("Marker1","Marker2","Marker3"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.