linearTransform(flowCore)
linearTransform()所属R语言包:flowCore
Create the definition of a linear transformation function to be applied on a data set
创建一个线性变换函数的定义要应用于数据集
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Create the definition of the linear Transformation that will be applied on some parameter via the transform method. The definition of this function is currently x <- a*x+b
创建通过transform方法将被应用于一些参数的线性变换的定义。这个函数的定义是目前X < - A * X + B
用法----------Usage----------
linearTransform(transformationId="defaultLinearTransform", a = 1, b = 0)
参数----------Arguments----------
参数:transformationId
character string to identify the transformation
字符串,以确定改造
参数:a
double that corresponds to the multiplicative factor in the equation
翻一番,对应的方程的乘法因子
参数:b
double that corresponds to the additive factor in the equation
重复对应方程式中的添加剂的因素
值----------Value----------
Returns an object of class transform.
类transform返回一个对象。
作者(S)----------Author(s)----------
N. LeMeur
参见----------See Also----------
transform-class, transform
transform-class,transform
举例----------Examples----------
samp <- read.FCS(system.file("extdata",
"0877408774.B08", package="flowCore"))
linearTrans <- linearTransform(transformationId="Linear-transformation", a=2, b=0)
dataTransform <- transform(samp,`FSC-H`=linearTrans(`FSC-H`))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|