View source: R/r-functions.plot.R
plot.multiple | R Documentation |
Plot distribution of somatic mutations of multiple genes.
## S3 method for class 'multiple' plot(multiple, par = F, bw = 5, side = 1)
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. |
A data frame from the check.gene.mut() function
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.