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 Nov. 8, 2020, 7:03 p.m.