get_consensus-ConsensusPartition-method {cola} | R Documentation |
Get consensus matrix
## S4 method for signature 'ConsensusPartition' get_consensus(object, k)
object |
a |
k |
number of partitions. |
For row i and column j in the consensus matrix, the value of corresponding x_ij is the probability of sample i and sample j being in a same group from all partitions.
A consensus matrix corresponding to the current k.
Zuguang Gu <z.gu@dkfz.de>
data(cola_rl) obj = cola_rl["sd", "kmeans"] get_consensus(obj, k = 2)