generateMutationTypePlot: Function to generate silent and non-silent mutation plot

View source: R/generateMutationTypePlot.R

generateMutationTypePlotR Documentation

Function to generate silent and non-silent mutation plot

Description

This function generates silent and non-silent mutation plot using the MAF data.

Usage

generateMutationTypePlot(mymaf, savename = NULL, returndata = FALSE)

Arguments

mymaf

The MAF object

savename

The name and path of the output file

returndata

Flag to output the plot data (By Default returndata = FALSE)

Value

A ggplot object if returndata is FALSE or a list containing the ggplot object and plot data if returndata is TRUE

Author(s)

Mayank Tandon, Ashish Jain

Examples

library(MAFDash)
library(maftools)
maf <- system.file("extdata", "test.mutect2.maf.gz", package = "MAFDash")
generateMutationTypePlot(read.maf(maf))

MAFDash documentation built on April 1, 2022, 9:05 a.m.