Set the color scheme to biovizBase's for DNA

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.