scanpy.Neighbors.transitions_sym

property Neighbors.transitions_sym: ndarray | csr_matrix | None

Symmetrized transition matrix (sparse matrix).

Is conjugate to the transition matrix via:

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

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