plot_SBS | R Documentation |
plot_SBS(x, highlight = 0.05)
x |
A CNAqc object. |
highlight |
Minimum frequency to color in red a bar of the barplot (default 5 |
A ggplot object.
Canonical plot of SBS count from a sample, obtained
upon mapping substitutions to contexts via function SBS
.
The function allows to highlight in red a substitution that occurs with a frequency above a desired cutoff (default 5 data('example_dataset_CNAqc') x = init(mutations = example_dataset_CNAqc$mutations, cna =example_dataset_CNAqc$cna, purity = example_dataset_CNAqc$purity)
x = SBS(x)
# SBS plot plot_SBS(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.