# plotTiTv: Plot Transition and Trasnversion ratios. In thesushantpatil/maftools: Summarize, Analyze and Visualize MAF Files

## Description

Takes results generated from `titv` and plots the Ti/Tv ratios and contributions of 6 mutational conversion classes in each sample.

## Usage

 ``` 1 2 3 4 5 6 7 8 9 10 11``` ```plotTiTv( res = NULL, plotType = "both", sampleOrder = NULL, color = NULL, showBarcodes = FALSE, textSize = 0.8, baseFontSize = 1, axisTextSize = c(1, 1), plotNotch = FALSE ) ```

## Arguments

 `res` results generated by `titv` `plotType` Can be 'bar', 'box' or 'both'. Defaults to 'both' `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. Deafult 2. `baseFontSize` font size. Deafult 1. `axisTextSize` text size x and y tick labels. Default c(1,1). `plotNotch` logical. Include notch in boxplot.

## Value

None.

`titv`
 ```1 2 3 4``` ```laml.maf <- system.file("extdata", "tcga_laml.maf.gz", package = "maftools") laml <- read.maf(maf = laml.maf) laml.titv = titv(maf = laml, useSyn = TRUE) plotTiTv(laml.titv) ```
{"ft_lang_label":"__label__en","ft_lang_prob":0.56810284,"math_prob":0.9523626,"size":1014,"snap":"2023-40-2023-50","text_gpt3_token_len":307,"char_repetition_ratio":0.08217822,"word_repetition_ratio":0.0,"special_character_ratio":0.27120316,"punctuation_ratio":0.15183246,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95711106,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-12-07T02:57:29Z\",\"WARC-Record-ID\":\"<urn:uuid:ce72f585-72af-4441-8d85-f27cd3282826>\",\"Content-Length\":\"38882\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:36c3a980-6c83-4e40-8a46-bb5fbfe1fa8e>\",\"WARC-Concurrent-To\":\"<urn:uuid:ea029ef5-54c8-4bc8-adff-070ab43eb423>\",\"WARC-IP-Address\":\"51.81.83.12\",\"WARC-Target-URI\":\"https://rdrr.io/github/thesushantpatil/maftools/man/plotTiTv.html\",\"WARC-Payload-Digest\":\"sha1:S2WALLSAWVIQ2SHQUL2WUW7ZVITLWUGW\",\"WARC-Block-Digest\":\"sha1:2MV7DYXDWEF5M5IX2KU5PXPQ3XG4ETH5\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679100632.0_warc_CC-MAIN-20231207022257-20231207052257-00009.warc.gz\"}"}