plot_SBS(x, highlight = 0.05)
A CNAqc object.
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)