get descendants
get the names of the tips of descendants given a tree and the name of an internal node.
get.descendants(tree, nodename)
tree
: Required. A phylo4
object.nodename
: Required. A character corresponding to an internal node.a character vector of descendant names
birdfile <- system.file("treedata/birdfamilies.tree", package="phylocanvas") tree <- load.tree(birdfile) node <- phylobase::MRCA(tree, c("Cerylidae", "Upupidae")) get.descendants(tree, node)
Useful links