replist {qpcR}R Documentation

Amalgamation of single data models to a model containing replicates

Description

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.

Usage

replist(object, group)

Arguments

object an object of class 'modlist'.
group a vector defining the replicates for each group.

Details

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 stacked raw data values using these starting values.

Value

An object of class 'modlist' containing the replicate models of class 'nls'/'pcrfit'.

Author(s)

Andrej-Nikolai Spiess

See Also

modlist, pcrfit.

Examples

## Not run: 
ml <- modlist(reps, model = l4)
rl <- replist(ml, group = gl(7, 4))
plot(rl)
summary(rl[[1]])
## End(Not run)

[Package qpcR version 1.2-2 Index]