get_consensus-ConsensusPartition-method | R Documentation |
Get consensus matrix
## S4 method for signature 'ConsensusPartition'
get_consensus(object, k)
object |
A |
k |
Number of subgroups. |
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 the same group from all partitions.
A consensus matrix corresponding to the current k.
Zuguang Gu <z.gu@dkfz.de>
data(golub_cola)
obj = golub_cola["ATC", "skmeans"]
get_consensus(obj, k = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.