Rdocumentation
powered by
Learn R Programming
ggphylo (version 0.1)
tree.set.label: Replaces the label of a given node and returns a new phylo object
Description
Replaces the label of a given node and returns a new phylo object
Usage
tree.set.label(tree, node, label)
Arguments
phylo
input phylo object
node
the index of the node whose label will be replaced
label
the new label for the given node
Value
a new phylo object, with the node's label replaced