plot_signatures: Plotting function for mmsig package

Description Usage Arguments Value

View source: R/sig_plot.R

Description

Plotting function for mmsig package

Usage

1
2
3
4
5
6
plot_signatures(
  sig,
  sig_order = c("SBS1", "SBS2", "SBS13", "SBS5", "SBS8", "SBS9", "SBS18", "SBS-MM1",
    "SBS35"),
  samples = FALSE
)

Arguments

sig

data frame of mutational signature estimates in the format from mm_fit_signatures

sig_order

order of signatures to plot in stacked bar chart, from top to bottom

samples

boolean whether or not to plot sample names on the x axis

Value

relative contribution of mutational signatures in each sample


bachisiozic/mmsig documentation built on Feb. 16, 2021, 12:03 a.m.