<div dir="ltr"><div>This question has been addressed in the poppr forum: <a href="https://groups.google.com/g/poppr/c/GcUHO61SvMA">https://groups.google.com/g/poppr/c/GcUHO61SvMA</a><br><br></div><div>In the future, please be respectful of the maintainer's time and do not cross-post. <br><br></div><div>Zhian<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 3, 2024 at 5:27 AM <<a href="mailto:adegenet-forum-request@lists.r-forge.r-project.org">adegenet-forum-request@lists.r-forge.r-project.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Date: Thu, 2 May 2024 13:06:54 -0500<br>
From: Massub Tehseen <<a href="mailto:massub.tehseen@gmail.com" target="_blank">massub.tehseen@gmail.com</a>><br>
To: <a href="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank">adegenet-forum@lists.r-forge.r-project.org</a><br>
Subject: [adegenet-forum] Error in DAPC while selecting DAs<br>
Message-ID:<br>
<<a href="mailto:CAFPVpdZgXMFhX79Nbi3B-WNGRCXMsAJzbT6He6gzMvJE3RU1Pg@mail.gmail.com" target="_blank">CAFPVpdZgXMFhX79Nbi3B-WNGRCXMsAJzbT6He6gzMvJE3RU1Pg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Everyone,<br>
<br>
I have been using adegent and DAPC for a while now and never had a problem<br>
but recently I am running into a problem. After find.cluster when I perform<br>
dapc after selecting the PCs to retain I get the following error before<br>
selecting the DAs to retain.<br>
<br>
Error in lda.default(x, grouping, ...) :<br>
nrow(x) and length(grouping) are different<br>
<br>
Why am I getting this error now, Please any help in this regard will be<br>
appreciated.<br>
<br>
Thanks,<br>
Massub<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.r-forge.r-project.org%2Fpipermail%2Fadegenet-forum%2Fattachments%2F20240502%2Fc4b9979a%2Fattachment-0001.htm&data=05%7C02%7Ckamvarz%40science.oregonstate.edu%7C40b3d90df1a049b6aec508dc6b6c7314%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C638503360733713399%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=x20nR5Qw32KhQkj5GfRPsuNOxXDepW3i2%2F0nCRUvqj0%3D&reserved=0" rel="noreferrer" target="_blank">https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.r-forge.r-project.org%2Fpipermail%2Fadegenet-forum%2Fattachments%2F20240502%2Fc4b9979a%2Fattachment-0001.htm&data=05%7C02%7Ckamvarz%40science.oregonstate.edu%7C40b3d90df1a049b6aec508dc6b6c7314%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C638503360733713399%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=x20nR5Qw32KhQkj5GfRPsuNOxXDepW3i2%2F0nCRUvqj0%3D&reserved=0</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
adegenet-forum mailing list<br>
<a href="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank">adegenet-forum@lists.r-forge.r-project.org</a><br>
<a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.r-forge.r-project.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fadegenet-forum&data=05%7C02%7Ckamvarz%40science.oregonstate.edu%7C40b3d90df1a049b6aec508dc6b6c7314%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C638503360733869671%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=%2BAzURMHp1DskRkZb7%2BuBYDnnyfGi%2BaABkGePvi3IePY%3D&reserved=0" rel="noreferrer" target="_blank">https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.r-forge.r-project.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fadegenet-forum&data=05%7C02%7Ckamvarz%40science.oregonstate.edu%7C40b3d90df1a049b6aec508dc6b6c7314%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C638503360733869671%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=%2BAzURMHp1DskRkZb7%2BuBYDnnyfGi%2BaABkGePvi3IePY%3D&reserved=0</a><br>
<br>
<br>
------------------------------<br>
<br>
End of adegenet-forum Digest, Vol 155, Issue 1<br>
**********************************************<br>
</blockquote></div></div>