Calculate log-likelihood for a bivariate LMM
1 | calc_ll_bvlmm(yvec, Xmat, betahat, Vg, Ve, Kmat)
|
yvec |
a vector of phenotype values, after removing NA values |
Xmat |
a design matrix with needed number of rows |
betahat |
estimate of beta; a vector of length 16 |
Vg |
2 by 2 Vg matrix |
Ve |
2 by 2 Ve matrix |
Kmat |
kinship matrix, for appropriate chromosome |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.