is_leaf_node-HierarchicalPartition-method.Rd
Test whether a node is a leaf node
# S4 method for HierarchicalPartition
is_leaf_node(object, node, merge_node = merge_node_param())
A HierarchicalPartition-class
object.
A vector of node IDs.
Parameters to merge sub-dendrograms, see merge_node_param
.
data(golub_cola_rh)
is_leaf_node(golub_cola_rh, all_leaves(golub_cola_rh))
#> [1] TRUE TRUE TRUE TRUE TRUE TRUE