plotSignatures: Plots decomposed mutational signatures

View source: R/plotSignatures.R

plotSignaturesR Documentation

Plots decomposed mutational signatures

Description

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

Usage

plotSignatures(
  nmfRes = NULL,
  contributions = FALSE,
  absolute = FALSE,
  color = NULL,
  patient_order = NULL,
  font_size = 0.6,
  show_title = TRUE,
  sig_db = "SBS_v34",
  axis_lwd = 1,
  title_size = 0.9,
  show_barcodes = FALSE,
  yaxisLim = NA,
  ...
)

Arguments

nmfRes

results from extractSignatures

contributions

If TRUE plots contribution of signatures in each sample.

absolute

Whether to plot absolute contributions. Default FALSE.

color

colors for each Ti/Tv conversion class. Default NULL

patient_order

User defined ordering of samples. Default NULL.

font_size

font size. Default 0.6

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, SBS, SBS_v34. Default SBS_v34

axis_lwd

axis width. Default 1.

title_size

size of title. Default 1.3

show_barcodes

Default FALSE

yaxisLim

Default NA.

...

further plot options passed to barplot

Value

Nothing

See Also

trinucleotideMatrix plotSignatures


PoisonAlien/maftools documentation built on Nov. 10, 2024, 6:01 p.m.