<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" style="word-wrap:break-word; color:rgb(0,0,0); font-size:14px; font-family:Calibri,sans-serif">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi there,
<br>
<br>
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.
<br>
<br>
Cheers<br>
Thibaut<br>
<div><br>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText"><br>
</div>
</span></font></div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF739186"><font face="Tahoma" size="2" color="#000000"><b>From:</b> adegenet-forum-bounces@lists.r-forge.r-project.org [adegenet-forum-bounces@lists.r-forge.r-project.org] on behalf of Virgilio Massimiliano [massimiliano.virgilio@africamuseum.be]<br>
<b>Sent:</b> 06 January 2015 15:15<br>
<b>To:</b> adegenet-forum@lists.r-forge.r-project.org<br>
<b>Subject:</b> [adegenet-forum] individual geographic distances vs population geographic distances<br>
</font><br>
</div>
<div></div>
<div>
<div>Hi and happy new year everybody!</div>
<div><br>
</div>
<div>
<div>
<div style="font-family:Helvetica; font-size:12px">I’m trying to perform a Mantel’s test on populations rather than individuals:</div>
<div style="font-family:Helvetica; font-size:12px">- I converted my genind data to a genepop object (genind2genpop)</div>
<div style="font-family:Helvetica; font-size:12px">- I could calculate genetic distances among populations (dist.genpop)</div>
<div style="font-family:Helvetica; font-size:12px">BUT</div>
<div style="font-family:Helvetica; font-size:12px">I cannot calculate geographic distances among populations (as I only have individual coordinates in the $other$xy slot of my genuine/genepop object)</div>
<div style="font-family:Helvetica; font-size:12px"><br>
</div>
<div style="font-family:Helvetica; font-size:12px">any suggestion?</div>
<div style="font-family:Helvetica; font-size:12px"><br>
</div>
<div style="font-family:Helvetica; font-size:12px">many thanks in advance</div>
<div style="font-family:Helvetica; font-size:12px"><br>
</div>
<div style="font-family:Helvetica; font-size:12px">Massi</div>
</div>
</div>
<div><br>
</div>
</div>
</div>
</div>
</body>
</html>