View source: R/filterResults.R
seq_lengths | R Documentation |
Get a summary of sequence lengths from a primerTree object
seq_lengths(x, summarize = TRUE)
x |
a primerTree object. |
summarize |
a logical indicating if a summary should be displayed |
a table of sequence length frequencies
# Show the counts for each length
seq_lengths(mammals_16S)
# Plot the distribution of lengths
seqLengths <- seq_lengths(mammals_16S)
barplot(seqLengths,
main = "Frequency of sequence lengths for 16S mammal primers",
xlab="Amplicon length (in bp)",
ylab=("Frequency"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.