SBS: Augment SBS data for mutational signatures deconvolution

View source: R/assign_sbs_contexts.R

SBSR Documentation

Augment SBS data for mutational signatures deconvolution

Description

Augment a CNAqc object with Single Base Substitution (SBS) data for mutational signature deconvolution.

This creates set of objects that are stored inside field 'SBS' of the input object. These are:

* 'SNVs', a tibble for SNVs used for SBS data preparation; * 'GRanges', a GRanges object for the above tibble; * 'counts', a trinucleotide count matrix for SBS deconvolution.

In particular, 'counts' is the canonnical format to run SBS deconvolution in a variety of tools.

Usage

SBS(x)

Arguments

x

A CNAqc object.

Value

A CNAqc object with required SBS data in the inner field 'SBS'.


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