Description Usage Arguments Details Value Author(s) Examples
Create a kataegis "rainfall" plot.
1 2 |
x |
a |
chr |
Optionally, only process this chromosome |
start |
Optionally, only process from this start point (must be specify
together with |
end |
Optionally, only process until this point (must be specify
together with |
all |
Plot all types of SNVs, default only C>X and T>X are plotted. |
alpha |
adjust the alpha level of the points |
legend |
If TRUE display a figure legend |
colours |
a function specifying the colours to use in the plot, see the
default value ( |
... |
passed to |
In its simplest form (plot(x)
), this function produces a rainfall
plot on the current graphical device. By default, the whole genome is
displayed. This can be changed by providing either the chr
parameter
(to show a specific chromosome) or the chr
, start
and
end
parameters to show a specific region of a chromosome (note that
all three parameters must be provided).
invisibly return data.frame
of SNVs plotted.
Jonathan Ellis <jonathan.j.ellis@gmail.com>
1 2 3 4 5 6 7 | ## Not run:
vcf.file <- system.file('extdata', 'example.vcf', package = 'GenomicVis')
x <- kategis(vcf.file)
main <- sprintf("Kataegis: %d", length(x$kataegis))
plot(x, main = main)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.