powered by
Plot an histogram of sequence lengths
refdb_plot_seqlen_hist(x, remove_gaps = TRUE)
A ggplot object. This means the plot can be further customized using ggplot2 compatible functions.
a reference database
a logical (default TRUE to control whether gaps (-) should be removed prior computing sequence lengths.
TRUE
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