Learn R Programming

flowCore (version 1.38.2)

transform-class: '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.

Arguments

Slots

.Data:
Object of class "function"
transformationId:
A name for the transformation object

Methods

summary
Return the parameters

See Also

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

Examples

Run this code

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)

Run the code above in your browser using DataLab