phlower.tl.trajs_dm

phlower.tl.trajs_dm(adata, evector_name: str | None = None, M_flatten: str | ndarray = 'full_traj_matrix_flatten', embedding='umap', eigen_n: int = -1, iscopy=False)
adata: AnnData

AnnData object

evector_name: str

the L1 decomposed eigen vectors from the graph_name, adata.uns[“graph_basis”] + “_triangulation_circle_L1Norm_decomp_vector” by default if None

embedding: str

the embedding for visualize the clustering results, “umap” by default

eigen_n: int

the number of eigen vectors to use, if -1, use find_knee out

iscopy: bool

whether to return a copy of adata or not, False by default