Description Usage Arguments Value Examples
View source: R/visualization.R
Generates a heatmap of mutations with sample clustering using pheatmap.
1 2 3 4 5 6 7 8 9 10 | AmpliconHeatmap(
object,
filter.name = "default",
cut.off = 5,
left.side = "columns",
amplicons = NULL,
samples = NULL,
abs.count = FALSE,
font.size = 10
)
|
object |
Requires a UMI sample or UMI experiment object |
filter.name |
Name of the filter to be plotted. |
cut.off |
How many variant reads are necessary to consider a variant above background? Default is 5 reads. |
left.side |
Show assays or sample on the left side of the heatmap. Default is assays |
amplicons |
(Optional) character vector of amplicons to be plotted. |
samples |
(Optional) character vector of samples to be plotted. |
abs.count |
Logical. Should absolute counts be used instead of frequencies? |
font.size |
Font size to use for sample labels |
A graphics object
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
library(umiAnalyzer)
main = system.file('extdata', package = 'umiAnalyzer')
samples <- list.dirs(path = main, full.names = FALSE, recursive = FALSE)
simsen <- createUmiExperiment(experimentName = 'example',mainDir = main,sampleNames = samples)
simsen <- filterUmiObject(simsen)
hmap <- AmpliconHeatmap(simsen)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.