powered by
The function listTips lists the tips descending from each node of a tree. The tree can be of class phylo, phylo4 or phylo4d.
listTips
phylo
listTips(x)
A list whose components are vectors of named tips for a given node.
A tree of class phylo, phylo4 or phylo4d.
Thibaut Jombart tjombart@imperial.ac.uk
listDD which lists the direct descendants for each node.
listDD
treePart which defines partitions of tips according to the tree topology.
treePart
if(require(ape) & require(phylobase)){ ## make a tree x <- as(rtree(20),"phylo4") plot(x,show.node=TRUE) listTips(x) }
Run the code above in your browser using DataLab