Rdocumentation
powered by
Learn R Programming
ggphylo (version 0.1)
tree.remove.leaf: Removes a single leaf from the tree and returns a copy.
Description
Removes a single leaf from the tree and returns a copy.
Usage
tree.remove.leaf(phylo, leaf)
Arguments
phylo,
input phylo object
leaf,
the node index of the desired leaf to remove.
Value
phylo, a new phylo object with the altered tree structure.