Description Usage Arguments Details Value Examples
Plot an MTG
1 2 3 4 5 |
mtg |
An MTG, as from |
scale |
The scale required for plotting |
angle |
Insertion angle when branching |
phylotaxy |
Is phylotaxy required ? Uses 180 degrees if |
... |
Further arguments. |
The function needs the topological orders as attributes in the MTG. If they
are not present, it uses topological_order()
to compute it with descending order.
If you need ascending order, please use topological_order(MTG, ascend = TRUE)
before
plotting.
A ggplot of the MTG
1 2 3 4 | library(ggplot2)
filepath= system.file("extdata", "simple_plant.mtg", package = "XploRer")
MTG= read_mtg(filepath)
autoplot(MTG)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.