[adegenet-forum] dapc

Zhian Kamvar kamvarz at science.oregonstate.edu
Mon Oct 29 12:37:37 CET 2018


Hi,

DAPC is very sensitive to the number of PC you choose. I suspect what may
be happening here is that you have picked exactly the same number of PC in
your DAPC as you chose to pick your clusters. This results in a bit of
circular logic where you are asking the discriminant function to
discriminate your groups based on the exact principal components you used
to define your groups. Because of that, the between-group separation is so
vast that your within group differences is negligible.

Instead, what you should do is use the xvalDapc function to perform a
cross-validation to avoid over-fitting.

Best,
Zhian

On Sun, Oct 28, 2018 at 11:00 AM <
adegenet-forum-request at lists.r-forge.r-project.org> wrote:

> Send adegenet-forum mailing list submissions to
>         adegenet-forum at lists.r-forge.r-project.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum
>
> or, via email, send a message with subject or body 'help' to
>         adegenet-forum-request at lists.r-forge.r-project.org
>
> You can reach the person managing the list at
>         adegenet-forum-owner at lists.r-forge.r-project.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of adegenet-forum digest..."
>
>
> Today's Topics:
>
>    1. dapc (amir naji)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 27 Oct 2017 19:44:03 +0330
> From: amir naji <amnaji1970 at yahoo.com>
> To: "adegenet-forum at lists.r-forge.r-project.org"
>         <adegenet-forum at lists.r-forge.r-project.org>
> Subject: [adegenet-forum] dapc
> Message-ID:
>         <
> mailman.4.1540724419.31500.adegenet-forum at lists.r-forge.r-project.org>
>
> Content-Type: text/plain; charset="utf-8"
>
> Hi
> I read my dart date set using dart R  package (62 genotype and 12500 snp
> loci).
> I built a DAPC scatter plot   without using a priori grouping information
> using this command line: dapc <- dapc(data, grp$grp).grp was created by
> using find.clusters command. But in scatter plot (I used scatter(dapc)
> command) only three points representing each group were seen and
> individuals were not shown in scatter plot.  I couldn?t find the reason and
> I hope to got help on that.
> Thanks for your help
> Amir
>
>
>
>
> Sent from Mail for Windows 10
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20171027/43309b09/attachment.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> adegenet-forum mailing list
> adegenet-forum at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum
>
> ------------------------------
>
> End of adegenet-forum Digest, Vol 122, Issue 7
> **********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20181029/e5d11726/attachment.html>


More information about the adegenet-forum mailing list