Description Usage Arguments Value
View source: R/classifyBased_on_one_dimension.R
This function classifies samples based on one dimension; e.g. PC1 from PCA
1 2 3 4 5 | classifyBased_on_one_dimension(
namedVectorOfValues,
sorted_axis_thresholds,
classificationNames
)
|
namedVectorOfValues |
A numeric vector where elements are named. Elements could be sample names. |
sorted_axis_thresholds |
Thresholds along the axis on which classification is based. |
classificationNames |
A character vector, naming the intervals of axis that are detrmined by the thresholds. |
A data frame where elements of namedVectorOfValues are classified
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.