This module provides a set of functions to simplify working with controlled vocabularies. Most of the API functions deal with retrieving terms or their parent vocabularies.
However, the API also supports generation of trees for browsing a vocabulary as well as generation of pie graphs for display of hierarchical counts of terms. Version 0.3b of Tripal provides a feature browser and a feature summary chart uses the API functions provided here. But in general charts and trees can be created for any controlled vocabulary.
api/ tripal_cv.api.inc, line 8
- This module provides a set of functions to simplify working with controlled vocabularies.
||This function is intended to be used in autocomplete forms for searching for CV terms that begin with the provided string|
||Retrieves a chado controlled vocabulary variable|
||Retrieves a chado controlled vocabulary term variable|
||Create an options array to be used in a form element which provides a list of all chado cvterms|
||Create an options array to be used in a form element which provides a list of all chado cvs|
||Adds a controlled vocabular to the CV table of Chado.|
||Add the OBO to the tripal_cv_obo table in the Drupal database.|
||This function allows other modules to programatically submit an ontology for loading into Chado.|
||Updates the cvtermpath table of Chado for the specified CV.|