View source: R/generateTiTvPlot.R
generateTiTvPlot | R Documentation |
This function plot the frequency of Transitions and Transversions of gene mutations
generateTiTvPlot( maf, use_silent_mutations = FALSE, sampleOrder = NULL, color = NULL, showBarcodes = FALSE, textSize = 15, baseFontSize = 15, axisTextSize = 10 )
maf |
A MAF object |
use_silent_mutations |
Include synonymous variants in analysis. Defaults to FALSE. |
sampleOrder |
Sample names in which the barplot should be ordered. Default NULL. |
color |
named vector of colors for each coversion class. |
showBarcodes |
Whether to include sample names for barplot. |
textSize |
fontsize if showBarcodes is TRUE. Default 15 (in pts). |
baseFontSize |
font size of axis title. Default 15 (in pts). |
axisTextSize |
text size x and y tick labels. Default 10 (in pts). |
List of objects consisting of different TiTv plots.
Ashish Jain, Mayank Tandon
library(MAFDash) library(maftools) maf <- system.file("extdata", "test.mutect2.maf.gz", package = "MAFDash") plots<-generateTiTvPlot(read.maf(maf))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.