Description Usage Arguments Details Value
write_gpf_syntax
Bivariate GREML as implemented in GCTA outputs
genetic correlation but not residual correlation. This function calculates
the residual correlation based on the variances and covariances of both
traits.
1 | res_cor(Ve1, Ve2, Ce)
|
Ve1 |
A numeric value. The residual variance of trait 1. |
Ve2 |
A numeric value. The residual variance of trait 2. |
Ce |
A numeric value. The residual covariance between trait 1 and 2. |
Formula from Trzaskowski, M., Yang, J., Visscher, P. M., & Plomin, R. (2013). DNA evidence for strong genetic stability and increasing heritability of intelligence from age 7 to 12. Molecular psychiatry, 19(3), 380-384.
Residual correlation between trait 1 and 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.