Class: BELParser::Language::Version1_0::Relationships::IsA
- Inherits:
-
Object
- Object
- BELParser::Language::Version1_0::Relationships::IsA
show all
- Extended by:
- Relationship
- Defined in:
- lib/bel_parser/language/version1_0/relationships/is_a.rb
Overview
IsA: A isA B - For terms A and B, A isA B indicates that A is a subset of B. All terms in BEL represent classes, but given that classes implicitly have instances, one can also interpret A isA B to mean that any instance of A must also be an instance of B. This relationship can be used to represent GO and MeSH hierarchies: pathology(MESH:Psoriasis) isA pathology(MESH:“Skin Diseases”)
Constant Summary
collapse
- SHORT =
:isA
- LONG =
:isA
- DESCRIPTION =
<<-DOC
IsA: +A isA B+ - For terms A and B, +A isA B+ indicates
that A is a subset of B. All terms in BEL represent classes,
but given that classes implicitly have instances, one can
also interpret +A isA B+ to mean that any instance of A must
also be an instance of B. This relationship can be used to
represent GO and MeSH hierarchies: +pathology(MESH:Psoriasis)
isA pathology(MESH:"Skin Diseases")+
DOC
Class Method Summary
collapse
==, =~, causal?, correlative?, decreasing?, deprecated?, description, direct?, directed?, genomic?, increasing?, indirect?, injected?, listable?, long, self?, short, to_h, to_s, to_sym
Class Method Details
.description ⇒ Object
39
40
41
|
# File 'lib/bel_parser/language/version1_0/relationships/is_a.rb', line 39
def self.description
DESCRIPTION
end
|
.directed? ⇒ Boolean
43
44
45
|
# File 'lib/bel_parser/language/version1_0/relationships/is_a.rb', line 43
def self.directed?
true
end
|
.long ⇒ Object
35
36
37
|
# File 'lib/bel_parser/language/version1_0/relationships/is_a.rb', line 35
def self.long
LONG
end
|
.short ⇒ Object
31
32
33
|
# File 'lib/bel_parser/language/version1_0/relationships/is_a.rb', line 31
def self.short
SHORT
end
|