mira.tl.fetch_ontology#
- mira.tl.fetch_ontology(list_id, ontology='WikiPathways_2019_Human')#
Fetch enrichment results from an ontology.
- Parameters
- list_idstr
genelist ID returned by post_genelist
- onotologystr, default = “WikiPathways_2019_Human”
Retrieve results for this ontology. For a full list of ontologies, see Enrichr.
- Returns
- resultsdict
Dictionary with schema:
{ <ontology> : { [ {'rank' : <rank>, 'term' : <term>, 'pvalue' : <pval>, 'zscore': <zscore>, 'combined_score': <combined_score>, 'genes': [<gene1>, ..., <geneN>], 'adj_pvalue': <adj_pval>}, ..., ] } }