<html><body><div style="font-family: trebuchet ms,sans-serif; font-size: 12pt; color: #000000"><div>Can you provide a small example we can work on?<br></div><div><br data-mce-bogus="1"></div><div>Cheers,<br data-mce-bogus="1"></div><div>Roman<br data-mce-bogus="1"></div><div><br></div><div data-marker="__SIG_PRE__">----<br>In god we trust, all others bring data.<br>> Zahtevaj IJZ na https://kurc.biolitika.si</div><br><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Logan Clark" <clarklc@appstate.edu><br><b>To: </b>adegenet-forum@lists.r-forge.r-project.org<br><b>Sent: </b>Thursday, November 2, 2017 8:10:03 PM<br><b>Subject: </b>[adegenet-forum] Problems with genind object<br></div><br><div data-marker="__QUOTED_TEXT__"><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<br><div> "Error in tapply(y, pop(x), mean, na.rm = TRUE) : <div> arguments must have same length"</div><br><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><br>-- <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><br data-mce-bogus="1"></div><br></div></div></div></div>
</div></div>
<br>_______________________________________________<br>adegenet-forum mailing list<br>adegenet-forum@lists.r-forge.r-project.org<br>https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum<br></div></div></body></html>