Calculate residuals with Haley-Knott regression
1 | hk_residuals(pheno, genomat)
|
pheno |
a phenotype vector or matrix (with each column being one phenotype) |
genomat |
a matrix of genotype probabilities, with the first column of probabilities replaced with a column of 1's. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.