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