logTransform {flowCore} | R Documentation |
Create the definition of the log Transformation that will be
applied on some parameter via the transform
method.
The definition of this function is currently x<-log(x,logbase)*(r/d).
The transformation would normally be used to convert to a linear valued parameter
to the natural logarithm scale.
Typically r and d are both equal to 1.0. Both must be positive.
logbase = 10 corresponds to base 10 logarithm.
logTransform(transformationId, logbase=10, r=1, d=1)
transformationId |
character string to identify the transformation |
logbase |
positive double that correponds to the base of the logarithm. |
r |
positive double that correponds to a scale factor. |
d |
positive double that correponds to a scale factor |
Returns an object of class transform
.
B. Ellis, N. LeMeur
samp <- read.FCS(system.file("extdata", "0877408774.B08", package="flowCore")) logTrans <- logTransform(transformationId="ln-transformation", logbase=10, r=1, d=1) dataTransform <- transform(samp,`FSC-H`=logTrans(`FSC-H`))