Use synthetic offspring to test the accuracy of breed/ancestry calculations among test population
1 | sim_composition(Y, X, rep = 10000, par1, par2 = NULL)
|
Y |
numeric matrix of genotypes from all animals in population |
X |
numeric matrix of allele frequencies from reference animals |
rep |
integer indicating how many repititions of the simulation to perform |
par1 |
list of IDs catagorized by breed/population to be used as "Parent 1" in a simulated progeny test |
par2 |
list of IDs catagorized by breed/population to be used as "Parent 2" in a simulated progeny test. If null, two parents from sim1 will be chosen |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.