scatrans.concat_compare_results#
- scatrans.concat_compare_results(results, cluster_col='Cluster')[source]#
Combine already-computed per-group enrichment results into a compare-style DataFrame.
Each input must be a result from run_enrichment / run_kegg / run_go / run_gsea (or similar). The keys (or first element of tuple) become the “Cluster” value.
This lets users who manually looped over contrasts easily get a single table with “Cluster” column for plotting.