concordance | R Documentation |
Concordance to the consensus partition
concordance(membership_each, class)
membership_each |
A matrix which contains partitions in every single runs where columns correspond to runs. The object can be get from |
class |
Consensus subgroup labels. |
Note subgroup labels in membership_each
should already be adjusted to the consensus labels, i.e. by relabel_class
.
The concordance score is the mean proportion of samples having the same subgroup labels as the consensus labels among individual partition runs.
A numeric value.
Zuguang Gu <z.gu@dkfz.de>
data(golub_cola)
membership_each = get_membership(golub_cola["SD", "kmeans"], each = TRUE, k = 3)
consensus_classes = get_classes(golub_cola["SD", "kmeans"], k = 3)$class
concordance(membership_each, consensus_classes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.