Mode neighbors
Mode neighbors: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). This PR introduces a mode neighbors which allows one to compute the KNN graph either on the distances or on the connectivities ,
The task
This PR introduces a `mode_neighbors` which allows one to compute the KNN graph either on the `distances` or on the `connectivities`,
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.