get.descendants {phylocanvas} | R Documentation |
get descendants
Description
get the names of the tips of descendants given a tree and the name of an internal node.
Usage
get.descendants(tree, nodename)
Arguments
tree |
Required. A |
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)
[Package phylocanvas version 0.1.3 Index]