scanpy.pl.dpt_groups_pseudotime#
- scanpy.pl.dpt_groups_pseudotime(adata, *, color_map=None, palette=None, show=None, save=None, marker='.')[source]#
Plot groups and pseudotime.
- Parameters:
- adata
AnnData Annotated data matrix.
- color_map
str|Colormap|None(default:None) Color map to use for continous variables. Can be a name or a
Colormapinstance (e.g."magma”,"viridis"ormpl.cm.cividis), seeget_cmap(). IfNone, the value ofmpl.rcParams["image.cmap"]is used. The defaultcolor_mapcan be set usingset_figure_params().- palette
Sequence[str] |Cycler|None(default:None) Colors to use for plotting categorical annotation groups. The palette can be a valid
ListedColormapname ('Set2','tab20', …), aCyclerobject, a dict mapping categories to colors, or a sequence of colors. Colors must be valid to matplotlib. (seeis_color_like()). IfNone,mpl.rcParams["axes.prop_cycle"]is used unless the categorical variable already has colors stored inadata.uns["{var}_colors"]. If provided, values ofadata.uns["{var}_colors"]will be set.- show
bool|None(default:None) Show the plot, do not return axis.
- save
bool|str|None(default:None) If
Trueor astr, save the figure. A string is appended to the default filename. Infer the filetype if ending on {'.pdf','.png','.svg'}.- marker
str|Sequence[str] (default:'.') Marker style. See
markersfor details.
- adata