prettyOrder: Pretty ordering of clades for plotting

Description Usage Arguments Details Author(s) See Also Examples

View source: R/prettyOrder.R

Description

Orders clades according to number of decendants for plotting purposes

Usage

1

Arguments

phy

a phylogenetic tree (class phylo) to be re-ordered

Details

This function function will re-order a phylogeny such that clades with the fewest decendents will be plotted ‘before’ (above or to the left of) clades with more decendents. This works recursively from the root.

Author(s)

Andy Rominger <ajrominger@gmail.com>

See Also

ape::rotate

Examples

1
2
3
tre <- ape::rtree(10)
tre <- prettyOrder(tre)
ape::plot.phylo(tre)

ajrominger/socorro documentation built on Jan. 3, 2020, 6:25 a.m.