How to calculate genetic correlation with R
0
0
Entering edit mode
10.6 years ago
Tohamy ▴ 90

Hey all,

I have a simple question. How can I calculate genetic correlation between two traits (at different environments) with R?

I calculated the phenotypic correlation and heritability for the interested traits but now I need to calculate genetic correlation between the traits.

Which function is used for that in R?

Best Regards,

Tohamy

R • 11k views
ADD COMMENT
1
Entering edit mode

To provide a good answer to this question we'd to know what your data looks like and what you mean by genetic correlation (which sounds pretty similar to heritablity, which you've already calculated?)

ADD REPLY
1
Entering edit mode

(Whoops, I'd skipped over the fact you have two measured traits, and genetic correlation is therefore the shared genetic contribution to the two traits. It's possible to fit multi-response models with R, but readers probably still need to know a bit more about your data to provide an answer)

ADD REPLY
1
Entering edit mode

META-R can generate for you both phenotypic and genetic correlations among all the traits. It is a free click click version of r developed by CYMMIT. https://data.cimmyt.org/dataset.xhtml?persistentId=hdl:11529/10201

ADD REPLY
0
Entering edit mode

Meta-R does it nicely. Nice suggestion

ADD REPLY
0
Entering edit mode

Several years ago I published a paper in which I analysed heritability of several quantitative traits, and I remember that I used the software package SOLAR by John Blangero's group to calculate genetic correlation. Maybe you can give a look in the methods used by SOLAR and see if you can figure it out. I never tried calculating heritability or genetic correlation using R, so in this respect I cannot help...

ADD REPLY
0
Entering edit mode

You might want to compare the rankings of significant SNPs in two traits, again as DavidW mentioned, we need to know more about data.

ADD REPLY

Login before adding your answer.

Traffic: 1849 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6