flowFPModel(fcs, name="Default Model", parameters=NULL, nRecursions="auto", dequantize=TRUE, sampleSize=NULL, excludeTime=TRUE)level=10.)
flowFPModel is returned.
Bins are constructed by recursively subdividing the multivariate space specified by parameters. At the first level, the entire space is divided in half in the direction of the parameter with the highest variance. At the next level, each of the halves from the first level is itself divided in half, again in the direction of the parameter whose variance (among the events in the parent bin) is the highest. Thus, for each level the number of resulting bins is doubled. The number of bins in the model is thus $2^nRecursions$.
A model is of little interest by itself. Its only utility is to provide a sort of basis function for forming fingerprints. It may be interesting in some cases to use the entire set x to build the model, and then to generate fingerprints for each instance in x. For this reason, calling flowFP without a model causes flowFPModel to be invoked silently under the hood in order to create a model of the flowSet provided to flowFP.
W. Rogers et. al. (2008) Cytometric Fingerprinting: Quantitative Characterization of Multivariate Distributions, Cytometry Part A 73, 430-441.
# load a flowSet to use as an example.
library(flowFP)
data(fs1)
fs1
model <- flowFPModel(fs1, parameters=c(4,5), nRecursions=6)
fp <- flowFP(fs1, model)
plot(fp)
Run the code above in your browser using DataLab