R/generateTiTvPlot.R
generateTiTvPlot.Rd
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
)
A MAF object
Include synonymous variants in analysis. Defaults to FALSE.
Sample names in which the barplot should be ordered. Default NULL.
named vector of colors for each coversion class.
Whether to include sample names for barplot.
fontsize if showBarcodes is TRUE. Default 15 (in pts).
font size of axis title. Default 15 (in pts).
text size x and y tick labels. Default 10 (in pts).
List of objects consisting of different TiTv plots.
library(MAFDash)
library(maftools)
maf <- system.file("extdata", "test.mutect2.maf.gz", package = "MAFDash")
plots<-generateTiTvPlot(read.maf(maf))
#> -Reading
#> -Validating
#> -Silent variants: 561
#> -Summarizing
#> --Possible FLAGS among top ten genes:
#> MACF1
#> MUC16
#> -Processing clinical data
#> --Missing clinical data
#> -Finished in 0.216s elapsed (0.197s cpu)