scFates.pl.binned_pseudotime_meta

scFates.pl.binned_pseudotime_meta(adata, key, nbins=20, rotation=0, show_colorbar=False, rev=False, cmap='viridis', ax=None, show=None, save=None)

Plot a dot plot of proportion of cells from a given category over binned sections of pseudotime.

Parameters
adata

Annotated data matrix.

key

category to study.

nbins : int (default: 20)

Number of pseudotime bin to generate.

rotation : int (default: 0)

rotaton of the category labels.

show_colorbar : bool (default: False)

display pseudotime colorbar.

cmap

colormap of the pseudotime cbar.

show : bool | NoneOptional[bool] (default: None)

show the plot.

save : str | bool | NoneUnion[str, bool, None] (default: None)

save the plot.

Returns

Return type

If show==False a tuple of Axes