[[.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(cola_rh)
    cola_rh[["01"]]
    cola_rh[[2]]

[Package cola version 1.0.1 Index]