plot.multiple: Plot distribution of somatic mutations of multiple genes.

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

plot.multipleR Documentation

Plot distribution of somatic mutations of multiple genes.

Description

Plot distribution of somatic mutations of multiple genes.

Usage

## S3 method for class 'multiple'
plot(multiple, par = F, bw = 5, side = 1)

Arguments

multiple:

A data frame. Each row contains a gene symbol, a folder, a prefix and an optional class label.

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

df=data.frame(rbind(c('TP53', './examples', 'TCGA.ACC', 'TSG'), c('CTNNB1', './examples/', 'TCGA.ACC', 'OG'), c('TTN', './examples/', 'TCGA.ACC', 'PG'))); m=plot.multiple(df)

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