stlearn.pl.non_spatial_plot

stlearn.pl.non_spatial_plot(adata: AnnData, use_label: str = 'louvain') Optional[AnnData][source]

A wrap function to plot all the non-spatial plot from scanpy.

This function will produce 3 plots: PAGA graph, cluster plot in PAGA space and DPT in PAGA space.

Parameters:
  • adata – Annotated data matrix.

  • use_label – Use label result of cluster method.

  • dpi – Set dpi as the resolution for the plot.

Return type:

Nothing