View source: R/r-functions.plot.R
plot.this.one | R Documentation |
Plot distribution of somatic mutations of a gene.
## S3 method for class 'this.one' plot(symbol, folder, prefix, par = F, bw = 5, main = "", side = 1)
symbol: |
A gene symbol. |
folder: |
A folder containing a "prefix.mut.summary.txt" file and a "prefix.symbol_2_cds_id.txt" file. |
prefix: |
A prefix string used to label the files. Usually, it contains TCGA.tumor_abbreviation. |
par: |
A boolean indicating if using current grid arrangement. Default is TRUE. |
bw: |
bandwidth for density estimate. Default is 5. |
main: |
title of the plot. |
side: |
side to plot the protein position. |
A data frame from the check.gene.mut() function
m=plot.this.one('TP53', './examples/', 'TCGA.ACC')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.