get_membership-ConsensusPartitionList-method | R Documentation |
Get membership matrix
## S4 method for signature 'ConsensusPartitionList'
get_membership(object, k)
object |
A |
k |
Number of subgroups. |
The membership matrix (the probability of each sample to be in one subgroup, 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 unstable 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 partitioning method.
data(golub_cola)
get_membership(golub_cola, k = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.