tooluniverse.enrichr_tool moduleΒΆ
- class tooluniverse.enrichr_tool.EnrichrTool(tool_config)[source]ΒΆ
Bases:
BaseTool
Tool to perform gene enrichment analysis using Enrichr.
- build_graph(genes, enrichment_results)[source]ΒΆ
Initialize and build the graph with gene nodes and enriched terms.
- get_enrichment_results(user_list_id, library)[source]ΒΆ
Fetch enrichment results for a specific library.
- get_official_gene_name(gene_name)[source]ΒΆ
Retrieve the official gene symbol for a given gene name or synonym using the MyGene.info API.
- rank_paths_by_weight(G, source, target)[source]ΒΆ
Find and rank paths between source and target based on total edge weight.