filter_by_ontology

filter_by_ontology#

JunctionData.filter_by_ontology(ontology_curie)[source]#

Filters tracks by ontology term.

Parameters:

ontology_curie (str) – The ontology term CURIE to filter by.

Return type:

JunctionData

Returns:

A new JunctionData object with tracks associated with the specified

ontology term.

Raises:

ValueError – If the metadata does not contain an ‘ontology_curie’ column.