I mistakenly did a Mantel test by permuting the values in a dissimilarity matrix, instead of the rows of the dissimilarity matrix. I've realized that this is not the Mantel test, but I don't understand the underlying distinction.
Can anybody explain why the rows must be permuted instead of the values within the matrix?