is_a property

Class: term

Read-only numeric array containing GO identifiers of GO terms that have an “is a” relationship with this GO term

Description

is_a is a read-only property of the term class. is_a is a column vector containing GO identifiers. These GO identifiers specify other term objects to which the term object has an “is a” relationship. The term object is an example of the term objects specified by its is_a property.

Values

Possible values are identifiers of GO terms from the Gene Ontology database. Use the is_a property to determine GO identifiers of GO terms that have an “is a” relationship with a specific GO term.

Examples

Example 84. Using the is_a Property to Determine term Objects with an “is a” Relationship
  1. Download the current version of the Gene Ontology database from the Web into a geneont object in the MATLAB® software.

    GeneontObj = geneont('LIVE', true)

    The MATLAB software creates a geneont object and displays the number of term objects associated with the geneont object.

    Gene Ontology object with 27769 Terms.
  2. Display the term objects to which the term object in the 18,703rd position has an “is a” relationship.

    GeneontObj.terms(18703).is_a
    
    ans =
    
           42754
           45187
           48521
           51241

Tip

You can also use the getancestors method of a geneont object with the 'Relationtype' property set to 'is_a' to determine term objects with an “is a” relationship.

Tip

If you know the GO identifier (for example, 42321) of a term object, instead of its index or position number (for example, 18703), you can use the following syntax to display the is_a property of a term object:

GeneontObj(42321).terms.is_a

For help converting the index or position number of a term object to its GO identifier, see the term.id property.