getParent(flowWorkspace)
getParent()所属R语言包:flowWorkspace
Return the name of the parent population of the current population in the GatingHierarchy
返回在当前人口母体名称的GatingHierarchy
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Returns the name of the parent population of the current population in the given GatingHierarchy
返回当前人口母体的名称,在给定的GatingHierarchy
用法----------Usage----------
## S4 method for signature 'GatingHierarchy,character'
getParent(obj, y)
## S4 method for signature 'GatingHierarchy,numeric'
getParent(obj, y, tsort=FALSE)
参数----------Arguments----------
参数:obj
A GatingHierarchy
一个GatingHierarchy
参数:y
The population whose parent you want to retrieve, either character or numeric
您要检索其母公司的人口,无论是character或numeric
参数:tsort
logical If TRUE, nodes are ordered by topological sort. Important when comparing across identical trees and using numeric indices. Default FALSE.
logical如果是TRUE,节点拓扑排序排列。比较各相同的树木和使用数字指标时的重要。默认为false。
值----------Value----------
Returns a character vector, the name of the parent population.
返回character向量,母体的名称。
作者(S)----------Author(s)----------
Greg Finak <a href="mailto:gfinak@fhcrc.org">gfinak@fhcrc.org</a>
参考文献----------References----------
参见----------See Also----------
getChildren
getChildren
举例----------Examples----------
## Not run: [#无法运行:]
#G is a gatinghierarchy[G是1 gatinghierarchy]
#return the name of the parent of the fifth node in the hierarchy.[返回层次结构中的第五个节点的父的名字。]
getParent(G,getNodes(G,tsort=TRUE)[5])
## End(Not run)[#结束(不运行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|