Description Slots Objects from the Class Extends Note Author(s) References See Also Examples
Quadratic transform class which represents a transformation defined by the function
f(parameter,a)=a*parameter^2
.Data
Object of class "function"
.
a
Object of class "numeric"
– non-zero multiplicative
constant.
parameters
Object of class "transformation"
– flow
parameter to be transformed.
transformationId
Object of class "character"
– unique
ID to reference the transformation.
Objects can be created by calls to the
constructor quadratic(parameters,a,transformationId)
Class "singleParameterTransform"
, directly.
Class "transform"
, by class "singleParameterTransform",
distance 2.
Class "transformation"
, by class "singleParameterTransform",
distance 3.
Class "characterOrTransformation"
, by class "singleParameterTransform",
distance 4.
The quadratic transformation object can be evaluated using the eval method by passing the data frame as an argument.The transformed parameters are returned as a column vector. (See example below)
Gopalakrishnan N, F.Hahne
Gating-ML Candidate Recommendation for Gating Description in Flow Cytometry V 1.5
dg1polynomial,ratio,squareroot
Other mathematical transform classes:
EHtrans-class
,
asinht-class
,
asinhtGml2-class
,
dg1polynomial-class
,
exponential-class
,
hyperlog-class
,
hyperlogtGml2-class
,
invsplitscale-class
,
lintGml2-class
,
logarithm-class
,
logicletGml2-class
,
logtGml2-class
,
ratio-class
,
ratiotGml2-class
,
sinht-class
,
splitscale-class
,
squareroot-class
,
unitytransform-class
1 2 3 4 | dat <- read.FCS(system.file("extdata","0877408774.B08",
package="flowCore"))
quad1<-quadratic(parameters="FSC-H",a=2,transformationId="quad1")
transOut<-eval(quad1)(exprs(dat))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.