]> git.donarmstrong.com Git - ape.git/blob - man/ladderize.Rd
various corrections
[ape.git] / man / ladderize.Rd
1 \name{ladderize}
2 \alias{ladderize}
3 \title{Ladderize a Tree}
4 \usage{
5 ladderize(phy, right = TRUE)
6 }
7 \arguments{
8   \item{phy}{an object of class \code{"phylo"}.}
9   \item{right}{a logical specifying whether the smallest clade is on the
10     right-hand side (when the tree is plotted upwards), or the opposite
11     (if \code{FALSE}).}
12 }
13 \description{
14   This function reorganizes the internal structure of the tree to get
15   the ladderized effect when plotted.
16 }
17 \author{Emmanuel Paradis}
18 \seealso{
19   \code{\link{plot.phylo}}, \code{\link{reorder.phylo}}
20 }
21 \examples{
22 tr <- rcoal(50)
23 layout(matrix(1:4, 2, 2))
24 plot(tr, main = "normal")
25 plot(ladderize(tr), main = "right-ladderized")
26 plot(ladderize(tr, FALSE), main = "left-ladderized")
27 layout(matrix(1, 1))
28 }
29 \keyword{manip}