B_HIT.st.pl.clustering_results

B_HIT.st.pl.clustering_results#

B_HIT.st.pl.clustering_results(adata, cluster_column, color_dict=None, spot_size=50)#

Plots the clustering results, displaying the cluster labels for each data point using the specified colors.

Parameters:
  • adata (AnnData object) – containing spatial information and clustering labels.

  • cluster_column (-) – the name of the column containing the cluster labels.(eg. the name of the column in use_rep in cluster_Auto_k)

  • color_dict (-) – a dictionary specifying the color for each cluster label (optional).

  • spot_size (-) – the size of the data points (default is 50).