getSubtype-methods {KEGGgraph} | R Documentation

## Get subtype

### 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"
  ~~describe this method here
object = "KEGGEdge"
  ~~describe this method here

### Author(s)

Jitao David Zhang mailto:j.zhang@dkfz.de

### References

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

### Examples

    sfile <- system.file("extdata/hsa04010.xml",package="KEGGgraph")
    pathway <- parseKGML(sfile)

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

[Package KEGGgraph version 1.1.0 Index]