getSubtype-methods: Get subtype

Description Methods Author(s) References Examples

Description

KEGG stores sub-type of interactions between entities in the KGML files, which can be extracted with this method. The descriptions for the subtypes can be explored at the KGML document manual in the references.

See KEGGEdge-class for examples. The method for graphs is a wrapper to extract all subtype information from one graph.

Methods

object = "graph"

A graph object of KEGGgraph. The method returns a list of subtypes in the same order of edges

object = "KEGGEdge"

An object of KEGGEdge, which stores the subtype information

Author(s)

Jitao David Zhang mailto:jitao_david.zhang@roche.com

References

KGML Document manual http://www.genome.jp/kegg/docs/xml/

Examples

1
2
3
4
5
6
sfile <- system.file("extdata/hsa04010.xml",package="KEGGgraph")
pathway <- parseKGML(sfile)

edges <- edges(pathway)
subtype <- getSubtype(edges[[1]])
subtype


Search within the KEGGgraph package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.