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

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

[复制链接]
发表于 2012-2-25 23:00:32 | 显示全部楼层 |阅读模式
subKEGGgraph(KEGGgraph)
subKEGGgraph()所属R语言包:KEGGgraph

                                         Subset KEGG graph, including subsetting node and edge attributes
                                         的子集的KEGG图,包括子集的节点和边的属性

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

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

subKEGGgraph extends generic method subGraph and subsets the KEGG graph. Both 'subKEGGgraph' and 'subGraph' can be used to subset the graph, the difference lies in whether the node and edge attributes from KEGG are also subset (subKEGGgraph) or not (subGraph).
subKEGGgraph扩展泛型方法subGraph亚群的KEGG图。这两个“subKEGGgraph和子可以使用子集图,不同之处在于是否KEGG的节点和边缘属性子集(subKEGGgraph)或不(subGraph)。

See details below.
详见下文。


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


subKEGGgraph(nodes, graph)



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

参数:nodes
Node names to subset
节点名的子集


参数:graph
A graph parsed from KGML files, produced by parseKGML2Graph, KEGGpathway2Graph or parseKGMLexpandMaps
KGML文件解析的图形,由parseKGML2Graph生产KEGGpathway2Graph或parseKGMLexpandMaps


Details

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

subGraph does not subset the node or edge attributes, hence the results of getKEGGnodeData and getKEGGedgeData does not map to the nodes and edges in the subgraph in a one-to-one manner, with attributes of removed nodes and edges still remaining in the subGraph.
subGraph不子集节点或边的属性,因此getKEGGnodeData和getKEGGedgeData不映射到节点和子的边缘,一到一地,结果删除的节点和边的属性仍保持在子。

subKEGGgraph calls subGraph first to subset the graph, and then it also subsets the KEGGnodeData and KEGGedgeData so that they are one-to-one mapped to the nodes and edges in the subgraph.
subKEGGgraph要求subGraph第一图的子集,那么它也亚群KEGGnodeData和KEGGedgeData,使他们一到映射到节点和子的边缘。


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

A graph with nodeData and edgeData.
图与nodeData和edgeData。


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


Jitao David Zhang <a href="mailto:jitao_david.zhang@roche.com">mailto:jitao_david.zhang@roche.com</a>



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


sfile <- system.file("extdata/hsa04010.xml",package="KEGGgraph")
gR <- parseKGML2Graph(sfile,expandGenes=TRUE)
subs <-  c("hsa:1432",edges(gR)$`hsa:1432`,"hsa:5778","hsa:5801",
"hsa:84867","hsa:11072","hsa:5606","hsa:5608","hsa:5494","hsa:5609")
gR.keggsub <- subKEGGgraph(subs, gR)
gR
gR.keggsub

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-5 06:01 , Processed in 0.029205 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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