sim_composition: Simulate hybrid animals for breed composition

Description Usage Arguments

Description

Use synthetic offspring to test the accuracy of breed/ancestry calculations among test population

Usage

1
sim_composition(Y, X, rep = 10000, par1, par2 = NULL)

Arguments

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


funkhou9/breedTools documentation built on May 16, 2019, 4:04 p.m.