translateKEGGgraph(KEGGgraph)
translateKEGGgraph()所属R语言包:KEGGgraph
Tranlate the KEGG graph from being indexed by KEGGID to another
Tranlate KEGG从索引KEGGID的图到另一个
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The function translates the KEGG graph into a graph of equivalant topology while index with unique identifiers given by user. The new identifiers could be, for example, GeneSymbol or other identifiers mapped to KEGGID.
而由用户的唯一标识符指数函数转换成一个等效拓扑图KEGG图。新的标识符可能,例如,GeneSymbol或其他标识符映射到KEGGID。
用法----------Usage----------
translateKEGGgraph(graph, newNodes)
参数----------Arguments----------
参数:graph
A KEGG graph
一个KEGG图
参数:newNodes
A character vector giving the new nodes, must be of the same length and same order of the nodes of the given graph
一个字符的向量,赋予新的节点,必须是相同的长度和给定的图形节点的顺序相同
Details
详情----------Details----------
The function is still experimental and users are welcomed to report any difficulties
的功能仍然是实验性和用户的欢迎报告任何困难
值----------Value----------
Another graph indexed by the given identifier
给定标识符索引的另一个图
作者(S)----------Author(s)----------
Jitao David Zhang <jitao_david.zhang@roche.com>
举例----------Examples----------
sfile <- system.file("extdata/hsa04010.xml",package="KEGGgraph")
gR <- parseKGML2Graph(sfile,expandGenes=TRUE)
subG <- subKEGGgraph(c("hsa:1848","hsa:1432","hsa:2002","hsa:8986"),gR)
symbols <- c("DUSP6","MAPK14","ELK1","RPS6KA4")
sub2G <- translateKEGGgraph(subG, symbols)
sub2G
nodes(sub2G)
if(require(Rgraphviz) & interactive()) {
plot(sub2G, "neato")
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|