MakeBackgroundInfo: Estimate a background signature and its characteristics.

View source: R/MakeBakgroundInfo.R

MakeBackgroundInfoR Documentation

Estimate a background signature and its characteristics.

Description

Estimate a background signature and its characteristics.

Usage

MakeBackgroundInfo(
  bg.spectra,
  title = "Background.sig",
  sig.nbinom.size = 10,
  count.nbinom.size = 10
)

Arguments

bg.spectra

The spectra from which to compute the background information.

title

The name of the single column of the signature in the background.sig element of the output.

sig.nbinom.size

The negative binomial size dispersion parameter for the background signature profile. See NegBinomial. Smaller is more dispersed.

count.nbinom.size

The negative binomial size dispersion parameter for the numbers of mutations caused by the background signature (i.e. count.nbinom.mu). See NegBinomial. Smaller is more dispersed.

Value

A list with the elements

background.sig

The background signatures as a single-column ICAMS catalog.

sig.nbinom.size

See input argument sig.nbinom.size.

count.nbinom.mu

The mean of the numbers of mutations in bg.spectra.

count.nbinom.size

See input argument count.nbinom.size.

input.spectra

The bg.spectra used to estimate the background.


steverozen/mSigBG documentation built on Nov. 4, 2022, 10:58 a.m.