Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/parentFitting.R
Estimate the proliferation of a cell population in cell-tracking dye studies. parentFitting: fit the parent population
1 2 3 4 5 6 7 8 9 10 11 12 |
flowframe |
An object of class |
channel |
FACS column/channel ( |
estimatedPeakPosition |
Estimated peak position. If not provided will be used the |
estimatedPeakSize |
Estimated peak size. If not provided will be used the |
dataRange |
Number of digital data points on the machine. If not provided will be extracted from |
logDecades |
FACS dynamic range (log decades). If not provided will be extracted from |
binning |
Should I bin data? Some FACS have a large data range (Es: FACSCanto have 65536 data points, may be is convenient in this case to group data in bins to avoid acquiring too many cells). If you have you data log tranformed in range 0-5 it is mandatory to bin data |
breaks |
How many breaks if I bin data? |
dataSmooth |
Should I smooth data with a Kolmogorov-Zurbenko low-pass linear filter? |
smoothWindow |
Window used to smooth data with the Kolmogorov-Zurbenko low-pass linear filter. |
fixedModel |
Should I use a model with fixed parameters? (Peak Position or Size). |
fixedPars |
A list of fixed parameters. If you give me a value, I use that value, otherwise I use estimates (check examples) |
verbose |
Verbose mode. |
The formula used to fit the parent population:
a^2\exp\frac{(x - μ)^2}{2σ^2}
The algorithm estimate the position (μ) and size (σ) of the Parent Population.
return a parentFittingData
object
Davide Rambaldi
Timur V. Elzhov, Katharine M. Mullen and Ben Bolker (2012). minpack.lm: R interface to the Levenberg-Marquardt nonlinear least-squares algorithm found in MINPACK.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | if(require(flowFitExampleData)){
# CFSE
data(QuahAndParish)
parent.fitting.cfse <- parentFitting(QuahAndParish[[1]], "<FITC-A>")
parent.fitting.cfse
summary(parent.fitting.cfse)
confint(parent.fitting.cfse)
coef(parent.fitting.cfse)
plot(parent.fitting.cfse)
Data(parent.fitting.cfse)
# PKH26
data(PKH26data)
parent.fitting <- parentFitting(PKH26data[[1]], "FL2-Height LOG")
parent.fitting
summary(parent.fitting)
confint(parent.fitting)
coef(parent.fitting)
plot(parent.fitting)
Data(parent.fitting)
# fixedModel with estimates
parent.fitting <- parentFitting(PKH26data[[1]], "FL2-Height LOG",
fixedModel=TRUE, fixedPars=list(M=NA,S=NA))
# fixedModel with user values
parent.fitting <- parentFitting(PKH26data[[1]], "FL2-Height LOG",
fixedModel=TRUE, fixedPars=list(M=810,S=16))
# fixedModel with locked Peak Size (one fixed parameter)
parent.fitting <- parentFitting(PKH26data[[1]], "FL2-Height LOG",
fixedModel=TRUE, fixedPars=list(S=17))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.