fitCustomMutSigs: Performs mutational signature fitting against a pre-defined...

Description Usage Arguments Details Value Examples

View source: R/analysisWGS_fitCustomMutSigs.R

Description

Performs mutational signature fitting against a pre-defined list of (custom) motif matrixes.

Usage

1
fitCustomMutSigs(dataMuts, motifMatrix, sigType = "SBS")

Arguments

dataMuts

(VRanges): VRanges containing the mutations which will used as input.

motifMatrix

(tibble): Mutational motif matrix, with a column termed 'Motif' and then x columns designating the signatures.

sigType

(character): What type of signature should be looked for (motif matrix should match).

Details

Users need to supply a motif matrix (SNV-only), the names of the columns (signatures) will be used a aetiology.

Value

(list) Returns a list of relevant mutational signature output.

Examples

1
2
 data.Cohort <- R2CPCT::importWGSOfCohort(<cpctIds>, <combinedData>)
 data.MutSigs <- R2CPCT::fitMutSigs(data.Cohort$somaticVariants, motifMatrix)

J0bbie/R2CPCT documentation built on Feb. 24, 2022, 8:15 a.m.