Consider the Mantel test or Procrustes analysis