Manage GSEA Analysis for a Specific Level
manage_gsea_level.Rd
This function manages the GSEA analysis for a specific level. It extracts genes associated with the clustered hits, removes rows with `NA` values, and runs the GSEA analysis using the `create_gsea_report` function.
Arguments
- clustered_hits
A dataframe containing the clustered hits for a specific level. It must include a column named `feature` to extract genes.
- level_name
A character string representing the name of the level.
- databases
A list of databases for the gene set enrichment analysis.
- clusterProfiler_params
Additional parameters for the GSEA analysis, default is NA. Those include adj_p_value, pAdjustMethod, etc (see clusterProfiler documentation).
- universe
Enrichment background data, default is NULL.