quadraticTransform: Create the definition of a quadratic transformation function...

View source: R/AllClasses.R

quadraticTransformR Documentation

Create the definition of a quadratic transformation function to be applied on a data set

Description

Create the definition of the quadratic Transformation that will be applied on some parameter via the transform method. The definition of this function is currently x <- a*x\^2 + b*x + c

Usage

quadraticTransform(transformationId="defaultQuadraticTransform", a = 1, b = 1, c = 0)

Arguments

transformationId

character string to identify the transformation

a

double that corresponds to the quadratic coefficient in the equation

b

double that corresponds to the linear coefficient in the equation

c

double that corresponds to the intercept in the equation

Value

Returns an object of class transform.

Author(s)

N. Le Meur

See Also

transform-class, transform

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

Examples


samp <- read.FCS(system.file("extdata",
   "0877408774.B08", package="flowCore"))
  quadTrans <- quadraticTransform(transformationId="Quadratic-transformation", a=1, b=1, c=0)
  dataTransform <- transform(samp, transformList('FSC-H', quadTrans))



RGLab/flowCore documentation built on Aug. 26, 2024, 8:52 a.m.