Description Usage Arguments Value Author(s) Examples
The function subsets KEGG graph by node types, mostly used in extracting gene networks.
1 | subGraphByNodeType(graph, type = "gene", kegg=TRUE)
|
graph |
A KEGG graph object produced by calling |
type |
node type, see |
kegg |
logical, should the KEGG Node and Edge attributes be maintained during the subsetting? By default set to 'TRUE' |
A subgraph of the original graph
Jitao David Zhang mailto:jitao_david.zhang@roche.com
1 2 3 | sfile <- system.file("extdata/hsa04010.xml",package="KEGGgraph")
sGraph <- parseKGML2Graph(sfile,expandGenes=TRUE, genesOnly=FALSE)
sGraphGene <- subGraphByNodeType(sGraph, type="gene")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.