get_classes-ConsensusPartitionList-method: Get subgroup labels

get_classes-ConsensusPartitionList-methodR 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(golub_cola)
get_classes(golub_cola, k = 2)

jokergoo/cola documentation built on Feb. 29, 2024, 1:41 a.m.