is_leaf_node-HierarchicalPartition-method {cola} | R Documentation

## Test whether a node is a leaf node

### Description

Test whether a node is a leaf node

### Usage

    ## S4 method for signature 'HierarchicalPartition'
    is_leaf_node(object, node, merge_node = merge_node_param())

### Arguments

`object` | A `HierarchicalPartition-class` object.
`node` | A vector of node IDs.
`merge_node` | Parameters to merge sub-dendrograms, see `merge_node_param`.

### Examples

    data(golub_cola_rh)
    is_leaf_node(golub_cola_rh, all_leaves(golub_cola_rh))

[Package cola version 1.8.1 Index]