transformList-class: Class "transformList"

Description Usage Arguments Objects from the Class Slots Methods Author(s) See Also Examples

Description

Class "transformList"

Usage

1
2
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.

Author(s)

B. Ellis, F. Hahne

See Also

transform, transformMap

Examples

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

flowCore documentation built on May 20, 2017, 9:51 p.m.

Search within the flowCore package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.