class Bio::KEGG::KGML::Relation

Bio::KEGG::KGML::Relation contains a relation element in the KGML.

Attributes

entry1[RW]

the first entry of the relation (Integer or nil) (‘entry1’ attribute in ‘relation’ element)

entry2[RW]

the second entry of the relation (Integer or nil) (‘entry2’ attribute in ‘relation’ element)

name[RW]

interaction and/or relation type (String or nil). See www.genome.jp/kegg/xml/docs/ for details. (‘name’ attribute in ‘subtype’ element)

node1[RW]

the first entry of the relation (Integer or nil) (‘entry1’ attribute in ‘relation’ element)

node1=[RW]

the first entry of the relation (Integer or nil) (‘entry1’ attribute in ‘relation’ element)

node2[RW]

the second entry of the relation (Integer or nil) (‘entry2’ attribute in ‘relation’ element)

node2=[RW]

the second entry of the relation (Integer or nil) (‘entry2’ attribute in ‘relation’ element)

rel[RW]

type of this relation (String or nil). Normally one of the following:

  • “ECrel”

  • “PPrel”

  • “GErel”

  • “PCrel”

  • “maplink”

(‘type’ attribute in ‘relation’ element)

rel=[RW]

type of this relation (String or nil). Normally one of the following:

  • “ECrel”

  • “PPrel”

  • “GErel”

  • “PCrel”

  • “maplink”

(‘type’ attribute in ‘relation’ element)

type[RW]

type of this relation (String or nil). Normally one of the following:

  • “ECrel”

  • “PPrel”

  • “GErel”

  • “PCrel”

  • “maplink”

(‘type’ attribute in ‘relation’ element)

value[RW]

interaction and/or relation information (String or nil). See www.genome.jp/kegg/xml/docs/ for details. (‘value’ attribute in ‘subtype’ element)

Public Instance Methods

edge() click to toggle source

(Deprecated?)

    # File lib/bio/db/kegg/kgml.rb
465 def edge
466   @value.to_i
467 end