[adegenet-forum] Different results from PCA derived from DAPC
Roman Luštrik
roman.lustrik at biolitika.si
Sat Jul 2 08:11:23 CEST 2016
Hi,
can you provide a reproducible example?
DAPC works with dudi.pca function and implementation may differ from prcomp() or princomp(). If you are not satisfied with dudi.pca for some reason, you can supply your own object from other functions. As far as I can see from the code, you will need to have a list of elements (this is not documented, mind you): eig, li, c1, cent, norm. You can dissect the dudi.pca object and see what's what.
Cheers,
Roman
----
In god we trust, all others bring data.
From: "kin onn" <kin_onn at yahoo.com>
To: adegenet-forum at lists.r-forge.r-project.org
Sent: Thursday, April 21, 2016 5:24:21 PM
Subject: [adegenet-forum] Different results from PCA derived from DAPC
Dear adegenet users,
Results from a regular PCA (using the function prcomp() )is very different from the results of the PCA that DAPC performs. I was wondering if anybody knows why? Thank you in advance!
Best regards,
Chan
Biodiversity Institute and Department of Ecology and Evolutionary Biology
University of Kansas
Dyche Hall, 1345 Jayhawk Blvd
Lawrence, KS 66045-7593
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20160702/3b1e06fa/attachment.html>
More information about the adegenet-forum
mailing list