Allow to set k neighors in perplexity based affinity
Allow to set k neighors in perplexity based affinity: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Allow to set k neighors in perplexity based affinity
The task
**Title:** Allow to set k_neighors in perplexity based affinity
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.