get_stats-ConsensusPartitionList-method {cola}R Documentation

Get statistics

Description

Get statistics

Usage

## S4 method for signature 'ConsensusPartitionList'
get_stats(object, k, all_stats = FALSE)

Arguments

object

A ConsensusPartitionList-class object.

k

Number of subgroups. The value can only be a single value.

all_stats

Whether to show all statistics that were calculated. Used internally.

Value

A matrix of partition statistics for a selected k. Rows in the matrix correspond to combinations of top-value methods and partitioning methods.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

data(golub_cola)
get_stats(golub_cola, k = 2)

[Package cola version 2.0.0 Index]