plot_SBS: Plost SBS counts

plot_SBSR Documentation

Plost SBS counts

Usage

plot_SBS(x, highlight = 0.05)

Arguments

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)


caravagnalab/CNAqc documentation built on Oct. 31, 2024, 3:54 a.m.