EHtrans-class {flowCore} | R Documentation |
EH transformation of a parameter is defined by the function
EH(parameter,a,b)= 10^{(frac{parameter}{a})} + frac{b*parameter}{a}-1 ~~~~parameter>=0
-10^{(frac{-parameter}{a})} + frac{b*parameter}{a}+1 ~~~~parameter<0
Objects can be created by calls to the constructor
EHtrans(parameters,a,b,transformationId)
.Data
:"function"
~~ a
:"numeric"
-numeric constant greater than zero b
:"numeric"
-numeric constant greater than zero parameters
:"transformation"
- flow parameter 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 "EHtrans" in the signature.
The 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
hyperlog
dat <- read.FCS(system.file("extdata","0877408774.B08", package="flowCore")) eh1<-EHtrans("FSC-H",a=1250,b=4,transformationId="eh1") transOut<-eval(eh1)(exprs(dat))