allC12.Rdinternal function for calcAdjPP for that gives list of covariance matrix of residuals for all trait pairs
allC12(M, nummods, beta, SSy, Sxy, xcovo, Mx, Nqq)number of traits
list where component i is the number of models for trait i
list of joint beta estimates for each trait
matrix of trait cross-products
matrix with each column being the cross-product between SNPs and a trait
covariance matrix of c("one"=1,X)
vector of SNP means
has N[i,j] = no. with both trait i and trait j measured