scaleTransform(flowCore)
scaleTransform()所属R语言包:flowCore
Create the definition of a scale transformation function to be applied on a data set
可应用于数据集上,创建了一个尺度变换函数的定义
译者:生物统计家园网 机器人LoveR
描述----------Description----------
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.
创建的大规模改造,将通过transform方法适用于某些参数上的定义。这个函数的定义,是目前X =(XA)/(BA)。转型通常会被用来转换到0-1级。在这种情况下,B将是最大的可能值,一个是最小可能值。
用法----------Usage----------
scaleTransform(transformationId="defaultScaleTransform", a, b)
参数----------Arguments----------
参数:transformationId
character string to identify the transformation
字符串,以确定改造
参数:a
double that corresponds to the value that will be transformed to 0
增加一倍,相当于将转化为0的值
参数:b
double that corresponds to the value that will be transformed to 1
翻一番,对应的价值将转化为1
值----------Value----------
Returns an object of class transform.
类transform返回一个对象。
作者(S)----------Author(s)----------
P. Haaland
参见----------See Also----------
transform-class, transform
transform-class,transform
举例----------Examples----------
samp <- read.FCS(system.file("extdata",
"0877408774.B08", package="flowCore"))
scaleTrans <- scaleTransform(transformationId="Truncate-transformation", a=1, b=10^4)
dataTransform <- transform(samp,`FSC-H`=scaleTrans(`FSC-H`))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|