calcD12.Rd
internal function for calcAdjPP for the 2-trait case
calcD12(
mod1,
mod2,
T1,
T2,
beta,
SSy,
Sxy,
xcovo,
Mx,
Nqq,
Vres,
covY,
nsnpspermodel
)
vector of model indices for trait 1
vector of model indices for trait 2
index of trait 1
index of trait 2
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
list of variance residuals
covariance matrix of traits
list of number of SNPs per model for each model in mod1, mod2
lbf12-lbf1-lbf2