ObjFn1: Objective function for 'SeparateSignatureFromBackground'.

View source: R/SeparateBackground.R

ObjFn1R Documentation

Objective function for SeparateSignatureFromBackground.

Description

Objective function for SeparateSignatureFromBackground.

Usage

ObjFn1(est.target.sig.and.b, obs.spectra, bg.sig.info)

Arguments

est.target.sig.and.b

A numeric vector of which elements 1:96 are the signature (as a vector) and the remaining elements are the coefficients for each input spectrum in obs.spectra.

obs.spectra

The observed spectra, which may be the sum of the activities of the background signature and the signature of an experimental treatment.

bg.sig.info

Information on the background signature. See for example background.info, e.g. background.info[["HepG2"]].

The caller will seek to minimize the value of this function.


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