crested.pl.heatmap.correlations_self#
- crested.pl.heatmap.correlations_self(adata, log_transform=False, vmin=None, vmax=None, **kwargs)#
Plot self correlation heatmaps of ground truth for different cell types.
- Parameters:
adata (
AnnData
) – AnnData object containing the data inX
and predictions inlayers
.model_names – List of model names to plot for predictions heatmap. Default is to plot all models in
adata.layers
.log_transform (
bool
(default:False
)) – Whether to log-transform the data before plotting.vmin (
Optional
[float
] (default:None
)) – Minimum value for heatmap color scale.vmax (
Optional
[float
] (default:None
)) – Maximum value for heatmap color scale.kwargs – Additional arguments passed to
render_plot()
to control the final plot output. Please seerender_plot()
for details.
See also
Examples
>>> crested.pl.heatmap.correlations_self( ... adata, log_transform=True, title="Self correlations heatmap" ... )