linearTransform {flowCore} | R Documentation |
Create the definition of the linear Transformation that will be
applied on some parameter via the transform
method.
The definition of this function is currently x <- a*x+b
linearTransform(transformationId, a = 1, b = 0)
transformationId |
character string to identify the transformation |
a |
double that correponds to the multiplicative factor in the equation |
b |
double that correponds to the additive factor in the equation |
Returns an object of class transform
.
N. LeMeur
samp <- read.FCS(system.file("extdata", "0877408774.B08", package="flowCore")) linearTrans <- linearTransform(transformationId="Linear-transformation", a=2, b=0) dataTransform <- transform(samp,`FSC-H`=linearTrans(`FSC-H`))