scFates.pl.trajectory_3d

Contents

scFates.pl.trajectory_3d#

scFates.pl.trajectory_3d(adata, basis='umap3d', color=None, traj_width=5, cell_size=2, figsize=(900, 900), cmap=None)#

Project trajectory onto 3d embedding.

Parameters:
adata AnnData

Annotated data matrix.

basis str (default: 'umap3d')

Name of the obsm basis to use.

color Optional[str] (default: None)

cells color.

traj_width int (default: 5)

segments width.

cell_size int (default: 2)

cell size.

figsize tuple (default: (900, 900))

figure size in pixels.

cmap default: None

colormap of the cells.

Returns:

an interactive plotly graph figure.