Learn R Programming

MAFDash

Once you call the variants, it's a MAFDash to the finish line

An easy-to-use dashboard builder for mutation data

Installation from CRAN

install.packages("MAFDash")

Installation from Github

# install.packages(devtools)  ## Install devtools if necessary
devtools::install_github("ashishjain1988/MAFDash")

Description

Mutation Annotation Format (MAF) is a tabular data format used for storing genetic mutation data. For example, The Cancer Genome Atlas (TCGA) project has made MAF files from each project publicly available.

MAFDash is an R package that helps to quickly create an HTML dashboard to summarize and visualize data from MAF files. The resulting HTML file serves as a self-contained report that can be used to explore and share the results.

Currently, MAFDash produces mostly static plots powered by maftools, ComplexHeatmap and circlize, as well as interactive visualizations using canvasXpress and plotly. The report is generated with a parameterized R Markdown script that uses flexdashboard to arrange all the information.

How to use

Example dashboards from the vignette

Here are some example dashboards created using TCGA data:

Other notes

  • This repo was born out of a Shiny app, MAFWiz. Instead of relying on a Shiny server, this dashboard was an attempt to try some of those things using client-side javascript functionality.

Copy Link

Version

Install

install.packages('MAFDash')

Monthly Downloads

14

Version

0.2.1

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Ashish Jain

Last Published

April 1st, 2022

Functions in MAFDash (0.2.1)

generateRibbonPlot

Function to generate a ribbon plot depicting co-occurence and mutual exclusivity of gene mutations
compute_exome_coverage

Compute exome coverage from a region file
getTCGAClinicalColors

Makes reasonable colors for some TCGA clinical annoations
createOncoMatrix

Creates matrix for oncoplot
getMAFdataTCGA

Function to extract the mutation data in MAF format from TCGA
getTCGAClinicalAnnotation

Function to extract the clinical annotations from TCGA
filter_maf_chunked

Function to filter the mutations
generateOncoPlot

Function to generate a dashboard from a MAF file
generateMutationTypePlot

Function to generate silent and non-silent mutation plot
generateVariantTable

Make variant table from maf file
detectMAFGenome

A function to detect MAF genome
filterMAF

Function to filter the mutations
getMAFDashboard

Function to generate a dashboard from a MAF file.
generateTCGAComparePlot

Plot the comparison of the mutation load against TCGA cohorts
generateTiTvPlot

Function to plot the frequency of Transitions and Transversions of gene mutations
generateBurdenPlot

Function to generate Burden plot
generateOverlapPlot

Function to generate Overlap plot