So I have 50 samples, for which I have data on the chemical composition, and the spatial coordinates.
With those, I created a Bray-Curtis dissimilarity matrix of the chemical similarity between samples, and a distance matrix based on the spatial coordinates (Euclidean distances).
I would like to plot the similarity of each pair of sample according to the spatial distance between them.
Is there a way to do that in R ?
I did create Mantel correlograms based on those data, but I would also like a basic visualisation of the evolution of pairwise similarity with the spatial distance.