Calculate little b hat
1 | calc_b_hat(Xmat, Vg, Ve, Dmat, y)
|
Xmat |
a genotypes matrix for a single marker, dimension a by n, where a is the number of allelotypes and n the number of subjects |
Vg |
current value of genetic covariance matrix, with dimension d by d |
Ve |
current value of error covariance matrix, with dimension d by d |
Dmat |
a diagonal matrix containing the eigenvalues of the kinship matrix, K = UtDU |
y |
a d by n matrix of phenotype values |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.