<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" dir="ltr">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hello,
<br>
<br>
Sorry, I feel I am saying this too often, but please, please, please go through the basics (intro to R etc) if you haven't yet - R is going to be hell otherwise.<br>
<br>
You do not need to store the xy coords in your genind. In fact, you do not need a genind at all. See ?monmonier. All you need is a data.frame with your xy coordinates (which you can get using e.g. read.table or read.csv) and a dist object containing pairwise
distances. <br>
<br>
If you haven't already, check the "basics" tutorial for an example of Monmonier (section 7.2).<br>
<a href="https://github.com/thibautjombart/adegenet/raw/master/tutorials/tutorial-basics.pdf" target="_blank">https://github.com/thibautjombart/adegenet/raw/master/tutorials/tutorial-basics.pdf</a><br>
<br>
Cheers<br>
Thibaut<br>
<br>
<div>
<div style="font-family:Tahoma; font-size:13px">
<div class="BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="PlainText"><br>
<br>
</div>
</span></font></div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF88094"><font color="#000000" face="Tahoma" size="2"><b>From:</b> adegenet-forum-bounces@lists.r-forge.r-project.org [adegenet-forum-bounces@lists.r-forge.r-project.org] on behalf of Cláudia Figueira [claudiafigueira@ua.pt]<br>
<b>Sent:</b> 01 October 2015 11:00<br>
<b>To:</b> adegenet-forum@lists.r-forge.r-project.org<br>
<b>Subject:</b> [adegenet-forum] Store spatial coordinates<br>
</font><br>
</div>
<div></div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p><br>
</p>
<div style="color:rgb(0,0,0)">
<div>
<div class="gmail_extra">Hello, </div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">For my Monmorier analysis <span style="font-size:12pt">I'm trying to store the spatial coordinates into a genind object but I'm not succeed. </span></div>
<div class="gmail_extra"><span style="font-size:12pt">I'm new in R, so the code is not very easy for me. I'm readind a several of different tutorials and still have not found how to do it.</span></div>
<div class="gmail_extra"><span style="font-size:12pt">You guys can help me? </span></div>
<div class="gmail_extra"><span style="font-size:12pt"><br>
</span></div>
<div class="gmail_extra"><span style="font-size:12pt">Best regards </span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>