Usage
pcrbatch(x, cyc = 1, fluo = NULL,
methods = c("sigfit", "sliwin", "expfit", "LRE"),
model = l4, check = "uni2", checkPAR = parKOD(),
remove = c("none", "fit", "KOD"), exclude = NULL,
type = "cpD2", labels = NULL, norm = FALSE, baseline = FALSE,
basefac = 1, smooth = c("none", "smooth", "lowess", "supsmu", "spline"),
smoothPAR = list(span = 0.1), factor = 1, opt = FALSE,
optPAR = list(sig.level = 0.05, crit = "ftest"),
group = NULL, names = c("group", "first"), plot = TRUE,
verbose = TRUE, ...)
Arguments
x
a dataframe containing the qPCR raw data from the different runs or a list obtained from modlist
. cyc
the column containing the cycle data. Defaults to first column.
fluo
the column(s) (runs) to be analyzed. If NULL
, all runs will be considered.
methods
a character vector defining the methods to use. See 'Details'.
model
the model to be used for all runs.
check
the method for outlier detection in KOD
. Default is check for sigmoidal structure. checkPAR
parameters to be supplied to the check
method.
remove
which runs to remove. Either none
, those which failed to fit
or from the outlier methods.
exclude
either ""
for samples with missing column names or a regular expression defining columns (samples) to be excluded from pcrbatch
. See 'Details' and 'Examples' in modlist
. type
the point on the amplification curve from which the efficiency is estimated. See efficiency
. labels
a vector containing labels, i.e. for defining replicate groups prior to ratiobatch
. norm
logical. Should the raw data be normalized within [0, 1] before model fitting?
baseline
type of baseline subtraction. Same as in efficiency
. basefac
a factor when using averaged baseline cycles, such as 0.95
.
smooth
which curve smoothing method to use. See 'Details'.
smoothPAR
parameters to be supplied to the smoothing functions. See 'Details'.
factor
a multiplication factor for the fluorescence response values (barely useful, but who knows...).
opt
logical. Should model selection be applied to each model?
optPAR
parameters to be supplied to mselect
. group
a vector containing the grouping for possible replicates.
names
how to name the grouped fit. Either 'group_1, ...' or the first name of the replicates.
plot
logical. If TRUE
, the single runs are plotted from the internal 'modlist' for diagnostics.
verbose
logical. If TRUE
, fitting and tagging results will be displayed in the console.
...
other parameters to be passed to downstream methods.