subGraphByNodeType(KEGGgraph)
subGraphByNodeType()所属R语言包:KEGGgraph
Subset KEGG graph by node types
节点类型的子集KEGG图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The function subsets KEGG graph by node types, mostly used in extracting gene networks.
KEGG节点类型,主要用于中提取的基因网络的图形功能子集。
用法----------Usage----------
subGraphByNodeType(graph, type = "gene", kegg=TRUE)
参数----------Arguments----------
参数:graph
A KEGG graph object produced by calling parseKGML2Graph
一个KEGG的图形对象,通过调用parseKGML2Graph生产
参数:type
node type, see KEGGNodeType for details
节点的类型,看到KEGGNodeType详情
参数:kegg
logical, should the KEGG Node and Edge attributes be maintained during the subsetting? By default set to 'TRUE'
逻辑,应该保持的的KEGG节点和边缘属性在该子集?默认设置为“真”
值----------Value----------
A subgraph of the original graph
一子的原始图
作者(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")
sGraph <- parseKGML2Graph(sfile,expandGenes=TRUE, genesOnly=FALSE)
sGraphGene <- subGraphByNodeType(sGraph, type="gene")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|