seq_lengths: Get a summary of sequence lengths from a primerTree object

Description Usage Arguments Value Examples

Description

Get a summary of sequence lengths from a primerTree object

Usage

1
seq_lengths(x, summarize = TRUE)

Arguments

x

a primerTree object.

summarize

a logical indicating if a summary should be displayed

Value

a table of sequence length frequencies

Examples

1
2
3
4
5
6
7
8
9
# 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"))

jimhester/primerTree documentation built on May 19, 2019, 10:33 a.m.