all_leaves-HierarchicalPartition-method {cola} | R Documentation

## All leaves in the hierarchy

### Description

All leaves in the hierarchy

### Usage

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

### Arguments

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

### Value

A vector of node ID.

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    data(golub_cola_rh)
    all_leaves(golub_cola_rh)

[Package cola version 1.6.0 Index]