Learn R Programming

TreeSearch (version 0.3.2)

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

Examples

Run this code
# NOT RUN {
library('ape')
tree <- rtree(10)
Renumber (tree)

# }

Run the code above in your browser using DataLab