<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Logan,</p>
<p><br>
</p>
<p>Out of curiosity, do your population or sample names include non alphanumeric characters? Such as dots, as an example? If they do, try and remove those characters, see if it helps. Make sure the new names are still unique.<br>
</p>
<p><br>
</p>
<p>Good luck with your analyses,</p>
<p>Max<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">Massimiliano S. Tagliamonte</div>
<div style="font-family:Tahoma; font-size:13px">Graduate Student</div>
<div style="font-family:Tahoma; font-size:13px">University of Florida<br>
College of Veterinary Medicine</div>
<div style="font-family:Tahoma; font-size:13px">Department of Infectious Diseases and Immunology<br>
</div>
</div>
</div>
</div>
</div>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> adegenet-forum-bounces@r-forge.wu-wien.ac.at <adegenet-forum-bounces@r-forge.wu-wien.ac.at> on behalf of Logan Clark <clarklc@appstate.edu><br>
<b>Sent:</b> Thursday, November 2, 2017 3:10 PM<br>
<b>To:</b> adegenet-forum@r-forge.wu-wien.ac.at<br>
<b>Subject:</b> [adegenet-forum] Problems with genind object</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi, I am working on a project involving microsatellite data in a relatively standard diploid species. I have 141 samples across 17 loci and my alleles formatted as 168/184 for a heterozygote and 168/168 for a homozygote. I have been able to transfer
 my data from a .csv file to a dataframe then to a genind object using df2genind. I have been able to run other statistics on the genind object I have created such as HWE, but I am trying to use the chao_bootstrap function in mmod with this object and I keep
 getting the error message
<div><br>
</div>
<div> "Error in tapply(y, pop(x), mean, na.rm = TRUE) : 
<div>  arguments must have same length"</div>
<div><br>
</div>
<div>I'm not really sure what this means or how to fix it. I am trying to run the individuals as one population, but I am not sure if that is have any effect. Should I create another vector of 1's to code for the population and concatenate the two? Does anyone
 have any advice on how to solve this problem? Thank you in advance for any help with this issue.</div>
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">Logan Clark
<div>Graduate Student</div>
<div>Biology Department</div>
<div>Appalachian State University</div>
<div>P: 252-370-0034</div>
<div>E: <a href="mailto:clarklc@appstate.edu" target="_blank">clarklc@appstate.edu</a></div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>