truncateTransform(flowCore)
truncateTransform()所属R语言包:flowCore
Create the definition of a truncate transformation function to be applied on a data set
被应用于数据集创建一个截断的转换函数的定义
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Create the definition of the truncate Transformation that will be applied on some parameter via the transform method. The definition of this function is currently x[x<a] <- a. Hence, all values less than a are replaced by a. The typical use would be to replace all values less than 1 by 1.
创建截断转型将通过transform方法适用于某些参数上的定义。这个函数的定义是目前X [X <A] < - 一个。因此,所有的值比取代。典型的使用将取代所有值小于1。
用法----------Usage----------
truncateTransform(transformationId="defaultTruncateTransform", a=1)
参数----------Arguments----------
参数:transformationId
character string to identify the transformation
字符串,以确定改造
参数:a
double that corresponds to the value at which to truncate
翻一番,对应的值截断
值----------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"))
truncateTrans <- truncateTransform(transformationId="Truncate-transformation", a=5)
dataTransform <- transform(samp,`FSC-H`=truncateTrans(`FSC-H`))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|