pcrfit {qpcR} | R Documentation |
This is a wrapper function with easy syntax which simplifies the model fitting process by multdrc
.
pcrfit(data, cyc = 1, fluo, fct = l5())
data |
the name of the dataframe containing the variables. |
cyc |
the column number with the cycle data. Defaults to 1. |
fluo |
the column containing the raw fluorescence data. |
fct |
the model to be used for the analysis, with the usual 'drc' package nomenclature. Defaults to 'l5'. |
This function is to be used at the single run level. Otherwise use pcrbatch
.
A 'drc' model.
Andrej-Nikolai Spiess
Ritz C & Streibig JC. Bioassay analysis using R. J Stat Soft (2005), 12: 1-22.
The function multdrc
for more detailed model specification.
### simple l4() fit of F1.1 of the 'reps' dataset m <- pcrfit(reps, 1, 2, l4()) pcrplot(m) ### same with five-parameter model m2 <- pcrfit(reps, 1, 2) pcrplot(m2, add = TRUE, col = 2)