tree_descendants {cellpypes} | R Documentation |
Find child, child's child and so on for class(es) using recursive programming
tree_descendants(classes, class, leafs)
classes |
The class definitions of a cellpypes object, i.e. obj$classes. |
class |
A character vector with one or multiple classes. |
leafs |
Has to be the output of tree_leaf_nodes(classes). It's passed as argument so that tree_leaf_nodes is not executed in each recursion. |
Character vector with the descendants of a class.