scanpy.Neighbors.compute_transitions

Neighbors.compute_transitions(density_normalize=True)

Compute transition matrix.

Parameters
density_normalize : bool (default: True)

The density rescaling of Coifman and Lafon (2006): Then only the geometry of the data matters, not the sampled density.

Returns

Makes attributes .transitions_sym and .transitions available.