OboGraph Module
Functions for working with ontology-based FGraphs.
Functions and values
Function or value | Description |
Full Usage:
ontologyToFGraph onto
Parameters:
OboOntology
Returns: FGraph<string, OboTerm, ARCRelation>
|
Takes an OboOntology and returns an FGraph with OboTerms as nodes (with their ID as nodekey) and ARCRelations as Edges. The structure of the graph results from the TermRelations between the ontology's terms.
|
Full Usage:
ontologyToFGraphByName onto
Parameters:
OboOntology
Returns: FGraph<string, OboTerm, ARCRelation>
|
Takes an OboOntology and returns an FGraph with OboTerms as nodes (with their name as nodekey) and ARCRelations as Edges. The structure of the graph results from the TermRelations between the ontology's terms.
|
Full Usage:
tryToARCRelation termRelation
Parameters:
TermRelation<string>
Returns: (ARCRelation * OboTerm * OboTerm) option
|
Takes a TermRelation of string and returns the approbriate ARCRelation plus source term and target term as a triple. If the TermRelation is Empty or TargetMissing, returns None.
|