getTitle-methods {KEGGgraph} | R Documentation

## Get title for given element

### Description

The methods get title attribute for given KGML element, for example for objects of `KEGGPathway-class` or `KEGGPathwayInfo-class`

### Methods

object = "KEGGPathway"

  An object of `KEGGPathway-class`

object = "KEGGPathwayInfo"

  An object of `KEGGPathwayInfo-class`

### Author(s)

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

### References

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

### Examples

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

    getTitle(pathway)

    pi <- getPathwayInfo(pathway)
    getTitle(pi)

[Package KEGGgraph version 1.40.0 Index]