找回密码
 注册
查看: 434|回复: 0

R语言 flowCore包 norm2Filter-class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 17:45:46 | 显示全部楼层 |阅读模式
norm2Filter-class(flowCore)
norm2Filter-class()所属R语言包:flowCore

                                        Class "norm2Filter"
                                         类“norm2Filter”

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Class and constructors for a filter that fits a bivariate normal distribution to a data set of paired values and selects data points according to their standard deviation from the fitted distribution.
filter类和构造适合二元正态分布成对值的数据集,并选择数据点,根据他们从拟合分布的标准偏差。


用法----------Usage----------



norm2Filter(x, y, method="covMcd", scale.factor=1, n=50000,
filterId="defaultNorm2Filter")




参数----------Arguments----------

参数:x,y
Characters giving the names of the measurement parameter on which the filter is supposed to work on. y can be missing in which case x is expected to be a character vector of length 2 or a list of characters.  
字符给过滤器应该工作的测量参数的名称。 y可缺少的,在这种情况下x预计是一个长度为2个或一个字符列表的特征向量。


参数:filterId
An optional parameter that sets the filterId slot of this filter. The object can later be identified by this name.
一个可选参数,设置filterId此过滤器的插槽。对象可以在以后确定了这个名字。


参数:scale.factor, n
Numerics of length 1, used to set the scale.factor and n slots of the object.  
长度为1的数字,用于设置scale.factor和n对象的插槽。


参数:method
Character in covMcd or cov.rob, used to set the method slot of the object.  
八字covMcd或cov.rob,用于设置method对象插槽。


Details

详情----------Details----------

The filter fits a bivariate normal distribution to the data and selects all events within the Mahalanobis distance multiplied by the scale.factor argument. The constructor norm2Filter is a convenience function for object instantiation. Evaluating a curv2Filter results in an object of class logicalFilterResult. Accordingly, norm2Filters can be used to subset and to split flow cytometry data sets.
过滤器适合二元正态分布的数据,并选择乘以scale.factor参数的马氏距离内的所有事件。构造norm2Filter是一个对象实例化的便利功能。评价对象类curv2FilterlogicalFilterResult结果。因此,norm2Filters可以使用子集和分裂流式单元仪的数据集。


值----------Value----------

Returns a norm2Filter object for use in filtering flowFrames or other flow cytometry objects.
使用过滤norm2Filters或其他流式单元仪检测对象返回一个flowFrame对象。


延伸----------Extends----------

Class "parameterFilter", directly.
类"parameterFilter",直接。

Class "concreteFilter", by class parameterFilter, distance 2.
类"concreteFilter"类parameterFilter,距离2。

Class "filter", by class parameterFilter, distance 3.
类"filter"类parameterFilter,距离3。


插槽----------Slots----------




method: One of covMcd or cov.rob
method或covMcd cov.rob:




scale.factor: Numeric vector giving factor of standard deviations used for data selection (all points within
scale.factor:数字矢量数据选择(所有点内使用的标准偏差的因素




n: Object of class "numeric", the number of events used to compute the covariance matrix of the bivariate
n:对象类"numeric",用来计算协方差矩阵的二元事件的数量




filterId: Object of class "character"
filterId类"character":对象




parameters: Object of class "ANY" describing the parameters used to filter the flowFrame or
parameters:Object类的"ANY"描述用于过滤参数flowFrame


类的对象----------Objects from the Class----------

Objects can be created by calls of the form new("norm2Filter",     ...) or using the constructor norm2Filter. The constructor is the recommended way of object instantiation:
对象可以创建检测形式new("norm2Filter",     ...)或使用的构造norm2Filter。构造函数是对象实例的推荐方式:


方法----------Methods----------




%in% signature(x = "flowFrame", table =         "norm2Filter"): The workhorse used to evaluate the filter on data. This is usually not called directly by the user, but
在%signature(x = "flowFrame", table =         "norm2Filter"):主力用来评估对数据的过滤器。这通常不是直接调用的用户,但




show signature(object = "norm2Filter"): Print
显示signature(object = "norm2Filter"):打印


注意----------Note----------

See the documentation in the flowViz package for plotting of norm2Filters.
看到图flowViznorm2Filters包的文档。


作者(S)----------Author(s)----------


F. Hahne



参见----------See Also----------

cov.rob, CovMcd, filter for evaluation of norm2Filters and split and Subsetfor splitting and subsetting of flow cytometry data sets based on that.
cov.rob,CovMcd,filternorm2Filters和split和Subset分裂和流式单元仪数据的子集设置此基础上的评估。


举例----------Examples----------



## Loading example data[#载入数据为例]
dat <- read.FCS(system.file("extdata","0877408774.B08",
package="flowCore"))

## Create directly. Most likely from a command line[#直接创建。最有可能从一个命令行]
norm2Filter("FSC-H", "SSC-H", filterId="myCurv2Filter")

## To facilitate programmatic construction we also have the following[#为了便于我们也有以下的纲领性建设]
n2f <- norm2Filter(filterId="myNorm2Filter", x=list("FSC-H", "SSC-H"),
scale.factor=2)
n2f <- norm2Filter(filterId="myNorm2Filter", x=c("FSC-H", "SSC-H"),
scale.factor=2)

## Filtering using norm2Filter[#过滤使用norm2Filter]
fres <- filter(dat, n2f)
fres
summary(fres)

## The result of norm2 filtering is a logical subset[#norm2过滤的结果是一个逻辑子集]
Subset(dat, fres)

## We can also split, in which case we get those events in and those[#我们也可以分裂,在这种情况下,我们得到这些事件和那些]
## not in the gate as separate populations[#而不是作为单独的种群门]
split(dat, fres)


转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-9 05:18 , Processed in 0.019029 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表