plot_mdb: Generic for plot_mdb methods

View source: R/plot_methods.R

plot_mdbR Documentation

Generic for plot_mdb methods

Description

Generic for plot_mdb methods

Usage

plot_mdb(x)

Arguments

x

An object of the class one_rank or the class all_ranks.

Details

A generic with methods that plot taxonbridge data types (one_rank and all_ranks). These data types are created by using the methods prepare_rank_dist() or prepare_comparable_rank_dist().

Value

A ggplot2 derived plot

Examples

plot_mdb(prepare_rank_dist(load_sample(), NCBI = TRUE, GBIF = TRUE))
plot_mdb(prepare_comparable_rank_dist(load_sample()))
plot_mdb(prepare_rank_dist(get_status(load_sample(),status = "synonym"), NCBI = TRUE))
plot_mdb(prepare_comparable_rank_dist(get_validity(get_status(load_sample()), valid = TRUE)))

MoultDB/moultdbtools documentation built on Feb. 2, 2024, 5:21 p.m.