Extract.HierarchicalPartition: Subset the HierarchicalPartition object

[.HierarchicalPartitionR 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"]

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