logarithm-class {flowCore} | R Documentation |
Logartithmic transformation of an argument is a transforation defined by the function
f(parameter,a,b)= ln(a*prarameter)*b ~~~~a*parameter>0
0 ~~~~a*parameter<=0
Objects can be created by calls to the constructor
logarithm(parameters,a,b,transformationId)
.Data
:"function"
~~ a
:"numeric"
-non zero multiplicative constant b
:"numeric"
-non zero multiplicative constant parameters
:"transformation"
-flow parameters to be transformedtransformationId
:"character"
-unique ID to reference the transformation
Class "singleParameterTransform"
, directly.
Class "transform"
, by class "singleParameterTransform", distance 2.
Class "transformation"
, by class "singleParameterTransform", distance 3.
Class "characterOrTransformation"
, by class "singleParameterTransform", distance 4.
No methods defined with class "logarithm" in the signature.
The logarithm transformation object can be evaluated using the eval method by passing the data frame as an argument.The transformed parameters are returned as a matrix with a single column. (See example below)
Gopalakrishnan N, F.Hahne
Gating-ML Candidate Recommendation for Gating Description in Flow Cytometry V 1.5
exponential,quadratic
dat <- read.FCS(system.file("extdata","0877408774.B08", package="flowCore")) lg1<-logarithm(parameters="FSC-H",a=2,b=1,transformationId="lg1") transOut<-eval(lg1)(exprs(dat))