You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
neighbors(method="gauss") returns a non-symmetric connectivity matrix on the sparse (pynndescent / transformer) path #4416
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of scanpy.
(optional) I have confirmed this bug exists on the main branch of scanpy.
What happened?
The Gaussian kernel of Coifman & Lafon / Haghverdi et al. used by method="gauss" is symmetric, W[i, j] = W[j, i], and _connectivity.gauss explicitly symmetrises the kNN pattern ("compute the symmetric weight matrix"). sc.tl.diffmap / sc.tl.dpt build transitions_sym from these connectivities and assume a symmetric kernel.
Activity