TreeTools (version 0.1.3)

Renumber: Renumber a tree's nodes and tips

Description

Renumber numbers the nodes and tips in a tree to conform with the phylo standards.

Usage

Renumber(tree)

Arguments

tree

A tree of class phylo.

Value

This function returns a tree of class phylo.

See Also

Other tree manipulation: AddTip, SingleTaxonTree, Subtree

Examples

Run this code
# NOT RUN {
tree <- RandomTree(letters[1:10])
Renumber(tree)

# }

Run the code above in your browser using DataCamp Workspace