A function to obtain the local neighbors based on dissimilarity matrices from orthogonal projections.
Useful links