50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


RPPanalyzer (version 1.4.9)

getErrorModel: Estimates error model parameters var0 (basal variance) and varR (relative variance) and produces a new data.frame with the signals and error model parameters.

Description

The method is based on a maximum-likelihood estimation. The model prediction is the expected variance given the signal, depending on var0 and varR.

Usage

getErrorModel(dataexpression, verbose=FALSE)

Value

data.frame

with columns "slide" (factor, the slide names), "ab" (factor, the antibody/target names), "time" (numeric, the time points), "signal" (numeric, signal values), "var0" (numeric, error parameter for the constant error, equivalent to sigma0^2), "varR" (numeric, error parameter for the relative error, equivalent to sigmaR^2) and other columns depending on the input data.frame

Arguments

dataexpression

data.frame, standard output from RPPanalyzer's write.Data.

verbose

logical, if TRUE, the function prints out additional information and produces a PDF file in the working directory with the signal vs. variance plots.

Author

Daniel Kaschek, Physikalisches Institut, Uni Freiburg. Email: daniel.kaschek@physik.uni-freiburg.de

Details

The empirical variance estimator is χ2 distributed with n2 degrees of freedom, where n is the number of technical replicates. The estimated error parameters maximize the corresponding log-likelihood function. At the moment, the code assumes n=3. For cases n>3, the error parameters are slightly overestimated, thus, providing a conservative result. The explicit error model is σ2(S)=σ02+S2σR2=var0+varRS2 where S is the signal strength.