| scale_color_dna {qrqc} | R Documentation |
biovizBase's for DNAThis wraps ggplot2's scale_color_manual to use
biovizBase's scheme for DNA (with N).
scale_color_dna()
Vince Buffalo <vsbuffalo@ucdavis.edu>
## 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()