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

R语言 ontoTools包 depthStruct()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-26 10:13:53 | 显示全部楼层 |阅读模式
depthStruct(ontoTools)
depthStruct()所属R语言包:ontoTools

                                        tools for manipulating depth concepts for rooted DAGs
                                         植根于DAG的深度概念的操纵工具

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

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

return a list of environments giving mapping from node name to rooted DAG depth and from depth to vector of names of nodes
返回一个节点名称映射到根深蒂固的DAG深度的环境和深度的向量节点的名称列表


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


depthStruct(rg)
ontoDepth(rg)
DMdepth(g, maxd)



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

参数:rg
rg: instance of class rootedDAG
RG:实例类rootedDAG


参数:g
rg: instance of class depth
RG:实例类的深度


参数:maxd
maxd: bound on depth to be measured
maxd:约束的深度来衡量


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

depthStruct: a list of two environments (see examples).
depthStruct:两个环境的名单(见例子)。


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

ontoDepth is the workhorse for depthStruct. DMdepth is a function that works on a plain graph, creating
ontoDepth是主力depthStruct。 DMdepth是一个普通的图上的功能,创造


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


Vince Carey <stvjc@channing.harvard.edu>



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


data(litOnto)
print(litOnto)
g1 <- new("rootedDAG", DAG=litOnto, root="A")
o1 <- new("ontology", name="demo", version="0.1",
        rDAG=g1)
print(ds <- depthStruct(g1))
ds$tag2depth("A")
ds$tag2depth("H")
ds$depth2tag(2)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-3-7 01:50 , Processed in 0.032843 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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