Learn R Programming

flowCore (version 1.38.2)

truncateTransform: Create the definition of a truncate transformation function to be applied on a data set

Description

Create the definition of the truncate Transformation that will be applied on some parameter via the transform method. The definition of this function is currently x[x

Usage

truncateTransform(transformationId="defaultTruncateTransform", a=1)

Arguments

transformationId
character string to identify the transformation
a
double that corresponds to the value at which to truncate

Value

Returns an object of class transform.

See Also

transform-class, transform

Examples

Run this code
samp <- read.FCS(system.file("extdata",
   "0877408774.B08", package="flowCore"))
  truncateTrans <- truncateTransform(transformationId="Truncate-transformation", a=5)
  dataTransform <- transform(samp,transformList('FSC-H', truncateTrans))

Run the code above in your browser using DataLab