ladderize

0th

Percentile

Ladderize a Tree

This function reorganizes the internal structure of the tree to get the ladderized effect when plotted.

Keywords
manip
Usage
ladderize(phy, right = TRUE)
Arguments
phy

an object of class "phylo".

right

a logical specifying whether the smallest clade is on the right-hand side (when the tree is plotted upwards), or the opposite (if FALSE).

See Also

plot.phylo, reorder.phylo

Aliases
  • ladderize
Examples
# NOT RUN {
tr <- rcoal(50)
layout(matrix(1:4, 2, 2))
plot(tr, main = "normal")
plot(ladderize(tr), main = "right-ladderized")
plot(ladderize(tr, FALSE), main = "left-ladderized")
layout(matrix(1, 1))
# }
Documentation reproduced from package ape, version 4.1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.