transform-class: 'transform': a class for transforming flow-cytometry data by...

transform-classR Documentation

'transform': a class for transforming flow-cytometry data by applying scale factors.

Description

Transform objects are simply functions that have been extended to allow for specialized dispatch. All of the “...Transform” constructors return functions of this type for use in one of the transformation modalities.

Slots

.Data

Object of class "function"

transformationId

A name for the transformation object

Methods

summary

Return the parameters

Author(s)

N LeMeur

See Also

linearTransform, lnTransform, logicleTransform, biexponentialTransform, arcsinhTransform, quadraticTransform, logTransform

Examples


cosTransform <- function(transformId, a=1, b=1){
  t = new("transform", .Data = function(x) cos(a*x+b))
  t@transformationId = transformId
  t
}

cosT <- cosTransform(transformId="CosT",a=2,b=1)

summary(cosT)


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