Usage
Fluo_adjustment(data, BGmethod = "normexp", maxMix = 3, single.batch.analysis = 1, transformation = "log", prior.pi = 0.1, flex.reps = 50, flexmethod = "BIC", savePlot = getwd(), seed = NULL)
Arguments
data
List. The output of createFluo().
BGmethod
Character string. The type of image background correction to be performed.
One of "normexp" or "subtract". Default is "normexp".
maxMix
Integer. The maximum number of components to fit into the mixture of
regressions model. If maxMix=1 or if the the optimal number of the estimated components
is 1, the model reduces to the classical 2-way ANOVA. Default is 3.
single.batch.analysis
Integer. The baseline run against with the run effect
correction is perfomred. Default is 1. If 0, each run is used as baseline iteratively
and the final corrected data are obtained as the average of all corrections.
transformation
Character string. One of bc (Box-Cox), log, log10, asinh transforms
applied to the data. Default is "log".
prior.pi
Float. The prior probability to accept a component. Default is 0.1.
flex.reps
Integer. The iterations of the Expectation-Maximization algorithm to estimate the flexmix
model. Default is 50.
flexmethod
Character string. A method to estimate the optimal number of flexmix
components. One of "BIC", "AIC", "ICL". Default is "BIC".
savePlot
Character string. Directory to store the plots. Its value can be an existing directory
or "screen" that prints the plot only on the screen or "OFF" that does not generate a plot (suggested
only during cross-validations). Default is the current working directory, getwd().
seed
Integer. An optional seed number for the Random Number Generator. Note that this seed is a 'reference'
value of the actual seed used in sampling. CONFESS is using various random sampling methods. Each method's
actual seed is factor*seed. The factors vary across methods. Default is NULL.