get the names of the tips of descendants given a tree and the name of an internal node.

get.descendants(tree, nodename)

Arguments

tree

Required. A phylo4 object.

nodename

Required. A character corresponding to an internal node.

Value

a character vector of descendant names

Examples

birdfile <- system.file("treedata/birdfamilies.tree", package="phylocanvas") tree <- load.tree(birdfile) node <- phylobase::MRCA(tree, c("Cerylidae", "Upupidae")) get.descendants(tree, node)