partipy.barplot_enrichment_comparison#
- partipy.barplot_enrichment_comparison(specific_processes_arch)#
Plots a grouped bar plot comparing enrichment scores across archetypes for a given set of features.
- Parameters:
specific_processes_arch (
pd.DataFrame) – Output fromextract_specific_processes. Must contain a ‘Process’ column, a ‘specificity’ score, and one column per archetype with enrichment values.- Returns:
plotnine.ggplot.ggplot A grouped bar plot visualizing the enrichment scores for the specified features across archetypes.”