Nothing
This guide walks you through your first Rclade plot in five minutes.
library(Rclade)
data(example_tree) # a phylo object with GTDB-style tip labels
example_tree is a small bundled tree so you can try everything without your own data.
Collapse the tree at the phylum rank and add a geological timescale:
p <- plot_timetree(example_tree, rank = "phylum", unit = "Ma")
print(p)
That single call:
save_timetree(p, file = "phylum_tree.pdf", width = 12, height = 8)
Formats are chosen by file extension: .pdf, .png, .tiff, .svg, .eps.
summarize_timetree(p)
This prints the number of tips, collapsed clades, taxonomy coverage, and more.
# Circular / fan layout
p2 <- plot_timetree(example_tree, rank = "class", layout = "circular")
# Turn off the timescale
p3 <- plot_timetree(example_tree, rank = "phylum", add_timescale = FALSE)
# Use a custom palette
p4 <- plot_timetree(example_tree, rank = "phylum", color_palette = "Set1")
Next: read Core concepts to understand taxonomy formats, MRCA collapsing, and timescales.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.