res_cor: Calculate the residual correlation from a fitted bivariate...

Description Usage Arguments Details Value

Description

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.

Usage

1
res_cor(Ve1, Ve2, Ce)

Arguments

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.

Details

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.

Value

Residual correlation between trait 1 and 2


aneumann-science/molepi documentation built on May 10, 2019, 11:46 a.m.