omicverse.pl._plot_backend.stacking_vol¶
- omicverse.pl._plot_backend.stacking_vol(data_dict, color_dict, pval_threshold=0.01, log2fc_threshold=2, figsize=(8, 4), sig_color='#a51616', normal_color='#c7c7c7', plot_genes_num=10, plot_genes_fontsize=8, plot_genes_weight='bold')[source]¶
Create stacked volcano plots for comparing differential expression across multiple datasets.
- Parameters:
data_dict (Dictionary with DataFrames containing 'logfoldchanges', 'pvals_adj', 'names' columns.)
color_dict (Dictionary mapping dataset names to colors)
pval_threshold (P-value significance threshold (0.01))
log2fc_threshold (Log2 fold change threshold (2))
figsize (Figure size ((8,4)))
sig_color (Color for significant points ('#a51616'))
normal_color (Color for non-significant points ('#c7c7c7'))
plot_genes_num (Number of top genes to label (10))
plot_genes_fontsize (Font size for gene labels (8))
plot_genes_weight (Font weight for gene labels ('bold'))
- Return type:
- Returns:
Tuple of (figure, axes_dict)