get_classes-ConsensusPartitionList-method {cola} | R Documentation

## Get class IDs from the ConsensusPartitionList object

### Description

Get class IDs from the ConsensusPartitionList object

### Usage

    ## S4 method for signature 'ConsensusPartitionList'
    get_classes(object, k)

### Arguments

`object` | A `ConsensusPartitionList-class` object.
`k` | Number of partitions.

### Details

The class IDs are inferred by merging partitions from all methods by weighting the mean silhouette scores in each method.

### Value

A data frame with class IDs and other columns which are entropy of the percent membership matrix and the silhouette scores which measure the stability of a sample to stay in its group.

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    data(cola_rl)
    get_classes(cola_rl, k = 2)

[Package cola version 1.0.1 Index]