powered by
Plot oriented tree with stratigraphic ranges
# S3 method for fbdrange plot(x, smart.labels = FALSE, ...)
a ggtree plot which can be combined with any other commands from [ggplot2] or [ggtree]
object of type fbdrange containing orientation and range data
fbdrange
whether to label the ranges (default FALSE, requires package [ggrepel] to place labels)
FALSE
other arguments to be passed to the plot labels (does nothing if smart.labels = FALSE)
smart.labels = FALSE
tree_file <- system.file("extdata", "fbdrange.trees", package = "FossilSim") fbdr <- get_fbdrange_from_file(tree_file) p <- plot(fbdr, smart.labels = TRUE)
Run the code above in your browser using DataLab