seqlenPlot-methods: Plot a Histogram of Sequence Lengths

Description Usage Arguments Methods Author(s) See Also Examples

Description

seqlenPlot plots a histogram of sequence lengths.

Usage

1

Arguments

x

an S4 object that inherits from SequenceSummary from readSeqFile.

Methods

signature(x = "FASTQSummary")

seqlenPlot will plot a histogram of a single object that inherits from SequenceSummary.

signature(x = "list")

seqlenPlot will plot a histogram for each of the SequenceSummary items in the list and display them in a series of panels.

Author(s)

Vince Buffalo <vsbuffalo@ucdavis.edu>

See Also

getSeqlen

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  ## Load a FASTQ file
  s.fastq <- readSeqFile(system.file('extdata', 'test.fastq', package='qrqc'))

  ## Plot sequence lengths
  seqlenPlot(s.fastq)

  ## Plot sequence legnths before and after trimming
  s.trimmed.fastq <- readSeqFile(system.file('extdata',
    'test-trimmed.fastq', package='qrqc'))
  seqlenPlot(list("not trimmed"=s.fastq, "trimmed"=s.trimmed.fastq))

vsbuffalo/qrqc documentation built on May 3, 2019, 7:07 p.m.