This function returns the set of node & tip numbers descended from
getParent instead returns the single parent node of a specified node number (or
node is already the root).
a phylogenetic tree as an object of class
an integer specifying a node number in the tree.
the set of previously stored node numbers - used in recursive function calls.
The set of node and tip numbers for the nodes and tips descended from
node in a vector, or for
getParent the single node preceding
node in the tree.
Liam Revell [email protected]
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.