[adegenet-forum] individual geographic distances vs population geographic distances

Jombart, Thibaut t.jombart at imperial.ac.uk
Tue Jan 6 16:20:36 CET 2015


Hi there,

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.

Cheers
Thibaut


________________________________
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)
BUT
I cannot calculate geographic distances among populations (as I only have individual coordinates in the $other$xy slot of my genuine/genepop object)

any suggestion?

many thanks in advance

Massi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20150106/20f76b4d/attachment.html>


More information about the adegenet-forum mailing list