List direct descendants for all nodes of a tree
listDD(x, nameBy = c("label", "number"))
A list whose components are vectors of named nodes (or tips) for a given internal node.
Thibaut Jombart tjombart@imperial.ac.uk
listTips
which lists the tips descending from 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) listDD(x) }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.