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
Colormap
instance (e.g."magma
”,"viridis"
ormpl.cm.cividis
), seeget_cmap()
. IfNone
, the value ofmpl.rcParams["image.cmap"]
is used. The defaultcolor_map
can 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
ListedColormap
name ('Set2'
,'tab20'
, …), aCycler
object, 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
True
or 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
markers
for details.
- adata