covY: Covariance matrix for two simulated traits

covYR Documentation

Covariance matrix for two simulated traits


Simulated data was generated using the mvrnorm function in R and genotype matrix X. The two traits have correlation 0.4 and each has two causal variants, of which one, rs61839660 is shared between traits; trait 1 has second causal variant rs62626317 and trait 2 has second causal variant rs11594656. The traits are from a sample of 2000, with no missing measurements.




An object of class matrix with 2 rows and 2 columns.


The matrix has row and column names coinciding with the trait names.

jennasimit/flashfm documentation built on July 31, 2022, 7:32 p.m.