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

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

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

                                        Class "ellipsoidGate"
                                         类“ellipsoidGate”

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

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

Class and constructor for n-dimensional ellipsoidal filter objects.
n维椭球filter对象的类和构造。


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



ellipsoidGate(..., .gate, mean, distance=1, filterId="defaultEllipsoidGate")




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

参数:filterId
An optional parameter that sets the filterId of this gate.
一个可选的参数,设置了这个门filterId。


参数:.gate
A definition of the gate via a covariance matrix.  
通过协方差矩阵定义的大门。


参数:mean
Numeric vector of equal length as dimensions in .gate.
在.gate尺寸数值向量长度相等。


参数:distance
Numeric scalar giving the Mahalanobis distance defining the size of the ellipse. This mostly exists for compliance reasons to the gatingML standard as mean and gate should already uniquely define the ellipse. Essentially, distance is merely a factor that gets applied to the values in the covariance matrix.
数字标马氏距离定义大小的椭圆。这主要存在遵守的原因的gatingML标准mean和gate应该已经唯一定义的椭圆。从本质上讲,distance只不过是一个被应用在协方差矩阵的值的因素。


参数:...
You can also directly describe the covariance matrix through named arguments, as described below.  
您也可以直接通过命名参数描述的协方差矩阵,如下所述。


Details

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

A convenience method to facilitate the construction of a ellipsoid filter objects. Ellipsoid gates in n dimensions (n >= 2) are specified by a a covarinace matrix and a vector of mean values giving the center of the ellipse.
一个方便的方法,以促进建设1椭球filter对象。 n维椭球在门(N> = 2)指定由AA covarinace矩阵和椭圆中心的平均值向量。

This function is designed to be useful in both direct and programmatic usage. In the first case, simply describe the covariance matrix through named arguments. To use this function programmatically, you may pass a covarince matrix and a mean vector directly, in which case the parameter names are the colnames of the matrix.
此功能是有用的直接和纲领性的使用。在第一种情况下,只需通过命名参数的协方差矩阵描述。编程要使用此功能,您可以通过的covarince矩阵和均值向量直接,在这种情况下,参数名称是矩阵colnames的。


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

Returns a ellipsoidGate object for use in filtering flowFrames or other flow cytometry objects.
使用过滤ellipsoidGates或其他流式单元仪检测对象返回一个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----------




mean: Objects of class "numeric". Vector giving
mean类"numeric":对象。矢量给予




cov: Objects of class "matrix". The covariance
cov类"matrix":对象。协方差




distance: Objects of class "numeric". The
distance类"numeric":对象。 “




parameters: Object of class "character",
parameters:Object类的"character",




filterId: Object of class "character",
filterId:Object类的"character",


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

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


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




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




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


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

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


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


F.Hahne, B. Ellis, N. LeMeur



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

flowFrame, polygonGate, rectangleGate, polytopeGate, filter for evaluation of rectangleGates and split and Subsetfor splitting and subsetting of flow cytometry data sets based on that.
flowFrame,polygonGate,rectangleGate,polytopeGate,filterrectangleGates和split和Subset评价设置基础上,分裂和流式单元仪数据的子集。


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



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

## Defining the gate[#定义的门]
cov <- matrix(c(6879, 3612, 3612, 5215), ncol=2,
dimnames=list(c("FSC-H", "SSC-H"), c("FSC-H", "SSC-H")))
mean <- c("FSC-H"=430, "SSC-H"=175)
eg <- ellipsoidGate(filterId= "myEllipsoidGate", .gate=cov, mean=mean)

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

## The result of ellipsoid filtering is a logical subset[#椭球过滤的结果是一个逻辑子集]
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 03:44 , Processed in 0.021573 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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