Description Usage Arguments Value Author(s) See Also Examples
Create the definition of the scale Transformation that will be applied on
some parameter via the transform
method. The definition of this
function is currently x = (x-a)/(b-a). The transformation would normally be
used to convert to a 0-1 scale. In this case, b would be the maximum
possible value and a would be the minimum possible value.
1 | scaleTransform(transformationId="defaultScaleTransform", a, b)
|
transformationId |
character string to identify the transformation |
a |
double that corresponds to the value that will be transformed to 0 |
b |
double that corresponds to the value that will be transformed to 1 |
Returns an object of class transform
.
P. Haaland
Other Transform functions:
arcsinhTransform()
,
biexponentialTransform()
,
inverseLogicleTransform()
,
linearTransform()
,
lnTransform()
,
logTransform()
,
logicleTransform()
,
quadraticTransform()
,
splitScaleTransform()
,
truncateTransform()
1 2 3 4 | samp <- read.FCS(system.file("extdata",
"0877408774.B08", package="flowCore"))
scaleTrans <- scaleTransform(transformationId="Truncate-transformation", a=1, b=10^4)
dataTransform <- transform(samp, transformList('FSC-H', scaleTrans))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.