Mantel tests are widely used in ecology to assess the significance of the relationship between two distance matrices computed between pairs of samples. However, recent studies demonstrated that the presence of spatial autocorrelation in both distance …