View source: R/generateMutationTypePlot.R
generateMutationTypePlot | R Documentation |
This function generates silent and non-silent mutation plot using the MAF data.
generateMutationTypePlot(mymaf, savename = NULL, returndata = FALSE)
mymaf |
The MAF object |
savename |
The name and path of the output file |
returndata |
Flag to output the plot data (By Default returndata = FALSE) |
A ggplot object if returndata is FALSE or a list containing the ggplot object and plot data if returndata is TRUE
Mayank Tandon, Ashish Jain
library(MAFDash) library(maftools) maf <- system.file("extdata", "test.mutect2.maf.gz", package = "MAFDash") generateMutationTypePlot(read.maf(maf))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.