Description Usage Arguments Value Examples
Get subgroup labels
1 2 | ## S4 method for signature 'DownSamplingConsensusPartition'
get_classes(object, k = object@k, p_cutoff = 0.05, reduce = FALSE)
|
object |
A |
k |
Number of subgroups. |
p_cutoff |
Cutoff of p-values of class label prediction. It is only used when |
reduce |
Used internally. |
If k
is a scalar, it returns a data frame with two columns:
the class labels
the p-value for the prediction of class labels.
If k
is a vector, it returns a data frame of class labels for each k. The class
label with prediction p-value > p_cutoff
is set to NA
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.