linearTransform: Create the definition of a linear transformation function to...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/AllClasses.R

Description

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

Usage

1
linearTransform(transformationId="defaultLinearTransform", a = 1, b = 0)

Arguments

transformationId

character string to identify the transformation

a

double that corresponds to the multiplicative factor in the equation

b

double that corresponds to the additive factor in the equation

Value

Returns an object of class transform.

Author(s)

N. LeMeur

See Also

transform-class, transform

Other Transform functions: arcsinhTransform(), biexponentialTransform(), inverseLogicleTransform(), lnTransform(), logTransform(), logicleTransform(), quadraticTransform(), scaleTransform(), splitScaleTransform(), truncateTransform()

Examples

1
2
3
4
samp <- read.FCS(system.file("extdata",
   "0877408774.B08", package="flowCore"))
  linearTrans <- linearTransform(transformationId="Linear-transformation", a=2, b=0)
  dataTransform <- transform(samp, transformList('FSC-H' ,linearTrans))

flowCore documentation built on Nov. 8, 2020, 5:19 p.m.