kronoviz | R Documentation |
The main argument is a list of (rooted) trees which are plotted on the same scale.
kronoviz(x, layout = length(x), horiz = TRUE, ...,
direction = ifelse(horiz, "rightwards", "upwards"), side = 2)
x |
a list of (rooted) trees of class |
layout |
an integer giving the number of trees plotted simultaneously; by default all. |
horiz |
a logical specifying whether the trees should be plotted rightwards (the default) or upwards. |
... |
further arguments passed to |
direction |
a character string specifying the direction of the tree. Four values are possible: "rightwards" (the default), "leftwards", "upwards", and "downwards". |
side |
Where to put the axis, see example. |
The size of the individual plots is proportional to the size of the trees.
NULL
Emmanuel Paradis, Klaus Schliep
plot.phylo
TR <- replicate(10, rcoal(sample(11:20, size = 1)), simplify = FALSE)
kronoviz(TR)
kronoviz(TR, side = 1)
kronoviz(TR, horiz = FALSE, type = "c", show.tip.label = FALSE)
kronoviz(TR, direction = "d", side = c(1,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.