eschr.pl.umap_heatmap#
- eschr.pl.umap_heatmap(adata, features=None, cat_palette='tab20', cont_palette='viridis_r', show=True, output_path=None, **kwargs)#
Make UMAP plot colored by hard clusters and confidence scores.
- Parameters:
adata (
anndata.AnnData) – AnnData object containing results from running ESCHR clustering.features (list of str, default None) – Option to specify specific features to plot, if None then the method will calulate marker features for each cluster and plot those.
cat_cmap (str, default 'tab20') – Color map for categorical features.
cont_cmap (str, default 'viridis') – Color map for continuous features.
show (bool, default True) – Whether to show the plot.
output_path (str, default None) – Path specifying where to save the plot. If none, plot is not saved.
**kwargs – Args to pass along to matplotlib scatterplot.