quadGate-class(flowCore)
quadGate-class()所属R语言包:flowCore
Class "quadGate"
类“quadGate”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Class and constructors for quadrant-type filter objects.
象限型filter对象类和构造。
用法----------Usage----------
quadGate(..., .gate, filterId="defaultQuadGate")
参数----------Arguments----------
参数:filterId
An optional parameter that sets the filterId of this filter. The object can later be identified by this name.
一个可选的参数设置,这个filterIdfilter。对象可以在以后确定了这个名字。
参数:.gate
A definition of the gate for programmatic access. This can be either a named list or a named numeric vector, as described below.
门编程访问的定义。这可以是一个命名的列表或一个名为数字向量,如下所述。
参数:...
The parameters of quadGates can also be directly described using named function arguments, as described below.
quadGates参数,也可以直接使用命名函数参数,如下所述。
Details
详情----------Details----------
quadGates are defined by two parameters, which specify a separation of a two-dimensional parameter space into four quadrants. The quadGate function is designed to be useful in both direct and programmatic usage:
quadGates是指由两个参数,其中指定一个两维参数空间的分离,分为四个象限。 quadGate函数的设计是直接和纲领性的使用有用:
For the interactive use, these parameters can be given as additional named function arguments, where the names correspond to valid parameter names in a flowFrame or flowSet. For a more programmatic approach, a named list or numeric vector of the gate boundaries can be passed on to the function as argument .gate.
对于交互使用,这些参数可以得到额外的命名函数参数,其中的名称对应flowFrame或flowSet有效的参数名。一个编程方法,一个名为列表或数字向量门边界可以被传递给函数作为参数.gate。
Evaluating a quadGate results in four sub-populations, and hence in an object of class multipleFilterResult. Accordingly, quadGates can be used to split flow cytometry data sets.
评价四个亚群quadGate结果,因此在类multipleFilterResult的对象。因此,quadGates可以用来分裂流式单元仪的数据集。
值----------Value----------
Returns a quadGate object for use in filtering flowFrames or other flow cytometry objects.
使用过滤quadGates或其他流式单元仪检测对象返回一个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----------
boundary: Object of class "numeric", length
boundary类"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("quadGate", ...) or using the constructor quadGate. The latter is the recommended way of object instantiation:
对象可以创建检测形式new("quadGate", ...)或使用的构造quadGate。后者则是对象实例的推荐方式:
方法----------Methods----------
%in% signature(x = "flowFrame", table = "quadGate"): The workhorse used to evaluate the gate on data. This is usually not called directly by the user, but
在%signature(x = "flowFrame", table = "quadGate"):用来评估数据门的主力。这通常不是直接调用的用户,但
show signature(object = "quadGate"): Print
显示signature(object = "quadGate"):打印
注意----------Note----------
See the documentation in the flowViz package for plotting of quadGates.
看到图flowVizquadGates包的文档。
作者(S)----------Author(s)----------
F.Hahne, B. Ellis N. Le Meur
参见----------See Also----------
flowFrame, flowSet, filter for evaluation of quadGates and split for splitting of flow cytometry data sets based on that.
flowFrame,flowSet,filter评价quadGates和split流式单元仪数据集,在此基础上的分裂。
举例----------Examples----------
## Loading example data[#载入数据为例]
dat <- read.FCS(system.file("extdata","0877408774.B08",
package="flowCore"))
## Create directly. Most likely from a command line[#直接创建。最有可能从一个命令行]
quadGate(filterId="myQuadGate1", "FSC-H"=100, "SSC-H"=400)
## To facilitate programmatic construction we also have the following[#为了便于我们也有以下的纲领性建设]
quadGate(filterId="myQuadGate2", list("FSC-H"=100, "SSC-H"=400))
## FIXME: Do we want this?[#FIXME:为我们想要这个?]
##quadGate(filterId="myQuadGate3", .gate=c("FSC-H"=100, "SSC-H"=400))[#quadGate(filterId =的“myQuadGate3”。门= C(“FSC-H的”100“,SSC-H的”= 400))]
## Filtering using quadGates[#过滤使用quadGates]
qg <- quadGate(filterId="quad", "FSC-H"=600, "SSC-H"=400)
fres <- filter(dat, qg)
fres
summary(fres)
names(fres)
## The result of quadGate filtering are multiple sub-populations[#quadGate过滤的结果是多个子种群]
## and we can split our data set accordingly[#我们可以分裂我们的数据进行相应的设置]
split(dat, fres)
## We can limit the splitting to one or several sub-populations[#我们可以限制一个或几个子群体的分裂]
split(dat, fres, population="FSC-H-SSC-H-")
split(dat, fres, population=list(keep=c("FSC-H-SSC-H-",
"FSC-H-SSC-H+")))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|