, vkey='velocity', basis=None, backward=False, self_transitions=True, scale=10, perc=None, use_negative_cosines=False, weight_diffusion=0, scale_diffusion=1, weight_indirect_neighbors=None, n_neighbors=None, vgraph=None)

Computes transition probabilities from velocity graph

adata : AnnData

Annotated data matrix.

vkey : str (default: ‘velocity’)

Name of velocity estimates to be used.

basis : str or None (default: None)

Restrict transition to embedding if specified

backward : bool (default: False)

Whether to use the transition matrix to push forward (False) or to pull backward (True)

scale : float (default: 10)

Scale parameter of gaussian kernel.

weight_diffusion : float (default: 0)

Relative weight to be given to diffusion kernel (Brownian motion)

scale_diffusion : float (default: 1)

Scale of diffusion kernel.


Returns sparse matrix with transition probabilities.