Class: BELParser::Language::Version1_0::Relationships::ReactantIn

Inherits:
Object
  • Object
show all
Extended by:
Relationship
Defined in:
lib/bel_parser/language/version1_0/relationships/reactant_in.rb

Overview

ReactantIn: A reactantIn reaction(reactants(A), products(B)) - This relationship links abundance terms from the reactants(<list>) in a reaction to the reaction. This is a direct relationship because it is a self relationship. Reactants are consumed directly by a reaction. This relationship is introduced by the BEL Compiler and may not be used by statements in BEL documents.

Constant Summary collapse

SHORT =
:reactantIn
LONG =
:reactantIn
DESCRIPTION =
"ReactantIn:  +A reactantIn reaction(reactants(A),\nproducts(B))+ -  This relationship links abundance\nterms from the +reactants(<list>)+ in a reaction to the\nreaction. This is a direct relationship because it is a\n_self_ relationship. Reactants are consumed directly by a\nreaction. This relationship is introduced by the BEL Compiler\nand may not be used by statements in BEL documents.\n"

Class Method Summary collapse

Methods included from Relationship

==, =~, causal?, correlative?, decreasing?, deprecated?, description, direct?, directed?, genomic?, increasing?, indirect?, injected?, listable?, long, self?, short, to_h, to_s, to_sym

Class Method Details

.descriptionObject



39
40
41
# File 'lib/bel_parser/language/version1_0/relationships/reactant_in.rb', line 39

def self.description
  DESCRIPTION
end

.direct?Boolean



43
44
45
# File 'lib/bel_parser/language/version1_0/relationships/reactant_in.rb', line 43

def self.direct?
  true
end

.directed?Boolean



47
48
49
# File 'lib/bel_parser/language/version1_0/relationships/reactant_in.rb', line 47

def self.directed?
  true
end

.injected?Boolean



51
52
53
# File 'lib/bel_parser/language/version1_0/relationships/reactant_in.rb', line 51

def self.injected?
  true
end

.longObject



35
36
37
# File 'lib/bel_parser/language/version1_0/relationships/reactant_in.rb', line 35

def self.long
  LONG
end

.self?Boolean



55
56
57
# File 'lib/bel_parser/language/version1_0/relationships/reactant_in.rb', line 55

def self.self?
  true
end

.shortObject



31
32
33
# File 'lib/bel_parser/language/version1_0/relationships/reactant_in.rb', line 31

def self.short
  SHORT
end