Description Usage Arguments Author(s) See Also Examples
plotBases
plots the frequency or proportion of bases by
position in the read.
plotBases
uses the Sanger base color scheme: blue is Cytosine,
green is Adenine, black is Guanine, red is Thymine, and purple in N
(any base). Other IUPAC nucleotides are colored using RColorBrewer.
1 |
obj |
an S4 object of class that inherits from
|
type |
a character string that is either "freq" or "prop" indicating whether to plot frequencies or proportions on the y-axis. |
bases |
a vector of characters indicating which bases to
include. The default value |
legend |
a logical value indicating whether to include a legend on the top right. |
Vince Buffalo <vsbuffalo@ucdavis.edu>
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
## Load a FASTQ file, with sequence hashing.
s.fastq <- readSeqFile(system.file('extdata', 'test.fastq', package='qrqc'))
## Plot base frequencies
plotBases(s.fastq, type="freq")
## Plot base proportions
plotBases(s.fastq, type="prop")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.