getType-methods: Get type attribute

Description Methods Author(s) References Examples

Description

This method can be used to extract generic type attribute from several objects implemented in KEGGgraph package.

The meanings and descriptions of the types can be found at KGML manual listed in the reference.

Methods

object = "KEGGEdge"

An object of KEGGEdge-class

object = "KEGGNode"

An object of KEGGNode-class

object = "KEGGReaction"

An object of KEGGReaction-class

Author(s)

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

References

KGML Manual http://www.genome.jp/kegg/docs/xml/

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
mapfile <- system.file("extdata/map00260.xml", package="KEGGgraph")
maptest <- parseKGML(mapfile)

## node type
node <- nodes(maptest)[[3]]
getType(node)

## edge type
edge <- edges(maptest)[[5]]
getType(edge)

## reaction type
reaction <- getReactions(maptest)[[5]]
getType(reaction)

KEGGgraph documentation built on May 20, 2017, 9:33 p.m.

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

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

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

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