Last data update: 2014.03.03

R: Class "KEGGPathwayInfo"
KEGGPathwayInfo-classR Documentation

Class "KEGGPathwayInfo"

Description

A class to represent information of a KEGG pathway

Objects from the Class

Objects can be created by calls of the function parsePathwayInfo.

Slots

name:

Object of class "character" Pathway name

org:

Object of class "character" Organism

number:

Object of class "character" Number

title:

Object of class "character" Title of the pathway

image:

Object of class "character" Image URL

link:

Object of class "character" URL Link

Methods

getTitle

signature(object = "KEGGPathwayInfo"): get title of the pathway

show

signature(object = "KEGGPathwayInfo"): show method

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)
pi <- getPathwayInfo(pathway)

class(pi)

getTitle(pi)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(KEGGgraph)

Attaching package: 'KEGGgraph'

The following object is masked from 'package:graphics':

    plot

> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/KEGGgraph/KEGGPathwayInfo-class.Rd_%03d_medium.png", width=480, height=480)
> ### Name: KEGGPathwayInfo-class
> ### Title: Class "KEGGPathwayInfo"
> ### Aliases: KEGGPathwayInfo-class getTitle,KEGGPathwayInfo-method
> ###   show,KEGGPathwayInfo-method
> ### Keywords: classes
> 
> ### ** Examples
> 
> sfile <- system.file("extdata/hsa04010.xml",package="KEGGgraph")
> pathway <- parseKGML(sfile)
> pi <- getPathwayInfo(pathway)
> 
> class(pi)
[1] "KEGGPathwayInfo"
attr(,"package")
[1] "KEGGgraph"
> 
> getTitle(pi)
[1] "MAPK signaling pathway"
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>