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:
- Returns:
- A new
JunctionDataobject with tracks associated with the specified ontology term.
- A new
- Raises:
ValueError – If the metadata does not contain an ‘ontology_curie’ column.