scatlastb_utils.metrics.plot_distances_scatter

scatlastb_utils.metrics.plot_distances_scatter#

scatlastb_utils.metrics.plot_distances_scatter(adata, x1, x2, **kwargs)#

Diagnostic plot for distance computation.

This function plots the average distances and differences between two embeddings in a scatter plot.

Parameters:
  • adata – AnnData object containing the distances in obs

  • x1 – name of the graph distances of the first embedding

  • x2 – name of the graph distances of the second embedding

  • kwargs – additional keyword arguments for the plt.scatter plot, e.g. c, s, alpha