Class: BELParser::Language::Version2_0::Relationships::ReactantIn

Inherits:
Object
  • Object
show all
Extended by:
Relationship
Defined in:
lib/bel_parser/language/version2_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 =
' +A reactantIn reaction(reactants(A),
roducts(B))+ -  This relationship links abundance
erms from the +reactants(<list>)+ in a reaction
o the reaction. This is a direct relationship
ecause it is a _self_ relationship. Reactants are
onsumed directly by a reaction. This relationship
s introduced by the BEL Compiler and may not be
sed by statements in BEL documents.'.freeze

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



37
38
39
# File 'lib/bel_parser/language/version2_0/relationships/reactant_in.rb', line 37

def self.description
  DESCRIPTION
end

.direct?Boolean

Returns:

  • (Boolean)


41
42
43
# File 'lib/bel_parser/language/version2_0/relationships/reactant_in.rb', line 41

def self.direct?
  true
end

.directed?Boolean

Returns:

  • (Boolean)


45
46
47
# File 'lib/bel_parser/language/version2_0/relationships/reactant_in.rb', line 45

def self.directed?
  true
end

.injected?Boolean

Returns:

  • (Boolean)


49
50
51
# File 'lib/bel_parser/language/version2_0/relationships/reactant_in.rb', line 49

def self.injected?
  true
end

.longObject



33
34
35
# File 'lib/bel_parser/language/version2_0/relationships/reactant_in.rb', line 33

def self.long
  LONG
end

.self?Boolean

Returns:

  • (Boolean)


53
54
55
# File 'lib/bel_parser/language/version2_0/relationships/reactant_in.rb', line 53

def self.self?
  true
end

.shortObject



29
30
31
# File 'lib/bel_parser/language/version2_0/relationships/reactant_in.rb', line 29

def self.short
  SHORT
end