[.HierarchicalPartition {cola} | R Documentation

## Subset the HierarchicalPartition object

### Description

Subset the HierarchicalPartition object

### Usage

    ## S3 method for class 'HierarchicalPartition'
    x[i]

### Arguments

`x` | A `HierarchicalPartition-class` object.
`i` | Index. The value should be numeric or a node ID.

### Details

On each node, there is a `ConsensusPartition-class` object.

Note you cannot get a sub-hierarchy of the partition.

### Value

A `ConsensusPartition-class` object.

### Examples

    data(golub_cola_rh)
    golub_cola_rh["01"]

[Package cola version 1.8.1 Index]