scale_color_iupac: Set the color scheme to 'biovizBase"s for IUPAC codes

Description Usage Author(s) See Also Examples

Description

This wraps ggplot2's scale_color_manual to use biovizBase's scheme IUPAC nucleotides codes.

Usage

1

Author(s)

Vince Buffalo <vsbuffalo@ucdavis.edu>

See Also

scale_color_dna, 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_iupac()

qrqc documentation built on May 20, 2017, 10:23 p.m.

Search within the qrqc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.