User guide for AlphaSimR R package simulating breeding programs with genomic selection and population genetics tools.
This manual documents the AlphaSimR R package for simulating breeding programs at the DNA sequence level. It includes functions for modeling selection, crossing, and genomic prediction. The package also contains MaCS for simulating biallelic sequences based on population history. Functions are designed for scripting complex plant and animal breeding simulations in R.
The package supports traits with additive, dominance, and epistatic effects, and provides tools for population management, phenotyping, and writing output in formats like PLINK and custom records. This manual is written in Chinese.
Use the .newPop function with parameters like rawPop, id, mother, father, and simParam.
It simulates biallelic sequences according to a population demographic history.
Use the writePlink function with arguments like pop, baseName, traits, and use.