metachat.tl.communication_responseGenes_keggEnrich
- metachat.tl.communication_responseGenes_keggEnrich(gene_list=None, gene_sets='KEGG_2021_Human', organism='Human')[source]
Function for performing KEGG enrichment analysis on a given list of response genes.
Parameters
- gene_list
A list of genes to be analyzed for enrichment. Default is None.
- gene_sets
The gene set database to use for enrichment analysis. Default is “KEGG_2021_Human”. For mouse, use ‘KEGG_2019_Mouse’.
- organism
The organism for which the gene sets are defined. Default is “Human”. For mouse, use ‘Mouse’.
Returns
- df_resultpandas.DataFrame
A DataFrame containing the results of the enrichment analysis.