refdb_plot_seqlen_hist: Plot an histogram of sequence lengths

View source: R/refdb_plots.R

refdb_plot_seqlen_histR Documentation

Plot an histogram of sequence lengths

Description

Plot an histogram of sequence lengths

Usage

refdb_plot_seqlen_hist(x, remove_gaps = TRUE)

Arguments

x

a reference database

remove_gaps

a logical (default TRUE to control whether gaps (-) should be removed prior computing sequence lengths.

Value

A ggplot object. This means the plot can be further customized using ggplot2 compatible functions.

Examples

lib <- read.csv(system.file("extdata", "baetidae_bold.csv", package = "refdb"))
lib <- refdb_set_fields_BOLD(lib)
refdb_plot_seqlen_hist(lib)


refdb documentation built on Sept. 22, 2022, 5:07 p.m.