logTransform(flowCore)
logTransform()所属R语言包:flowCore
Create the definition of a log transformation function (base specified by user) to be applied on a data set
创建数据集上应用log转换函数的定义(由用户指定的碱基)
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Create the definition of the log Transformation that will be applied on some parameter via the transform method. The definition of this function is currently x<-log(x,logbase)*(r/d). The transformation would normally be used to convert to a linear valued parameter to the natural logarithm scale. Typically r and d are both equal to 1.0. Both must be positive. logbase = 10 corresponds to base 10 logarithm.
创建的log转型将通过transform方法适用于某些参数上的定义。这个函数的定义,是目前X <log(X,logbase)*(R / D)。转型通常会被用来转换为线性值参数的自然对数刻度。通常情况下,R和D等于1.0。两者都必须是积极的。 logbase = 10对应的基数为10的对数。
用法----------Usage----------
logTransform(transformationId="defaultLogTransform", logbase=10, r=1, d=1)
参数----------Arguments----------
参数:transformationId
character string to identify the transformation
字符串,以确定改造
参数:logbase
positive double that corresponds to the base of the logarithm.
正面双对应的对数的底数。
参数:r
positive double that corresponds to a scale factor.
正面双对应一个比例因子。
参数:d
positive double that corresponds to a scale factor
正面双对应一个比例因子
值----------Value----------
Returns an object of class transform.
类transform返回一个对象。
作者(S)----------Author(s)----------
B. Ellis, N. LeMeur
参见----------See Also----------
transform-class, transform
transform-class,transform
举例----------Examples----------
samp <- read.FCS(system.file("extdata",
"0877408774.B08", package="flowCore"))
logTrans <- logTransform(transformationId="log10-transformation", logbase=10, r=1, d=1)
dataTransform <- transform(samp,`FSC-H`=logTrans(`FSC-H`))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|