[adegenet-forum] Understanding DAPC scatter plot

Zhian Kamvar kamvarz at science.oregonstate.edu
Sat May 14 18:01:58 CEST 2022


The colours are of the a-priori groups because the information about the
posterior assignments are spatially contained on the axes themselves.

The colours help you understand how well the data matches these a-priori
groups, as kind of a visual representation of AMOVA.

I hope that helps,
Zhian

On Fri, May 13, 2022 at 3:08 AM <
adegenet-forum-request at lists.r-forge.r-project.org> wrote:

> Date: Thu, 12 May 2022 19:44:32 +0000
> From: Nikki Vollmer <nlv209 at hotmail.com>
> To: "adegenet-forum at lists.r-forge.r-project.org"
>         <adegenet-forum at lists.r-forge.r-project.org>
> Subject: [adegenet-forum] Understanding DAPC scatter plot
> Message-ID:
>         <
> MN2PR07MB7149733529F42699EA8ABEAA80CB9 at MN2PR07MB7149.namprd07.prod.outlook.com
> >
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi!
> I am looking for a better understanding of the DAPC scatter plot. Is it
> correct that with the code below, after running the DAPC, the scatter plot
> is plotting/color-coding based on the prior groups? If so, why not the
> posterior groups? I thought that the result of running a DAPC is the
> posterior group information and I just figured that is what the scatter
> plot would be showing me, but perhaps I am not understanding something
> correctly?  I know that you can look at the posterior information with
> compoplot, I am now just wanting to know how to correctly interpret scatter
> plots when I see them.
>
> the basic code I am referring to is:
> data_scaled <- tab(data,NA.method="mean")
> grp<-find.clusters(data_scaled, max.n.clust=40)
> dapc1<-dapc(data_scaled, grp$grp)
> scatter(dapc1)
>
> I appreciate any help with clarifying this!
> Nikki
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20220512/8f42ba93/attachment-0001.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 150, Issue 1
> **********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20220514/9dd1ad16/attachment.html>


More information about the adegenet-forum mailing list