ladderize | R Documentation |
This function reorganizes the internal structure of the tree to get the ladderized effect when plotted.
ladderize(phy, right = TRUE)
phy |
an object of class |
right |
a logical specifying whether the smallest clade is on the
right-hand side (when the tree is plotted upwards), or the opposite
(if |
Emmanuel Paradis
plot.phylo
, reorder.phylo
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.