| add_geo_timescale | R Documentation |
Add geological timescale to a tree plot
add_geo_timescale(
p,
tree,
levels,
layout,
version = "ICS 2023/02",
actual_ntips = NULL,
timescale_mode = "radial",
timescale_position = "right",
angle = 360,
tree_start_position = "right"
)
p |
ggplot object |
tree |
phylo object (edge lengths in Ma) |
levels |
Timescale levels vector, e.g., c("eras", "eons") |
layout |
Layout type |
version |
Geological timescale version. Default: "ICS 2023/02". |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.