Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotSignatures

Plots decomposed mutational signatures


Description

Takes results from extractSignatures and plots decomposed mutational signatures as a barplot.

Usage

plotSignatures(
  nmfRes = NULL,
  contributions = FALSE,
  color = NULL,
  patient_order = NULL,
  font_size = 1.2,
  show_title = TRUE,
  sig_db = "legacy",
  axis_lwd = 2,
  title_size = 0.9,
  show_barcodes = FALSE,
  yaxisLim = 0.3,
  ...
)

Arguments

nmfRes

results from extractSignatures

contributions

If TRUE plots contribution of signatures in each sample.

color

colors for each Ti/Tv conversion class. Default NULL

patient_order

User defined ordering of samples. Default NULL.

font_size

font size. Default 1.2

show_title

If TRUE compares signatures to COSMIC signatures and prints them as title

sig_db

Only applicable if show_title is TRUE. Can be legacy or SBS. Default legacy

axis_lwd

axis width. Default 2.

title_size

size of title. Default 1.3

show_barcodes

Default FALSE

yaxisLim

Default 0.3. If NA autoscales.

...

further plot options passed to barplot

Value

Nothing

See Also


maftools

Summarize, Analyze and Visualize MAF Files

v2.6.05
MIT + file LICENSE
Authors
Anand Mayakonda [aut, cre] (<https://orcid.org/0000-0003-1162-687X>)
Initial release
2015-12-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.