eschr.pl.smm_heatmap#
- eschr.pl.smm_heatmap(adata, features=None, smm_cmap='gray_r', feat_cmap='YlOrBr', show=True, output_path=None)#
Make a heatmap of soft cluster memberships.
- 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.
smm_cmap (str, default 'gray_r') – Color map for the soft membership matrix heatmap.
feat_cmap (str, default 'YlOrBr') – Color map for the selected features heatmap.
show (bool, default True) – Whether ot show the plot.
output_path (str, default None) – Path specifying where to save the plot. If none, plot is not saved.