Description Usage Author(s) See Also Examples
This wraps ggplot2
's scale_color_manual
to use
biovizBase
's scheme IUPAC nucleotides codes.
1 |
Vince Buffalo <vsbuffalo@ucdavis.edu>
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()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.