Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

prepareMutSig

Prepares MAF file for MutSig analysis.


Description

Corrects gene names for MutSig compatibility.

Usage

prepareMutSig(maf, fn = NULL)

Arguments

maf

an MAF object generated by read.maf

fn

basename for output file. If provided writes MAF to an output file with the given basename.

Details

MutSig/MutSigCV is most widely used program for detecting driver genes. However, we have observed that covariates files (gene.covariates.txt and exome_full192.coverage.txt) which are bundled with MutSig have non-standard gene names (non Hugo_Symbols). This discrepancy between Hugo_Symbols in MAF and non-Hugo_symbols in covariates file causes MutSig program to ignore such genes. For example, KMT2D - a well known driver gene in Esophageal Carcinoma is represented as MLL2 in MutSig covariates. This causes KMT2D to be ignored from analysis and is represented as an insignificant gene in MutSig results. This function attempts to correct such gene symbols with a manually curated list of gene names compatible with MutSig covariates list.

Value

returns a MAF with gene symbols corrected.

Examples

laml.maf <- system.file("extdata", "tcga_laml.maf.gz", package = "maftools")
laml <- read.maf(maf = laml.maf)
prepareMutSig(maf = laml)

maftools

Summarize, Analyze and Visualize MAF Files

v2.6.05
MIT + file LICENSE
Authors
Anand Mayakonda [aut, cre] (<https://orcid.org/0000-0003-1162-687X>)
Initial release
2015-12-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.