## First 4 runs and return parameters of fit
## do background subtraction using the first 8 cycles.
pcrbatch(reps, fluo = 2:5, baseline = 1:8)
## First 8 runs, with 4 replicates each, l5 model.
pcrbatch(reps, fluo = 2:9, model = l5, group = c(1,1,1,1,2,2,2,2))
## Using model selection (Akaike weights)
## on the first 4 runs, runs 1 and 2 are replicates.
pcrbatch(reps, fluo = 2:5, group = c(1,1,2,3),
opt = TRUE, optPAR = list(crit = "weights"))
## Fitting a sigmoidal and 'mak3' mechanistic model.
res4 <- pcrbatch(reps, methods = c("sigfit", "mak3"))
## Converting a 'modlist' to 'pcrbatch'.
ml5 <- modlist(reps, 1, 2:5, b3)
res5 <- pcrbatch(ml5)
Run the code above in your browser using DataLab