default_namespace property

Class: geneont

Read-only string containing namespace to which GO terms are assigned


default_namespace is a read-only property of the geneont class. default_namespace is a string containing the ontology namespace to which the GO terms are assigned.


Currently, gene_ontology is the only possible namespace. However, other namespaces may be used in the future. Use this namespace information to determine the ontology namespace to which the GO terms in a geneont object are assigned.


  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 namespace associated with the GO terms of the geneont object.

    ans =
Was this topic helpful?