Class: BELParser::Language::Version2_0::Relationships::Regulates

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

Overview

Regulates: A regulates B - For terms A and B, A regulates B or A reg B indicate that A is reported to have an effect on B, but information is missing about whether A increases B or A decreases B. This relationship provides more information than association, because the upstream entity (source term) and downstream entity (target term) can be assigned.

Constant Summary collapse

SHORT =
:reg
LONG =
:regulates
DESCRIPTION =
'+A regulates B+ - For terms A and B, A regulates
 or A reg B indicate that A is reported to
ave an effect on B, but information is missing
bout whether A increases B or A decreases
. This relationship provides more information
han association, because the upstream entity
source term) and downstream entity (target term)
an be assigned.'.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

.causal?Boolean

Returns:

  • (Boolean)


40
41
42
# File 'lib/bel_parser/language/version2_0/relationships/regulates.rb', line 40

def self.causal?
  true
end

.descriptionObject



36
37
38
# File 'lib/bel_parser/language/version2_0/relationships/regulates.rb', line 36

def self.description
  DESCRIPTION
end

.directed?Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/bel_parser/language/version2_0/relationships/regulates.rb', line 44

def self.directed?
  true
end

.longObject



32
33
34
# File 'lib/bel_parser/language/version2_0/relationships/regulates.rb', line 32

def self.long
  LONG
end

.shortObject



28
29
30
# File 'lib/bel_parser/language/version2_0/relationships/regulates.rb', line 28

def self.short
  SHORT
end