generateBurdenPlot: Function to generate Burden plot

View source: R/generateBurdenPlot.R

generateBurdenPlotR Documentation

Function to generate Burden plot

Description

This function generates burden plot using the MAF data.

Usage

generateBurdenPlot(
  mymaf,
  plotType = "Dotplot",
  mb_covered = NULL,
  save_data_to_file = NULL
)

Arguments

mymaf

The MAF object

plotType

Type of plot (Either "Dotplot" or "Barplot")

mb_covered

Total covered bases for mutation count normalization

save_data_to_file

The name and path of the output file

Value

A ggplot object containing the burden plot

Author(s)

Mayank Tandon, Ashish Jain

Examples

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


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