get_classes-ConsensusPartition-method | R Documentation |
Get subgroup labels
## S4 method for signature 'ConsensusPartition'
get_classes(object, k = object@k)
object |
A |
k |
Number of subgroups. |
A data frame with subgroup labels and other columns which are entropy of the percent membership matrix and the silhouette scores which measure the stability of a sample to stay in its group.
If k
is not specified, it returns a data frame with subgroup labels from all k.
Zuguang Gu <z.gu@dkfz.de>
data(golub_cola)
obj = golub_cola["ATC", "skmeans"]
get_classes(obj, k = 2)
get_classes(obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.