Description Usage Arguments Details Author(s) Examples
This method creates a plot similar to the variation frequency plot in Roche's GS Amplicon Variant Analyzer. The plot shows the reference sequence along the x-axis and indicates variants as bars at the appropriate positions. The height of the bars corresponds to the percentage of reads carrying the variant. A second y-axis indicates the absolute number of reads covering the variant.
1 | plotVariationFrequency(object, plotRange, ...)
|
object |
A character pointing to an Amplicon Variant Analyser Global Alignmnet export file. |
plotRange |
A two dimensional numeric vector giving the start and end base of the reference sequence that should be plotted. |
... |
Arguments passed to other plotting methods. Especially, argument |
The text file used as imput must have the format generated by the AVA
export function. Such a file can be generated using the export button in
the Global Alignment view of the AVA software.
The col
argument specifies the colours used for different bases
and deletions. The following listing gives the meaning of the i-th position
of the col vector (default values in braces):
A (green)
C (blue)
G (black)
T (red)
N (purple)
deletion (gray)
Hans-Ulrich Klein
1 2 3 4 | ## Not run:
file = system.file("extdata", "AVAVarFreqExport", "AVAVarFreqExport.xls", package="R453Plus1Toolbox")
plotVariationFrequency(file, plotRange=c(50, 150))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.