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

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

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

                                        Class "polygonGate"
                                         类“polygonGate”

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

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

Class and constructor for 2-dimensional polygonal filter objects.
2维多边形filter对象的类和构造。


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



polygonGate(..., .gate, boundaries, filterId="defaultPolygonGate")




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

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


参数:.gate, boundaries
A definition of the gate. This can be either a list or a named matrix as described below. Note the argument boundaries is deprecated and will go away in the next release.
门的定义。这可以是一个列表或一个名为矩阵如下所述。注意参数的边界已被废弃,将在下一个版本中。


参数:...
You can also directly describe a gate without wrapping it in a list or matrix, as described below.  
你也可以直接描述一个门,没有包裹在一个列表或矩阵,如下所述。


Details

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

Polygons are specified by the coordinates of their vertices in two dimensions. The constructor is designed to be useful in both direct and programmatic usage. It takes either a list or a named matrix with 2 columns and at least 3 rows containing these coordinates. Alternatively, vertices can be given as named arguments, in which case the function tries to convert the values into a matrix.
多边形指定其顶点坐标在两个方面。构造设计,直接和纲领性的使用是有用的。它需要一个列表或一个2列和至少3行包含这些坐标命名的矩阵。另外,顶点可以作为命名的参数,在这种情况下,该函数尝试转换成一个矩阵值。


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

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




boundaries: Object of class "matrix". The vertices of the polygon in two dimensions. There need to be at
boundaries类"matrix"的对象。在两个层面的多边形的顶点。有需要在




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("polygonGate",     ...) or by using the constructor polygonGate. Using the constructor is the recommended way of object instantiation:
对象可以创建形式new("polygonGate",     ...)来电或使用的构造polygonGate。使用构造对象实例的推荐方式:


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




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




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


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

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


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


F.Hahne, B. Ellis N. Le Meur



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

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


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



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

## Defining the gate[#定义的门]
sqrcut <- matrix(c(300,300,600,600,50,300,300,50),ncol=2,nrow=4)
colnames(sqrcut) <- c("FSC-H","SSC-H")
pg <- polygonGate(filterId="nonDebris", boundaries= sqrcut)
pg

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

## The result of polygon 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 01:40 , Processed in 0.029513 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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