filter_ontology_terms#
- Output.filter_ontology_terms(ontology_terms)[source]#
Filters tracks to specific ontology terms.
- Parameters:
ontology_terms (
Iterable[OntologyTerm]) – An iterable ofOntologyTermobjects to filter to.- Return type:
- Returns:
A new
Outputobject with only the tracks associated with the specified ontology terms.