Learn R Programming

CONFESS (version 1.0.2)

lmFluo: lmFluo

Description

It estimates the optimal number of mixtures for the flexmix model on data from multiple runs.

Usage

lmFluo(data, batch, maxMix, reference, prior.pi, flex.reps, flexmethod, seed)

Arguments

data
Numeric vector. An 1-dimensional vector of adjusted data from a single channel.
batch
Integer. The run number.
maxMix
Integer. The maximum number of components to fit into the mixture of regressions model.
reference
Numeric vector. Specifies the runs to be used as baseline (iteratively).
prior.pi
Float. The prior probability to accept a component.
flex.reps
Integer. The iterations of the Expectation-Maximization algorithm to estimate the flexmix model.
flexmethod
Character string. A method to estimate the optimal number of flexmix components. One of "BIC", "AIC", "ICL".
seed
Integer. An optional seed number for the Random Number Generator.

Value

The flexmix mixture components and other statistics