Class: BELParser::Language::Version1_0::Relationships::HasVariant

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

Overview

HasVariant: p(A) hasVariant p(A, sub(G, 12, V)) - This relationship links abundance terms modified by the substitution(), fusion(), or truncation() functions to the unmodified abundance term. This relationship is introduced by the BEL Compiler and does not need to be used by statements in BEL documents.

Constant Summary collapse

SHORT =
:hasVariant
LONG =
:hasVariant
DESCRIPTION =
' +p(A) hasVariant p(A, sub(G, 12, V))+ -  This
elationship links abundance terms modified by the
substitution()+, +fusion()+, or +truncation()+
unctions to the unmodified abundance term. This
elationship is introduced by the BEL Compiler
nd does not need to be used by statements in
EL 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



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

def self.description
  DESCRIPTION
end

.direct?Boolean

Returns:

  • (Boolean)


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

def self.direct?
  true
end

.directed?Boolean

Returns:

  • (Boolean)


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

def self.directed?
  true
end

.injected?Boolean

Returns:

  • (Boolean)


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

def self.injected?
  true
end

.longObject



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

def self.long
  LONG
end

.shortObject



27
28
29
# File 'lib/bel_parser/language/version1_0/relationships/has_variant.rb', line 27

def self.short
  SHORT
end