filter_ontology_terms

filter_ontology_terms#

Output.filter_ontology_terms(ontology_terms)[source]#

Filters tracks to specific ontology terms.

Parameters:

ontology_terms (Iterable[OntologyTerm]) – An iterable of OntologyTerm objects to filter to.

Return type:

Output

Returns:

A new Output object with only the tracks associated with the specified ontology terms.