Calculate the phenotypes covariance matrix Sigma

calc_Sigma(Vg, Ve, kinship = NULL, n_mouse = nrow(kinship))

Arguments

Vg

d by d genetic covariance matrix for the d phenotypes

Ve

d by d error covariance matrix for the d phenotypes

kinship

optional n by n kinship matrix. if NULL, Vg is not used.

n_mouse

number of subjects

Value

dn by dn covariance matrix