getGate(flowWorkspace)
getGate()所属R语言包:flowWorkspace
Return the flowCore gate definition associated with a node in a GatingHierarchy.
返回的flowCore的门定义了节点在GatingHierarchy。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Return the flowCore gate definition object associated with a node in a GatingHierarchy object.
GatingHierarchy对象中的一个节点,返回flowCore门定义对象。
用法----------Usage----------
## S4 method for signature 'GatingHierarchy,character'
getGate(obj, y)
## S4 method for signature 'GatingHierarchy,numeric'
getGate(obj, y,tsort=FALSE)
## S4 method for signature 'GatingSet,numeric'
getGate(obj, y,tsort=FALSE)
参数----------Arguments----------
参数:obj
A GatingHierrarchy or GatingSet
一个GatingHierrarchy或GatingSet
参数:y
A character when obj is a GatingHierarchy: the name of the node of interest. Or, a numeric when obj is either a GatingHierarchy or GatingSet. An index into the node list of nodes in the GatingHierarchy or GatingSet.
一个character时obj是一个GatingHierarchy:感兴趣的节点的名称。或numeric当obj一个GatingHierarchy或GatingSet的。到节点GatingHierarchy或GatingSet的节点列表的索引。
参数:tsort
TRUE|FALSE if true, return the index y will access the nodes in topological sort order.
TRUE|FALSE如果属实,返回指数y将在拓扑排序顺序访问节点。
值----------Value----------
A gate object from flowCore. Usually a polygonGate, but may be a rectangleGate. Boolean gates are represented by a "BooleanGate" S3 class. This is a list boolean gate definition that references populations in the GatingHierarchy and how they are to be combined logically. If obj is a GatingSet, assuming the trees associated with each GatingHierarchy are identical, then this method will return a list of gates, one for each sample in the GatingSet corresponding to the same population indexed by y.
从flowCore门的对象。通常是polygonGate,但可能是一个rectangleGate。布尔门都代表一个"BooleanGate"S3类。这是列表在GatingHierarchy和如何引用人群,他们将结合逻辑布尔门的定义。如果obj是的GatingSet,假设与树木的每个GatingHierarchy是相同的,那么此方法将返回一个列表门,每个样品的GatingSet相应y索引相同人口。
注意----------Note----------
You should not have to deal with boolean gates. It is sufficient to retrieve the contents of a boolean gate node with getData.
你不应该有处理布尔盖茨。这是足够的检索与getData一个布尔门节点的内容。
作者(S)----------Author(s)----------
Greg Finak <a href="mailto:gfinak@fhcrc.org">gfinak@fhcrc.org</a>
参考文献----------References----------
参见----------See Also----------
getData getNodes
getDatagetNodes
举例----------Examples----------
## Not run: #G is a GatingHierarchy[#无法运行:#G是1 GatingHierarchy]
getGate(G,5,tsort=TRUE) #return the gate for the fifth node in the tree.[返回树中的第五个节点的大门。]
getGate(G,getNodes(G,tsort=TRUE)[5]) #return the gate for the fifth node in the tree, but fetch it by name.[返回树中的第五个节点的门,但它的名字取。]
#G is a GatingSet[G是1 GatingSet]
getGate(G,5,tsort=TRUE) #return a list of gates for the fifth node in each tree, assuming topological sort ordering.[返回的大门在每棵树的第五个节点列表,假设拓扑排序顺序。]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|