is_leaf_node-HierarchicalPartition-method: Test whether a node is a leaf node

is_leaf_node-HierarchicalPartition-methodR 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))

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