View source: R/visualization.R
plot_spectrum | R Documentation |
Show a plot of mutational spectrums of all samples. That is a plot of mutation counts catalogued by mutational contexts.
plot_spectrum(sig_weights, stat = "mean", std96sigs = T)
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) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.