GOBO::DBIC::GODBModel::GraphT2T
This graph should probably be sub-classed as an ontology, and the connecting and abstract bits should be shifted around.
NOTE: This uses term2term as the primary engine and should be considered deprecated.
- new
- get_roots
-
Returns the root nodes.
- is_root_p
-
Boolean on acc.
- get_term
-
Gets a term from a string.
TODO: should be able to take string or object.
- get_children
-
In: acc. Out: Children term list.
TODO: should be able to take string or object.
- get_relationship
-
In: acc, acc. Out: int.
TODO: should be able to take string or object.
- get_child_relationships
-
Takes term. Gets the term2term links from a term.
- get_parent_relationships
-
Takes term. Gets the term2term links from a term.
- climb
-
With an array ref of terms, will climb to the top of the ontology (with an added 'all' stopper for GO).
This returns an array of three things: *) a link list *) a term (node) *) a hashref of of nodes in terms of in-graph descendants
TODO: should also be able to take array ref of strings...
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 24:
'=item' outside of any '=over'
=over without closing =back