get_membership-ConsensusPartitionList-method {cola} | R Documentation |
Get membership matrix
## S4 method for signature 'ConsensusPartitionList' get_membership(object, k)
object |
A |
k |
Number of partitions. |
The membership matrix (the probability of each sample to be in one group, if assuming columns represent samples) is inferred from the consensus partition of every combination of methods, weighted by the mean silhouette score of the partition for each method. So methods which give instable partitions have lower weights when summarizing membership matrix from all methods.
A membership matrix where rows correspond to the columns in the original matrix.
Zuguang Gu <z.gu@dkfz.de>
get_membership,ConsensusPartition-method
returns membership matrix for a single top-value method and partition method.
data(cola_rl) get_membership(cola_rl, k = 2)