Description Usage Arguments Details Value Author(s) References Examples
kataegis plot for a single TCGA sample: mutation types are scatterplotted in genomic coordinates with altitude of points measuring proximity in genomic coordinates to neighbor
1 2 3 4 | rainfallBQ(bq, studytag = "LUAD", VariantType = "SNP", id = "TCGA-05-4398",
colmap = kataColors(),
ymax = 9, inylab = "-log10 dbp", inxlab = "chromosome",
intitle, dotrim = TRUE, addbounds = TRUE, cnames = TRUE)
|
bq |
a src\_bigquery instance |
studytag |
alphabetic short code for TCGA tumor type, e.g, LUAD for lung adenocarcinoma, OV for ovarian cystadenocarcinoma, etc. |
VariantType |
code for type of variant, currently SNP is all that is expected |
id |
a ParticipantBarcode value for selected study |
colmap |
vector map from mutation code to colors |
ymax |
maximum altitude of points |
inylab |
label for y axis – will be -log10dbp to indicate -log10 distance in base pairs to nearest mutation |
inxlab |
label for x axis |
intitle |
graph title |
addbounds |
logical: if TRUE add some space at ends of x axis |
cnames |
logical: if TRUE add chromosome names |
uses ggplot2 to plan a visualization of mutation density, genome-wide
note that if addbounds and cnames are set to false, the resulting gg instance can in principle be made interactive with ggplotly
ggplot instance
VJ Carey <stvjc@channing.harvard.edu>
Alexandrov, Ludmil B Nik-Zainal, Serena Wedge, David C et al., Signatures of mutational processes in human cancer, Nature 2013.
1 2 3 4 5 | ## Not run:
# get a bigquery instance in bq
rainfallBQ(bq)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.