Header menu logo arc-validate

OboGraph Module

Functions for working with ontology-based FGraphs.

Functions and values

Function or value Description

ontologyToFGraph onto

Full Usage: ontologyToFGraph onto

Parameters:
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.

onto : OboOntology
Returns: FGraph<string, OboTerm, ARCRelation>

ontologyToFGraphByName onto

Full Usage: ontologyToFGraphByName onto

Parameters:
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.

onto : OboOntology
Returns: FGraph<string, OboTerm, ARCRelation>

tryToARCRelation termRelation

Full Usage: tryToARCRelation termRelation

Parameters:
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.

termRelation : TermRelation<string>
Returns: (ARCRelation * OboTerm * OboTerm) option

Type something to start searching.