[adegenet-forum] individual geographic distances vs population geographic distances
t.jombart at imperial.ac.uk
Tue Jan 6 16:20:36 CET 2015
it has been discussed on this forum recently. Check "process.other" in ?genind2genpop: it will allow you to define the xy coords of your populations as the mean of the individual coordinates.
From: adegenet-forum-bounces at lists.r-forge.r-project.org [adegenet-forum-bounces at lists.r-forge.r-project.org] on behalf of Virgilio Massimiliano [massimiliano.virgilio at africamuseum.be]
Sent: 06 January 2015 15:15
To: adegenet-forum at lists.r-forge.r-project.org
Subject: [adegenet-forum] individual geographic distances vs population geographic distances
Hi and happy new year everybody!
I’m trying to perform a Mantel’s test on populations rather than individuals:
- I converted my genind data to a genepop object (genind2genpop)
- I could calculate genetic distances among populations (dist.genpop)
I cannot calculate geographic distances among populations (as I only have individual coordinates in the $other$xy slot of my genuine/genepop object)
many thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the adegenet-forum