scviva.pl.harreman.local_correlation_plot#
- scviva.pl.harreman.local_correlation_plot(adata, mod_cmap='tab10', vmin=-10, vmax=10, z_cmap='RdBu_r', yticklabels=False, use_super_modules=False, show=True)[source]#
Plot a hierarchical-clustered heatmap of pairwise correlation Z-scores.
- Parameters:
- adata
AnnData AnnData object containing: -
uns['lc_zs']: DataFrame of pairwise correlation Z-scores -uns['modules']oruns['super_modules']-uns['linkage']: scipy linkage matrix- mod_cmap str, default "tab10"
Colormap for module color annotations.
- vmin float, default -10 and 10, respectively
Limits for the heatmap color scale.
- vmax float, default -10 and 10, respectively
Limits for the heatmap color scale.
- z_cmap str, default "RdBu_r"
Colormap for the Z-score heatmap.
- yticklabels bool, default False
Whether to show y-axis tick labels.
- use_super_modules bool, default False
Whether to use
uns['super_modules']instead ofuns['modules'].- show bool, default True
If
True, display the plot.
- adata