Simulate residual multivariate Gaussian data from a polygenic model
Simulate residual multivariate Gaussian data from a polygenic model
Simulates residual multivariate Gaussian response data from a pedigree where the additive genetic, dominance genetic, and shared environmental effects are taken into account.
Returns a matrix with the simulated values with n columns (one for each simulation) and each row matches the corresponding individual from the pedigree
Details
The three parameters should have a sum: h2+c2+d2 that is less than 1. The total variance is set to 1, and the mean is zero.