powered by
The function listTips lists the tips descending from each node of a tree. The tree can be of class phylo, phylo4-class or phylo4d-class.
listTips
phylo
phylo4-class
phylo4d-class
listTips(x)
A list whose components are vectors of named tips for a given node.
A tree of class phylo, phylo4-class or phylo4d-class.
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