get.descendants: get descendants

Description Usage Arguments Value Examples

Description

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

Usage

1
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

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

phylocanvas documentation built on May 1, 2019, 8:06 p.m.