Simulate pedigree, genetic merits and phenotypes with random/assortative/disassortative matings followed by random/non-random selection of males and females with similar/different selection patterns in males and females. For a given pedigree, genotypes can be simulated.
Installing the package from CRAN:
install.packages("pedSimulate")
Installing the package from GitHub:
devtools::install_github('nilforooshan/pedSimulate')
An R package for simulating pedigree, genetic merits, phenotypes, and genotypes, starting from a base population (generation 0) or an existing pedigree. The pedigree depth and design can be chosen by the values provided to the arguments of the simulation function.
Arguments are provided for the following:
Genotypes can be simulated for a given pedigree. Marker effects to be chosen by the researcher.
Function simulatePed
is for simulating a pedigree from a base population.
Function appendPed
is for simulating new generations from an existing pedigree and appending to it.
Function appendGen
is for simulating genotypes for an appended pedigree to an existing pedigree with genotypes.
Function fs_mate_finder
is for finding fullsib matings in the pedigree.
Function hs_mate_finder
is for finding halfsib matings in the pedigree.
Function pp_mate_finder
is for finding parent-progeny matings in the pedigree.
Function simulateGen
is for simulating genotypes for a given pedigree.
Thanks
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.