Description Usage Arguments Value Examples
make a ggplot with density traces of mutations per base pair, for 'most mutated' tumor types in a given interval
1 2 3 4 5 6 7 8 9 10 11 12 |
bq |
bigrquery BigQueryConnection instance |
basicfilt |
a dplyr::filter operation, defaulting to select non-coding variants in mc3 MAF |
chrname |
character(1) chromosome token in NCBI seqlevels style |
start |
numeric(1) base coordinate to start |
end |
numeric(1) base coordinate to end |
project_volume |
numeric(1) tumor types will have different numbers of contributions; this parameter tells how many tumor types to represent, counting down from the most frequently represented |
maxnrec |
numeric(1) for as.data.frame |
binwidth |
numeric(1) passed to geom_freqpoly |
xlab.in |
character(1) passed to ggplot2::xlab |
instance of ggplot
1 2 3 4 5 6 7 | if (interactive()) {
if (!requireNamespace("ggplot2")) stop("install ggplot2 to run this function")
bq = try(pancan_BQ())
if (!inherits(bq, "try-error")) {
ggMutDens(bq)
}
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.