cospar.pl.embedding

cospar.pl.embedding(adata, basis='X_emb', color=None, cmap=<matplotlib.colors.LinearSegmentedColormap object>, **kwargs)

Scatter plot for user-specified embedding basis.

We imported embedding() for this purpose.

Parameters
adata : AnnData object

Assume to contain transition maps at adata.uns.

basis : str, optional (default: ‘X_emb’)

The embedding to use for the plot.

color : str, list of str, or None (default: None)

Keys for annotations of observations/cells or variables/genes, e.g., ‘state_info’, ‘time_info’,[‘Gata1’,’Gata2’]