keggDF2graph(keggorthology)
keggDF2graph()所属R语言包:keggorthology
create a graph from a specific data frame format
创建一个从一个特定的数据框格式图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
create a graph from a specific data frame format for KEGG orthology
创建一个从一个特定的数据框格式KEGG直向图
用法----------Usage----------
keggDF2graph(df, root="KO.June07root")
data(KOgraph)
参数----------Arguments----------
参数:df
the data frame
数据框
参数:root
a name for root node
根节点的名称
Details
详情----------Details----------
the obvious directed graph structure from root to leaf nodes (pathway names) is instantiated for the orthology, nodeData attribute tag is loaded with the numerical tag for the term in KEGG, and nodeData attribute depth is loaded with depth from root
明显的有向图结构,从根到叶节点(通路名称)为直向实例被加载,nodeData属性标记为术语在KEGG数值标签,从根深度加载和nodeData属性深入
Based on keggorthology read of KEGG orthology, March 2 2010. Specifically, we run wget on ftp://ftp.genome.jp/pub/kegg/brite/ko/ko00001.keg and use parsing and modeling code given in inst/keggHTML to generate a data frame respecting the hierarchy, and then keggDF2graph to construct the graph.
基于对keggorthology读KEGG直向,2010年3月2日。具体来说,我们运行的wget的ftp://ftp.genome.jp/pub/kegg/brite/ko/ko00001.keg和使用解析和建模INST / keggHTML的代码生成一个数据框尊重层次上,然后 keggDF2graph构造图。
值----------Value----------
a graphNEL-class instance
graphNEL-class实例
注意----------Note----------
This is only a support function. The graph is
这仅仅是一个支持功能。图
作者(S)----------Author(s)----------
Vince Carey <stvjc@channing.harvard.edu>
举例----------Examples----------
data(keggOrthDF)
keggOrthDF[1:5,]
data(KOgraph)
nodes(KOgraph)[1:4]
nodeData(KOgraph,,"tag")[1:5]
nodeData(KOgraph,,"depth")[1:5]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|