<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
p
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif}
span.emailstyle17
        {font-family:"Calibri",sans-serif;
        color:windowtext}
span.emailstyle21
        {font-family:"Calibri",sans-serif;
        color:#1F497D}
span.EmailStyle22
        {font-family:"Calibri",sans-serif;
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt;
        font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" lang="EN-GB" link="#0563C1" vlink="#954F72">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><br>
<div><font size="2">Hi Robert, <br>
<br>
thanks for sharing this!<br>
<br>
Best<br>
Thibaut<br>
</font>
<div style="font-family:Tahoma; font-size:13px">
<div class="BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="PlainText"><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="divRpF108956"><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 Robert Fairweather [osue37@bangor.ac.uk]<br>
<b>Sent:</b> 09 October 2015 16:32<br>
<b>To:</b> adegenet-forum@lists.r-forge.r-project.org<br>
<b>Subject:</b> Re: [adegenet-forum] Converting between adegenet and genetics<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#2E74B5">Hi Thibaut, and for future users,</span></p>
<p class="MsoNormal"><span style="color:#2E74B5">I have found that the package poppr, which is highly compatable with adegenet, has a useful function for saving genind objects as csv files in genalex format. Genalex format can be converted to genepop and structure
 format at the flick of a swtich with the free GenAlex add on in Excel, and this add on has several handy features of it’s own.</span></p>
<p class="MsoNormal"><span style="color:#2E74B5">Of course Thibaut is right, and R is a highly universal and wonderfully flexible program, but hopefully this info will help others to move outside of R if they need or prefer to.
</span></p>
<p class="MsoNormal"><span style="color:#2E74B5">Many thanks again for your help,</span></p>
<p class="MsoNormal"><span style="color:#2E74B5">Robert</span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Jombart, Thibaut [mailto:t.jombart@imperial.ac.uk]
<br>
<b>Sent:</b> 09 October 2015 16:24<br>
<b>To:</b> Robert Fairweather <osue37@bangor.ac.uk>; adegenet-forum@lists.r-forge.r-project.org<br>
<b>Subject:</b> RE: Converting between adegenet and genetics</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black"> </span></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black">Hi there, </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Courier New"; color:black">genind2df
</span><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black">will be helpful for recoding the data as allele, but then there will still be a way to go to export data for Genepop. As our purpose deveioping packages in R is to make R a
 single (free) platform for data analysis, I'd expect exporting data to other software is not going to be a priority for most developers.<br>
<br>
Cheers</span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black">Thibaut</span></p>
</div>
</div>
</div>
</div>
<div>
<div class="MsoNormal" style="text-align:center" align="center"><span style="font-size:12.0pt; font-family:"Times New Roman",serif; color:black">
<hr align="center" size="2" width="100%">
</span></div>
<div id="divRpF21816">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black"> Robert Fairweather [osue37@bangor.ac.uk]<br>
<b>Sent:</b> 09 October 2015 15:02<br>
<b>To:</b> Jombart, Thibaut<br>
<b>Subject:</b> RE: Converting between adegenet and genetics</span><span style="font-size:12.0pt; font-family:"Times New Roman",serif; color:black"></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Dear Thibaut,</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Many thanks for your response. Specifically I am trying to convert my genind object into genepop format so that I can use genetics to export it as a .gen file in said format. I have been getting the impression
 that support for genetics is waning across the board, and so am looking into alternative packages that may be able to save genepops and which adegenet can export to. Please do let me know if you know any. My data is co-dominant SNP data, originally imported
 into adegenet as a .gen file.</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Cheers,</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Robert</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><span style="color:black"></span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:black" lang="EN-US">From:</span></b><span style="color:black" lang="EN-US"> Jombart, Thibaut [<a href="mailto:t.jombart@imperial.ac.uk" target="_blank">mailto:t.jombart@imperial.ac.uk</a>]
<br>
<b>Sent:</b> 09 October 2015 14:56<br>
<b>To:</b> Robert Fairweather <<a href="mailto:osue37@bangor.ac.uk" target="_blank">osue37@bangor.ac.uk</a>>;
<a href="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank">adegenet-forum@lists.r-forge.r-project.org</a><br>
<b>Subject:</b> RE: Converting between adegenet and genetics</span><span style="color:black"></span></p>
</div>
</div>
<p class="MsoNormal"><span style="color:black"> </span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black">Dear Robert, 
</span><span style="color:black"></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black"> </span><span style="color:black"></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black">as of version 2.0.0, adegenet is no longer interfaced with the package genetics, but is meant to work with a number of others: hierfstat, pegas, poppr, ape, etc.
 I believe most functionalities implemented in genetics are implemented elsewhere, but please let me know if something is missing.</span><span style="color:black"></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black"> </span><span style="color:black"></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black">Cheers</span><span style="color:black"></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black">Thibaut</span><span style="color:black"></span></p>
</div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black">  </span><span style="color:black"></span></p>
</div>
</div>
</div>
</div>
<div>
<div class="MsoNormal" style="text-align:center" align="center"><span style="font-size:12.0pt; font-family:"Times New Roman",serif; color:black">
<hr align="center" size="2" width="100%">
</span></div>
<div id="divRpF494343">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif; color:black">
<a href="mailto:adegenet-forum-bounces@lists.r-forge.r-project.org" target="_blank">
adegenet-forum-bounces@lists.r-forge.r-project.org</a> [adegenet-forum-bounces@lists.r-forge.r-project.org] on behalf of Robert Fairweather [osue37@bangor.ac.uk]<br>
<b>Sent:</b> 09 October 2015 14:46<br>
<b>To:</b> <a href="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank">
adegenet-forum@lists.r-forge.r-project.org</a><br>
<b>Subject:</b> [adegenet-forum] Converting between adegenet and genetics</span><span style="color:black"></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:black">Dear Thibaut,</span></p>
<p class="MsoNormal"><span style="color:black">I am trying to export a genind object from adegenet to genetics package format so that I can use functions in that package not available in adegenet. The adegenet homepage suggests that this is possible, but I
 cannot find anything in the instruction pdf detailing the appropriate function(s). An earlier post suggests the function genind2genotype, but this does not exist in the manual and cannot be found in the version of adegenet that I am using (2.0.0).</span></p>
<p class="MsoNormal"><span style="color:black">How can I export my genind object into genetics?</span></p>
<p class="MsoNormal"><span style="color:black">Best wishes,</span></p>
<p class="MsoNormal"><span style="color:black">Robert</span></p>
<p class="MsoNormal"><span style="color:black"> </span></p>
</div>
<p><span style="color:black"> </span></p>
<table class="MsoNormalTable" style="width:100.0%" cellpadding="0" cellspacing="0" border="0" width="100%">
<tbody>
<tr>
<td style="padding:11.25pt 0cm 11.25pt 0cm" valign="top">
<p><strong>Rhif Elusen Gofrestredig 1141565 - Registered Charity No. 1141565</strong></p>
<p>Gall y neges e-bost hon, ac unrhyw atodiadau a anfonwyd gyda hi, gynnwys deunydd cyfrinachol ac wedi eu bwriadu i'w defnyddio'n unig gan y sawl y cawsant eu cyfeirio ato (atynt). Os ydych wedi derbyn y neges e-bost hon trwy gamgymeriad, rhowch wybod i'r
 anfonwr ar unwaith a dilewch y neges. Os na fwriadwyd anfon y neges atoch chi, rhaid i chi beidio a defnyddio, cadw neu ddatgelu unrhyw wybodaeth a gynhwysir ynddi. Mae unrhyw farn neu safbwynt yn eiddo i'r sawl a'i hanfonodd yn unig ac nid yw o anghenraid
 yn cynrychioli barn Prifysgol Bangor. Nid yw Prifysgol Bangor yn gwarantu bod y neges e-bost hon neu unrhyw atodiadau yn rhydd rhag firysau neu 100% yn ddiogel. Oni bai fod hyn wedi ei ddatgan yn uniongyrchol yn nhestun yr e-bost, nid bwriad y neges e-bost
 hon yw ffurfio contract rhwymol - mae rhestr o lofnodwyr awdurdodedig ar gael o Swyddfa Cyllid Prifysgol Bangor.</p>
<p>This email and any attachments may contain confidential material and is solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately and delete this email. If you are not the intended recipient(s),
 you must not use, retain or disclose any information contained in this email. Any views or opinions are solely those of the sender and do not necessarily represent those of Bangor University. Bangor University does not guarantee that this email or any attachments
 are free from viruses or 100% secure. Unless expressly stated in the body of the text of the email, this email is not intended to form a binding contract - a list of authorised signatories is available from the Bangor University Finance Office.</p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif; color:black"> </span><span style="color:black"></span></p>
</div>
</div>
</div>
</div>
</div>
<p><span style="color:black"> </span></p>
<table class="MsoNormalTable" style="width:100.0%" cellpadding="0" cellspacing="0" border="0" width="100%">
<tbody>
<tr>
<td style="padding:11.25pt 0cm 11.25pt 0cm" valign="top">
<p><strong>Rhif Elusen Gofrestredig 1141565 - Registered Charity No. 1141565</strong></p>
<p>Gall y neges e-bost hon, ac unrhyw atodiadau a anfonwyd gyda hi, gynnwys deunydd cyfrinachol ac wedi eu bwriadu i'w defnyddio'n unig gan y sawl y cawsant eu cyfeirio ato (atynt). Os ydych wedi derbyn y neges e-bost hon trwy gamgymeriad, rhowch wybod i'r
 anfonwr ar unwaith a dilewch y neges. Os na fwriadwyd anfon y neges atoch chi, rhaid i chi beidio a defnyddio, cadw neu ddatgelu unrhyw wybodaeth a gynhwysir ynddi. Mae unrhyw farn neu safbwynt yn eiddo i'r sawl a'i hanfonodd yn unig ac nid yw o anghenraid
 yn cynrychioli barn Prifysgol Bangor. Nid yw Prifysgol Bangor yn gwarantu bod y neges e-bost hon neu unrhyw atodiadau yn rhydd rhag firysau neu 100% yn ddiogel. Oni bai fod hyn wedi ei ddatgan yn uniongyrchol yn nhestun yr e-bost, nid bwriad y neges e-bost
 hon yw ffurfio contract rhwymol - mae rhestr o lofnodwyr awdurdodedig ar gael o Swyddfa Cyllid Prifysgol Bangor.</p>
<p>This email and any attachments may contain confidential material and is solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately and delete this email. If you are not the intended recipient(s),
 you must not use, retain or disclose any information contained in this email. Any views or opinions are solely those of the sender and do not necessarily represent those of Bangor University. Bangor University does not guarantee that this email or any attachments
 are free from viruses or 100% secure. Unless expressly stated in the body of the text of the email, this email is not intended to form a binding contract - a list of authorised signatories is available from the Bangor University Finance Office.</p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"> </span></p>
</div>
</div>
</div>
</div>
<p> </p>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tbody>
<tr>
<td style="padding:15px 0" valign="top">
<p><strong>Rhif Elusen Gofrestredig 1141565 - Registered Charity No. 1141565</strong></p>
<p>Gall y neges e-bost hon, ac unrhyw atodiadau a anfonwyd gyda hi, gynnwys deunydd cyfrinachol ac wedi eu bwriadu i'w defnyddio'n unig gan y sawl y cawsant eu cyfeirio ato (atynt). Os ydych wedi derbyn y neges e-bost hon trwy gamgymeriad, rhowch wybod i'r
 anfonwr ar unwaith a dilewch y neges. Os na fwriadwyd anfon y neges atoch chi, rhaid i chi beidio a defnyddio, cadw neu ddatgelu unrhyw wybodaeth a gynhwysir ynddi. Mae unrhyw farn neu safbwynt yn eiddo i'r sawl a'i hanfonodd yn unig ac nid yw o anghenraid
 yn cynrychioli barn Prifysgol Bangor. Nid yw Prifysgol Bangor yn gwarantu bod y neges e-bost hon neu unrhyw atodiadau yn rhydd rhag firysau neu 100% yn ddiogel. Oni bai fod hyn wedi ei ddatgan yn uniongyrchol yn nhestun yr e-bost, nid bwriad y neges e-bost
 hon yw ffurfio contract rhwymol - mae rhestr o lofnodwyr awdurdodedig ar gael o Swyddfa Cyllid Prifysgol Bangor.</p>
<p>This email and any attachments may contain confidential material and is solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately and delete this email. If you are not the intended recipient(s),
 you must not use, retain or disclose any information contained in this email. Any views or opinions are solely those of the sender and do not necessarily represent those of Bangor University. Bangor University does not guarantee that this email or any attachments
 are free from viruses or 100% secure. Unless expressly stated in the body of the text of the email, this email is not intended to form a binding contract - a list of authorised signatories is available from the Bangor University Finance Office.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>