50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

MAFDash (version 0.2.1)

generateBurdenPlot: 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

Examples

Run this code
# NOT RUN {
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")

# }

Run the code above in your browser using DataLab