get_consensus-ConsensusPartition-method: Get consensus matrix

Description Usage Arguments Details Value Author(s) Examples

Description

Get consensus matrix

Usage

1
2
## S4 method for signature 'ConsensusPartition'
get_consensus(object, k)

Arguments

object

A ConsensusPartition-class object.

k

Number of subgroups.

Details

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.

Value

A consensus matrix corresponding to the current k.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

1
2
3
data(golub_cola)
obj = golub_cola["ATC", "skmeans"]
get_consensus(obj, k = 2)

cola documentation built on Nov. 8, 2020, 8:12 p.m.