SeparateSignatureAndSpectra: Calculate the inferred target signature and inferred...

View source: R/SeparateSignatureAndSpectra.R

SeparateSignatureAndSpectraR Documentation

Calculate the inferred target signature and inferred background and target components of input spectra.

Description

Calculate the inferred target signature and inferred background and target components of input spectra.

Usage

SeparateSignatureAndSpectra(
  spectra,
  bg.sig.info,
  m.opts = NULL,
  start.b.fraction = 0.1,
  sig.name = "Inferred.sig"
)

Arguments

spectra

The spectra from which to subtract the background, as a matrix or ICAMS catalog.

bg.sig.info

Information about the background signature. See background.info.

m.opts

Options to pass to nloptr.

start.b.fraction

The estimated fraction of the mutations in spectra due to the background signature.

sig.name

A name for the inferred signature

Value

A list with the elements

inferred.target.spectra

The mutations counts inferred to be from the target signature.


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