topomics.pl.spatial

Contents

topomics.pl.spatial#

topomics.pl.spatial(adata, color=None, cmap=None, frameon=None, title=None, wspace=None, hspace=0.25, palette=None, colorbar_loc='right', size=1, basis='spatial', vmax=None, ncols=4, layer=None, show=True, *args, **kwargs)#

A faster simple function that uses sc.pl.embedding to plot for non-visium data so it dont take too long. ~sleep. Very inflexible.

Args:

adata (_type_): Annotated data matrix. color (_type_): Keys for annotations of observations/cells or variables/genes size (int, optional): size of spots. Defaults to 1. basis (str, optional): basis in obsm. Defaults to “spatial”. vmax (str, optional): The value representing the upper limit of the color scale. Defaults to “p99”. show (bool, optional): Show the plot, do not return axis. Defaults to True.

Returns:

_type_: A plot