scatrans.pl.active_score_rankplot

scatrans.pl.active_score_rankplot#

scatrans.pl.active_score_rankplot(results_df, top_n=20, save_path=None, ax=None, dpi=300, show=True, use_style=False, **kwargs)[source]#

Horizontal ranked barplot of top active scores (publication-friendly).

Improvements inspired by omicverse bulk/perturbation ranked visualizations: - Gradient coloring by active_score magnitude. - Clean outward-offset spines. - Value annotations on bars. - Good ax= embedding support and constrained layout.

For richer single-gene context prefer pl.comet_plot or pl.volcano_plot.

Parameters: