pcrpred {qpcR} | R Documentation |
After fitting the appropriate sigmoidal model, either the raw fluorescence values can be predicted from the cycle number or vice versa.
pcrpred(object, newdata, which = c("y", "x"), ...)
object |
a 'drc' object. |
newdata |
a vector containing the values to estimate from. |
which |
either "y" (default) for prediction of the raw fluorescence or "x" for prediction of the cycle number. |
... |
other parameters to be passed to the predict.drc function. |
Uses the predict.drc
function from the 'drc' library for estimation, if the raw fluorescence values are to be estimated, and
the inversion function of either the llogistic
or bolztmann
models if the cycle number is to be estimated.
A vector containing the estimated values.
Andrej-Nikolai Spiess and Christian Ritz
m <- pcrfit(reps, 1, 2, l5()) ### which raw fluorescence value at cycle number = 17? pcrpred(m, 17) ### cycle numbers 20:25? pcrpred(m, 20:25) ### which cycle at F = 4 pcrpred(m, 4, "x")