plotMutationalSignaturesCustom: Generates a mutational signature plot for custom signatures.

Description Usage Arguments Value

View source: R/plot_MutationalSignaturesCustom.R

Description

Generates a mutational signature plot for custom signatures.

Usage

1
2
3
4
5
6
7
8
9
plotMutationalSignaturesCustom(
  mutSigs,
  orderSamples = NULL,
  minContrib = 5,
  sortOnMeanContrib = TRUE,
  minMutants = NULL,
  focusOnSig = NULL,
  onlyShowFocus = FALSE
)

Arguments

mutSigs

(list): A list containing the data of the mutational reconstruction (of either the SNV, InDel or DBS) from fitMutSigs.

orderSamples

(character): Specific ordering of samples.

minContrib

(numeric): Min. contribution of a signature (in any sample) in order to plot it. Set to 0 to plot all possible signatures.

sortOnMeanContrib

(logical): Sort signature order in mean contribution (T) or as leave as supplied (F).

minMutants

(numeric): Min. number of mutants (SNV, DBS or InDel) on which the fitting should have been performed. Else, it will be flagged as a low-confident reconstruction.

focusOnSig

(character): Should there be a focus on specific signatures? All others will be categorized as 'Other'.

onlyShowFocus

(logical): Should only the focused signatures be shown?

Value

(ggplot) ggplot object.


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