scale_color_dna: Set the color scheme to 'biovizBase"s for DNA

Description Usage Author(s) See Also Examples

Description

This wraps ggplot2's scale_color_manual to use biovizBase's scheme for DNA (with N).

Usage

1

Author(s)

Vince Buffalo <vsbuffalo@ucdavis.edu>

See Also

scale_color_iupac, basePlot

Examples

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

  ## Plot qualities with the DNA color scheme
  ggplot(getBase(s.fastq)) + geom_line(aes(x=position, y=frequency,
    color=base)) + scale_color_dna()

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