scanpy.Neighbors.transitions

property Neighbors.transitions: ndarray | csr_matrix

Transition matrix (sparse matrix).

Is conjugate to the symmetrized transition matrix via:

self.transitions = self.Z *  self.transitions_sym / self.Z

where self.Z is the diagonal matrix storing the normalization of the underlying kernel matrix.

Notes

This has not been tested, in contrast to transitions_sym.