truncateTransform: Create the definition of a truncate transformation function...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/AllClasses.R

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<a] <- a. Hence, all values less than a are replaced by a. The typical use would be to replace all values less than 1 by 1.

Usage

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

Author(s)

P. Haaland

See Also

transform-class, transform

Examples

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

flowCore documentation built on June 11, 2017, 2:02 a.m.

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