Learn R Programming

refdb (version 0.1.2)

refdb_plot_seqlen_hist: Plot an histogram of sequence lengths

Description

Plot an histogram of sequence lengths

Usage

refdb_plot_seqlen_hist(x, remove_gaps = TRUE)

Value

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

Arguments

x

a reference database

remove_gaps

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

Examples

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

Run the code above in your browser using DataLab