lnTransform(flowCore)
lnTransform()所属R语言包:flowCore
Create the definition of a ln transformation function (natural logarthim) to be applied on a data set
被应用于数据集创建一个LN转换功能(自然科学logarthim)的定义
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Create the definition of the ln Transformation that will be applied on some parameter via the transform method. The definition of this function is currently x<-log(x)*(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.
创建的的LN转型将通过transform方法适用于某些参数上的定义。这个函数的定义是目前X <log(X)*(R / D)。转型通常会被用来转换为线性值参数的自然对数刻度。通常情况下,R和D等于1.0。两者都必须是积极的。
用法----------Usage----------
lnTransform(transformationId="defaultLnTransform", r=1, d=1)
参数----------Arguments----------
参数:transformationId
character string to identify the transformation
字符串,以确定改造
参数: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 and N. LeMeur
参见----------See Also----------
transform-class, transform
transform-class,transform
举例----------Examples----------
data(GvHD)
lnTrans <- lnTransform(transformationId="ln-transformation", r=1, d=1)
ln1 <- transform(GvHD,`FSC-H`=lnTrans(`FSC-H`))
opar = par(mfcol=c(2, 1))
plot(density(exprs(GvHD[[1]])[ ,1]), main="Original")
plot(density(exprs(ln1[[1]])[ ,1]), main="Ln Transform")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|