tree_leaf_nodes {cellpypes} | R Documentation |
Finds leaf nodes, i.e. classes without children
Description
Finds leaf nodes, i.e. classes without children
Usage
tree_leaf_nodes(classes, invert = FALSE)
Arguments
classes |
Put obj$classes here, i.e. a tree of class definitions created with the rule function. |
invert |
If TRUE, return classes that are NOT leafs instead of leaf nodes. |
Value
Character vector with the tree's leafs.
[Package cellpypes version 0.3.0 Index]