get_classes-ConsensusPartitionList-method {cola} | R Documentation

## Get subgroup labels

### Description

Get subgroup labels

### Usage

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

### Arguments

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

### Details

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

### Value

A data frame with subgroup labels 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.4.1 Index]