pilotpy.pl.heatmaps
- pilotpy.pl.heatmaps(adata, figsize=(12, 12), col_cluster=True, row_cluster=True, cmap='Blues_r', font_scale=2)
Plot heatmaps of cost matrix and Wasserstein distances.
Parameters
- adataAnnData
Annotated data matrix containing annotations, cost matrix, and Wasserstein distances.
- figsizetuple, optional
Figure size for heatmap, by default (12,12).
- col_clusterbool, optional
Whether to cluster the columns, by default True.
- row_clusterbool, optional
Whether to cluster the rows, by default True.
- cmapstr, optional
Colormap for the heatmaps, by default ‘Blues_r’.
- font_scaleint, optional
Font scale for labels and annotations, by default 2.
Returns
- None
Plots and saves heatmaps of the cost matrix and Wasserstein distances.