README.md

cran-version cran-downloads-total cran-downloads-month cran-downloads-week github-release github-license github-contributors

R package 'pedSimulate'

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.

Installation

Installing the package from CRAN:

install.packages("pedSimulate")

Installing the package from GitHub:

devtools::install_github('nilforooshan/pedSimulate')

Description

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.

For details, please read the PDF manual.

Thanks



Try the pedSimulate package in your browser

Any scripts or data that you put into this service are public.

pedSimulate documentation built on Sept. 26, 2023, 9:06 a.m.