I'm attempting to run RDA on a SNP dataset to search for effects of isolation-by-distance (IBD). The script I have now (Meirmans, 2015: Article Seven common mistakes in population genetics and how to avoid them

) takes geographic coordinates and transforms them. After some pushback from reviewers, I decided to calculate pairwise geographic distances between sampling localities using marmap (R package).

Is there a way to run RDA on a SNP dataset with a matrix of pairwise geographic distances? I can find online guides and practice sets that deal with environmental variables, but I'm having trouble figuring out how to apply these examples to pairwise geographic distances. Is this even appropriate?

I'm running Mantel tests as well. That's been easy-peasy.

More Sean Canfield's questions See All
Similar questions and discussions