plot_spectrum: Visualize mutational spectrums of a sample, or all samples...

View source: R/visualization.R

plot_spectrumR Documentation

Visualize mutational spectrums of a sample, or all samples summarized

Description

Show a plot of mutational spectrums of all samples. That is a plot of mutation counts catalogued by mutational contexts.

Usage

plot_spectrum(sig_weights, stat = "mean", std96sigs = T)

Arguments

sig_weights

A matrix of mutational counts of different contexts

stat

How to aggregate the spectrums. Choose "mean" or "median". Default is mean.

std96sigs

Boolean variable, indicating if using 96 contexts and sorted by the contexts (from AC>AA to TT>GT)


gersteinlab/siglasso documentation built on Sept. 5, 2022, 8:45 p.m.