Learn R Programming

flowCore (version 1.38.2)

transformList-class: Class "transformList"

Description

Class "transformList"

Usage

transformList(from, tfun, to=from, transformationId = "defaultTransformation")

Arguments

from,to
Characters giving the names of the measurement parameter on which to transform on and into which the result is supposed to be stored. If both are equal, the existing parameters will be overwritten.
tfun
A list if functions or a character vector of the names of the functions used to transform the data. R's recycling rules apply, so a single function can be given to be used on all parameters.
transformationId
The identifier for the object.

Objects from the Class

Objects can be created by calls of the form new("transformList", ...), by calling the transform method with key-value pair arguments of the form key equals character and value equals function, or by using the constructor transformList. See below for details

Slots

transforms:
Object of class "list", where each list item is of class transformMap.
transformationId:
Object of class "character", the identifier for the object.

Methods

colnames
signature(x = "transformList"): This returns the names of the parameters that are to be transformed.
c
signature(x = "transformList"): Concatenate transformLists or regular lists and transformLists.
%on%
signature(e1 = "transformList", e2 = "flowFrame"): Perform a transformation using the transformList on a flowFrame or flowSet.

See Also

transform, transformMap

Examples

Run this code

tl <- transformList(c("FSC-H", "SSC-H"), list(log, asinh))
colnames(tl)
c(tl, transformList("FL1-H", "linearTransform"))
data(GvHD)
transform(GvHD[[1]], tl)

Run the code above in your browser using DataLab