plot.this.one: Plot distribution of somatic mutations of a gene.

View source: R/r-functions.plot.R

plot.this.oneR Documentation

Plot distribution of somatic mutations of a gene.

Description

Plot distribution of somatic mutations of a gene.

Usage

## S3 method for class 'this.one'
plot(symbol, folder, prefix, par = F, bw = 5,
  main = "", side = 1)

Arguments

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.

Value

A data frame from the check.gene.mut() function

Examples

m=plot.this.one('TP53', './examples/', 'TCGA.ACC')

liliulab/gust documentation built on Aug. 30, 2022, 1:42 a.m.