backgroundCorrect
and is not normally called directly by users.normexp.fit(x, method="saddle", n.pts=NULL, trace=FALSE)
normexp.fit
are "mle"
, "saddle"
, "rma"
and "rma75"
.x
to use for the fit. If NULL
then all values of x
will be used.TRUE
, tracing information on the progress of the optimization is given.method="mle"
) or approximated using a saddle-point approximation (method="saddle"
).
The saddle-point approximation was proposed by Ritchie et al (2007).
Silver et al (2008) added some computational refinements to the saddle-point approximation, making it more reliable in practice, and developed the exact likelihood maximization algorithm.
The "mle"
method uses the best performing algorithm from Silver et al (2008), which
calls the optimization function nlminb
with analytic first and second derivatives.
Derivatives are computed with respect to the normal-mean, the log-normal-variance and the log-exponential-mean.
Two ad-hoc estimators are also available which do not require iterative estimation.
"rma"
results in a call to the bg.parameters
function of the affy package.
This provides the kernel estimation method that is part of the RMA algorithm for Affymetrix data.
"rma75"
uses the similar but less biased RMA-75 method from McGee and Chen (2006).
If the length x
is very large, it may be worth saving computation time by setting n.pts
to a value less than the total number of probes, for example n.pts=2^14
.normexp.signal
, normexp.fit.control
.
Also bg.parameters in the affy package.
An overview of background correction functions is given in 04.Background
.x <- c(2,3,1,10,3,20,5,6)
out <- normexp.fit(x)
normexp.signal(out$par, x=x)
Run the code above in your browser using DataLab