seqlenPlot-methods {qrqc}R Documentation

Plot a Histogram of Sequence Lengths

Description

seqlenPlot plots a histogram of sequence lengths.

Usage

  seqlenPlot(x)

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

  ## 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))

[Package qrqc version 1.48.0 Index]