SC2Spa.bm.Vis_Euclidean

SC2Spa.bm.Vis_Euclidean(coord_ref: ~numpy.array, coord_pred: ~numpy.array, max_value: float, out_prefix='BM_figures_2/MH1/', figsize=(8, 6), s=3, xlim=[650, 5750], ylim=[650, 5750], cmap=<matplotlib.colors.ListedColormap object>, lim=False, save='SC2Spa')

Show the euclidean distance of the original and predicted locations of beads. Beads are colored by the distance.

Parameters

adata

A AnnData object. Cell type information is stored in adata.obs[ctname].

coord_ref

True coordinates of beads

coord_pred

Predicted coordinates of beads

s

size of beads in the figure

save

save the figure in out_prefix + save + ‘.png’ if save is not None

Returns

None