concordance {cola} | R Documentation |
Concordance of partitions to the consensus partition
concordance(membership_each, class)
membership_each |
a matrix which contains partitions in every single runs. |
class |
consensus class IDs. |
Class IDs in membership_each
have already be adjusted to the consensus class IDs
to let sum(x_single == x_consensus)
reach maximum.
The concordance score is the mean probability of fitting the consensus class IDs in all partitions.
This function is used internally.
A numeric value.
Zuguang Gu <z.gu@dkfz.de>
data(cola_rl) membership_each = get_membership(cola_rl["sd", "kmeans"], each = TRUE, k = 3) consensus_classes = get_classes(cola_rl["sd", "kmeans"], k = 3)$class concordance(membership_each, consensus_classes)