listTips | R Documentation |
The function listTips
lists the tips descending from each node of a
tree. The tree can be of class phylo
,
phylo4 or phylo4d.
listTips(x)
x |
A tree of class |
A list whose components are vectors of named tips for a given node.
Thibaut Jombart tjombart@imperial.ac.uk
listDD
which lists the direct descendants for each
node.
treePart
which defines partitions of tips according to the
tree topology.
if(require(ape) & require(phylobase)){
## make a tree
x <- as(rtree(20),"phylo4")
plot(x,show.node=TRUE)
listTips(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.