histogram | R Documentation |
Given processed STR sequences and optionally the filtered version, plot a histogram of counts per sequence length.
histogram(
seq_data,
sample_data = NULL,
main = "Number of Reads by Sequence Length",
xlim = range(seq_data$Length),
cutoff_fraction = NULL,
render = TRUE
)
seq_data |
data frame of dereplicated sequences as created by analyze_seqs. |
sample_data |
data frame of filtered and categorized sequences as created by analyze_sample. |
main |
title of the plot. |
xlim |
numeric range for x-axis. |
cutoff_fraction |
numeric threshold for the fraction of locus-matching
counts needed to call an allele. Used to draw a horizontal line if
|
render |
Should the plot be drawn to the display device? |
list of data frames for the sets of counts-versus-length bars drawn in the plot, split by category.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.