stlearn.spatial.trajectory.pseudotimespace_global

stlearn.spatial.trajectory.pseudotimespace_global(adata: anndata._core.anndata.AnnData, use_label: str = 'louvain', list_cluster: list = [], w: float = None, step=0.01, k=10) → Optional[anndata._core.anndata.AnnData]

Perform pseudo-time-space analysis with global level.

Parameters
  • adata – Annotated data matrix.

  • use_label – Use label result of clustering method.

  • list_cluster – List of cluster used to reconstruct spatial trajectory.

  • w – Weighting factor to balance between spatial data and gene expression

  • step – Step for screeing weighting factor

  • k – The number of eigenvalues to be compared

Returns

Return type

Anndata