<div dir="ltr"><span class="Apple-style-span" style="font-family:'Times New Roman';font-size:16px;color:rgb(0,0,0)">Dear all,</span><div><span class="Apple-style-span" style="font-family:'Times New Roman';font-size:16px;color:rgb(0,0,0)"><br></span></div><div><span class="Apple-style-span" style="font-family:'Times New Roman';font-size:16px;color:rgb(0,0,0)">I have had some success getting data files into adegenet but only with the import2genind command using a genpop file and never from the importstructure, genepop, etc. My preference would be to import a dataframe with column 1 as the population name, column 2 as the individual identifier and the remaining columns as the individual loci. I did get this to work with some previous suggestions on the forum, however, the summary(x) command tells me I have precisely 10 alleles at each locus (actually there are between 9 and 63) and massive differences in Hexp vs. Hobs (which there aren't). So clearly something isn't being interpreted correctly despite the fact that I can create both the genind and genpop files.</span><div><span class="Apple-style-span" style="font-family:'Times New Roman';font-size:16px;color:rgb(0,0,0)"><br></span></div><div><span class="Apple-style-span" style="font-family:'Times New Roman';font-size:16px;color:rgb(0,0,0)">Any ideas why my loci are being mis-read?</span></div><div><span class="Apple-style-span" style="font-family:'Times New Roman';font-size:16px;color:rgb(0,0,0)"><br></span></div><div><span class="Apple-style-span" style="font-family:'Times New Roman';font-size:16px;color:rgb(0,0,0)">Thanks,</span></div><div><span class="Apple-style-span" style="font-family:'Times New Roman';font-size:16px;color:rgb(0,0,0)"><br></span></div><div><span class="Apple-style-span" style="font-family:'Times New Roman';font-size:16px;color:rgb(0,0,0)">MarkĀ </span><br></div></div></div>