Class: Bio::KEGG::KGML::Relation
Overview
Bio::KEGG::KGML::Relation contains a relation element in the KGML.
Instance Attribute Summary collapse
-
#entry1 ⇒ Object
(also: #node1)
the first entry of the relation (Integer or nil) (‘entry1’ attribute in ‘relation’ element).
-
#entry2 ⇒ Object
(also: #node2)
the second entry of the relation (Integer or nil) (‘entry2’ attribute in ‘relation’ element).
-
#name ⇒ Object
interaction and/or relation type (String or nil).
-
#type ⇒ Object
(also: #rel)
type of this relation (String or nil).
-
#value ⇒ Object
interaction and/or relation information (String or nil).
Instance Method Summary collapse
-
#edge ⇒ Object
(Deprecated?).
Instance Attribute Details
#entry1 ⇒ Object Also known as: node1
the first entry of the relation (Integer or nil) (‘entry1’ attribute in ‘relation’ element)
429 430 431 |
# File 'lib/bio/db/kegg/kgml.rb', line 429 def entry1 @entry1 end |
#entry2 ⇒ Object Also known as: node2
the second entry of the relation (Integer or nil) (‘entry2’ attribute in ‘relation’ element)
436 437 438 |
# File 'lib/bio/db/kegg/kgml.rb', line 436 def entry2 @entry2 end |
#name ⇒ Object
interaction and/or relation type (String or nil). See www.genome.jp/kegg/xml/docs/ for details. (‘name’ attribute in ‘subtype’ element)
457 458 459 |
# File 'lib/bio/db/kegg/kgml.rb', line 457 def name @name end |
#type ⇒ Object Also known as: rel
type of this relation (String or nil). Normally one of the following:
-
“ECrel”
-
“PPrel”
-
“GErel”
-
“PCrel”
-
“maplink”
(‘type’ attribute in ‘relation’ element)
449 450 451 |
# File 'lib/bio/db/kegg/kgml.rb', line 449 def type @type end |
#value ⇒ Object
interaction and/or relation information (String or nil). See www.genome.jp/kegg/xml/docs/ for details. (‘value’ attribute in ‘subtype’ element)
462 463 464 |
# File 'lib/bio/db/kegg/kgml.rb', line 462 def value @value end |
Instance Method Details
#edge ⇒ Object
(Deprecated?)
465 466 467 |
# File 'lib/bio/db/kegg/kgml.rb', line 465 def edge @value.to_i end |