Learn R Programming

TreeSearch (version 0.2.2)

SortTree: Sort tree

Description

Sorts each node into a consistent order, so similar trees look visually similar.

Usage

SortTree(tree)

Arguments

tree

A tree of class phylo.

Value

A tree of class phylo, with each node sorted such that the larger clade is first.