replist {qpcR} | R Documentation |
Starting from a 'modlist' containing qPCR models from single data, replist
amalgamates
the models according to the grouping structure as defined in group
. The result
is a 'modlist' with models obtained from fitting the replicates by pcrfit
.
replist(object, group)
object |
an object of class 'modlist'. |
group |
a vector defining the replicates for each group. |
As being defined by group
, the raw data of the curves are averaged and starting values for the averaged values are
calculated by optim
. Finally, a nls
model is built from the stack
ed raw data values using
these starting values.
An object of class 'modlist' containing the replicate models of class 'nls'/'pcrfit'.
Andrej-Nikolai Spiess
## Not run: ml <- modlist(reps, model = l4) rl <- replist(ml, group = gl(7, 4)) plot(rl) summary(rl[[1]]) ## End(Not run)