tree_node_tips: To get tip numbers descending from any given node of a tree
Description
To get tip numbers descending from any given node of a tree
Usage
tree_node_tips(tree = NULL, node = NULL, curr = NULL)
Value
A numeric vector with tip numbers descending from a node
Arguments
- tree
a phylogenetic tree as an object of class "phylo"
.
- node
an integer specifying a node number in the tree.
- curr
the set of previously stored node numbers - used in recursive function calls.