collect_stats-ConsensusPartitionList-method {cola} | R Documentation

## Draw and compare statistics for multiple methods

### Description

Draw and compare statistics for multiple methods

### Usage

    ## S4 method for signature 'ConsensusPartitionList'
    collect_stats(object, k, layout_nrow = 2, all_stats = FALSE, ...)

### Arguments

`object` | A `ConsensusPartitionList-class` object.
`k` | Number of subgroups.
`layout_nrow` | Number of rows in the layout
`all_stats` | Whether to show all statistics that were calculated. Used internally.
`...` | Other arguments

### Details

It draws heatmaps for statistics for multiple methods in parallel, so that users can compare which combination of methods gives the best results with given the number of subgroups.

### Examples

    data(cola_rl)
    collect_stats(cola_rl, k = 3)

[Package cola version 1.4.1 Index]