refdb_plot_tax_barplot | R Documentation |
Generate a multipanel plot where, for each taxonomic level, a barplot represent the number of records available in the reference database for the most represented taxa.
refdb_plot_tax_barplot(x, show_n = 10)
x |
a reference database. |
show_n |
an integer value indicating the number of taxa to show in each panel. |
A ggplot object.
lib <- read.csv(system.file("extdata", "baetidae_bold.csv", package = "refdb")) lib <- refdb_set_fields_BOLD(lib) lib <- refdb_set_fields(lib, latitude = "lat", longitude = "lon") refdb_plot_tax_barplot(lib)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.