function tripal_get_chado_semweb_term

3.x tripal_chado.DEPRECATED.api.inc tripal_get_chado_semweb_term($chado_table, $chado_column, $options = array())

Retrieves the term that maps to the given Chado table and field.

Parameters

$chado_table: The name of the Chado table.

$chado_column: The name of the Chado field.

$options: An associative array of one or more of the following keys: -return_object: Set to TRUE to return the cvterm object rather than the string version of the term.

Return value

Returns a string-based representation of the term (e.g. SO:0000704). If the 'return_object' options is provided then a cvterm object is returned. returns NULL if no term is mapped to the table and column.

File

tripal_chado/api/tripal_chado.DEPRECATED.api.inc, line 357
These api functions are deprecated, if your site is currently using them please update your code with the newer tripal_chado functions.

Code

function tripal_get_chado_semweb_term($chado_table, $chado_column, $options = array()) {
  chado_get_semweb_term($chado_table, $chado_column, $options);
}