get_classes-HierarchicalPartition-method {cola} | R Documentation

## Get class IDs from the HierarchicalPartition object

### Description

Get class IDs from the HierarchicalPartition object

### Usage

    ## S4 method for signature 'HierarchicalPartition'
    get_classes(object, depth = max_depth(object))

### Arguments

`object` | A `HierarchicalPartition-class` object.
`depth` | Depth of the hierarchy.

### Value

A data frame of classes IDs. The class IDs are the node IDs where the subgroup sits in the hierarchy.

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    data(cola_rh)
    get_classes(cola_rh)
    get_classes(cola_rh, depth = 2)

[Package cola version 1.0.1 Index]