Gene Ontology¶
-
class
NetExplorer.models.gene_ontology.
GeneOntologyEnrichment
¶ Class used for GeneOntology Enrichment.
-
goe
¶ GOEA object from goatools that contains the analysis performed.
- Type
GOEnrichmentStudy
-
results
¶ Records with overrepresented GO terms
- Type
list of GOEnrichmentRecord
-
get_enriched_gos
(gene_symbols)¶ Gets the enriched GO terms in a list of gene symbols.
- Parameters
gene_symbols (str) – Human gene symbols to compute enrichment for.
- Returns
- Records with overrepresented
GO terms if available, otherwise None.
- Return type
list of GOEnrichmentRecord or None
-
get_go_list
()¶ Gets list of GO terms formatted for further use.
- Returns
- Formatted string with gene ontology data (accession, level,
depth, Name, domain) separated by commas. Each line (“n”) corresponds to a different GO term.
- Return type
str
-
get_plots
()¶ Returns plots for GO analysis.
- Returns
- base64: Dictionary with the three plots (keys: ‘BP’, ‘CC’, and ‘MF’)
generated by goatools, encoded as base64 binary strings.
- Return type
dict of str
-