BAITS.st.pl.clustering_results#
- BAITS.st.pl.clustering_results(adata, cluster_column, color_dict, spot_size, plot=True)#
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).