alphagenome.data.ontology.OntologyTerm#

class alphagenome.data.ontology.OntologyTerm(type, id)[source]#

A single biological ontology term.

type#

The ontology type.

id#

The ID of the term within the ontology.

Attributes#

Table

ontology_curie

Returns the CURIE (Compact Uniform Resource Identifier) for the term.

type

id

OntologyTerm.ontology_curie#

Returns the CURIE (Compact Uniform Resource Identifier) for the term.

OntologyTerm.type: OntologyType#
OntologyTerm.id: int#

Methods#

Table

to_proto()

Converts the ontology term to a protobuf message.

OntologyTerm.to_proto()[source]#

Converts the ontology term to a protobuf message.

Return type:

OntologyTerm