[adegenet-forum] Combining genetic and phenotypic data?

Jombart, Thibaut t.jombart at imperial.ac.uk
Fri Feb 22 16:50:19 CET 2013


Hello,

the quick and dirty way to do this would be taking the transformed data, normalize them to the same inertia (sum of squared values of the entries in each table), bind them into a single table, and run DAPC on this. It is not very elegant, but may do the trick if you want a quick and sample answer.

There is quite a bit of literature on coupling data. I think I mention a few in a very quick overview in my review paper (http://www.ncbi.nlm.nih.gov/pubmed/19156164). Coinertia analysis would be an option (function "coinertia" in the package "ade4"), but it won't allow you to couple two DAPC (only say, two PCA). Such implementation would be possible, but would probably demand quite a bit of work (essentially, a new paper, and a slightly boring one to write too!).

One option in between a clean, elegant solution and something manageable without too much pain is: look for combinations of the Discriminant Factors which are most alike between the two datasets. The procedure would be:

1) Make a DAPC for each table; keep all axes
2) Get the DAPC coordinates of the two tables, and standardize them to the same (say, 1) inertia. That is, divide the table by the sum of all squared entries.
3) Use these new matrices as inputs of coinertia

Does this make sense?

Cheers
Thibaut





________________________________________
From: adegenet-forum-bounces at lists.r-forge.r-project.org [adegenet-forum-bounces at lists.r-forge.r-project.org] on behalf of Niklas Tysklind [bssc08 at bangor.ac.uk]
Sent: 20 February 2013 19:40
To: adegenet-forum at lists.r-forge.r-project.org
Subject: [adegenet-forum] Combining genetic and phenotypic data?

Dear Thibaut and the rest of the Adegenet users,

Well done on all those DAPC assignment and structure functions. Me and my data are loving them!
I am currently using the assignment functions based on a set of microsatellite data AND (following your suggestion at the top of the vignette) on a set of environment driven quantitative phenotype data. It’s working quite well with both datasets, albeit showing rather different structures at different spatial scales. And here’s the thing, would it be possible to analyse both datasets merged together? I believe this would allow maximum assignment power as the structures complement each other (rather than mimic each other).

Many thanks in advance for any help and congratulations on an amazing package!

Regards,

Niklas

Dr Niklas Tysklind
Postdoctoral Research Officer
Celtic Sea Trout Project
Environment Centre for Wales
School of Biological Sciences
College of Natural Sciences
Bangor University,
Bangor, LL57 2UW
UK
Phone: +44 1248 382139
Email: ntysklind at bangor.ac.uk<mailto:ntysklind at bangor.ac.uk>

[MEFGL-NewLogo]



--
Rhif Elusen Gofrestredig / Registered Charity No. 1141565

Gall y neges e-bost hon, ac unrhyw atodiadau a anfonwyd gyda hi, gynnwys deunydd cyfrinachol ac wedi eu bwriadu i'w defnyddio'n unig gan y sawl y cawsant eu cyfeirio ato (atynt). Os ydych wedi derbyn y neges e-bost hon trwy gamgymeriad, rhowch wybod i'r anfonwr ar unwaith a dilëwch y neges. Os na fwriadwyd anfon y neges atoch chi, rhaid i chi beidio â defnyddio, cadw neu ddatgelu unrhyw wybodaeth a gynhwysir ynddi. Mae unrhyw farn neu safbwynt yn eiddo i'r sawl a'i hanfonodd yn unig ac nid yw o anghenraid yn cynrychioli barn Prifysgol Bangor. Nid yw Prifysgol Bangor yn gwarantu bod y neges e-bost hon neu unrhyw atodiadau yn rhydd rhag firysau neu 100% yn ddiogel. Oni bai fod hyn wedi ei ddatgan yn uniongyrchol yn nhestun yr e-bost, nid bwriad y neges e-bost hon yw ffurfio contrac t rhwymol - mae rhestr o lofnodwyr awdurdodedig ar gael o Swyddfa Cyllid Prifysgol Bangor. www.bangor.ac.uk<http://www.bangor.ac.uk>

This email and any attachments may contain confidential material and is solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately and delete this email. If you are not the intended recipient(s), you must not use, retain or disclose any information contained in this email. Any views or opinions are solely those of the sender and do not necessarily represent those of Bangor University. Bangor University does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of the text of the email, this email is not intended to form a binding contract - a list of authorised sig natories is available from the Bangor University Finance Office. www.bangor.ac.uk<http://www.bangor.ac.uk>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 7637 bytes
Desc: image001.jpg
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20130222/275f1be2/attachment.jpg>


More information about the adegenet-forum mailing list