Breeding Program Simulations
Overview
The successor to the 'AlphaSim' software for breeding program simulation [Faux et al. (2016) doi:10.3835/plantgenome2016.02.0013]. Used for stochastic simulations of breeding programs to the level of DNA sequence for every individual. Contained is a wide range of functions for modeling common tasks in a breeding program, such as selection and crossing. These functions allow for constructing simulations of highly complex plant and animal breeding programs via scripting in the R software environment. Such simulations can be used to evaluate overall breeding program performance and conduct research into breeding program design, such as implementation of genomic selection. Included is the 'Markovian Coalescent Simulator' ('MaCS') for fast simulation of biallelic sequences according to a population demographic history [Chen et al. (2009) doi:10.1101/gr.083634.108].
*changed R6 and methods from Depends to Imports to match current best practices for R packages
*Change order of call to finalizePop in .newPop to allow access to recombination tracking data
*added parentAverage and mendelianSampling functions
*fixed bug in c for RawPop, MapPop, and NamedMapPop
*changed popVar to an R wrapper to automate casting of vectors to matrices
*corrected bibliography entry month from sept to sep
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 146 (20 internal)includes a package overview page
- Examples that run
- 97%94 run in a plain check · 3 never run
- Exported functions with examples
- 86%
- Documented parameters
- 100%
- Return-value docs
- 53%
- Help pages citing references
- 1% with a bibliography file
- Introduction HTML
- Traits PDF
Downloads
Repository
- PRs merged (all time)
- 85%
- Median days to close, 50 most recently updated closed issues
- 886
- Median days to close, 50 most recently updated closed PRs
- 6
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
6 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/gaynorr/alphasimr on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-11-24 · The repository has a site deploy workflow
pkgdown site last built 2025-11-24
Dependencies
Installing AlphaSimR adds 6 packages (3 with compiled code, 18 MB of source tarballs). Heaviest: BH 14 MB, Rcpp 1.8 MB, rbibutils 1.1 MB.
Code & Tests
People & History
Show 1 more contributorHide 1 contributor
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.1.0Latest
- 2.0.0
- RR 4.5.0 released · 2025-04-11
- 1.6.12024-11-01 · diff ↗
- 1.6.0
- RR 4.4.0 released · 2024-04-24
- 1.5.32023-12-01 · diff ↗
- 1.5.2
- RR 4.3.0 released · 2023-04-21
- 1.4.22023-03-27 · diff ↗
- 1.3.42022-12-09 · diff ↗
- 1.3.22022-11-02 · diff ↗
- 1.3.12022-08-25 · diff ↗ ·
added 11 exports
addSegSite, getGenMap, getPed, isHybridPop, isMapPop, isMegaPop, isNamedMapPop, isPop, isRawPop, newEmptyPop, setMarkerHaplo - 1.2.12022-07-06 · diff ↗
- 1.22022-06-16 · diff ↗ ·
added 10 exports
getMisc, importGenMap, importHaplo, importInbredGeno, isFemale, isMale, pullMarkerGeno, pullMarkerHaplo, setMisc, transMat
Show 19 earlier eventsHide 19 earlier events
- RR 4.2.0 released · 2022-04-22
- 1.1.22022-02-17 · diff ↗ ·
added 10 exports
getNumThreads, solveMKM, solveMVM, solveRRBLUP, solveRRBLUPMK, solveRRBLUPMV, solveRRBLUP_EM, solveRRBLUP_EM2, solveRRBLUP_EM3, solveUVM - 1.0.42021-09-08 · diff ↗
- 1.0.32021-07-29 · diff ↗
- 1.0.22021-07-28 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.0.1
- 0.13.02020-10-11 · diff ↗
- 0.12.22020-05-19 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.12.1
- 0.11.12020-01-13 · diff ↗ ·
removed 2 exports
pullMultipleSnpGeno, pullMultipleSnpHaploadded 3 exports
cChr, doubleGenome, reduceGenome - 0.11.0
- RR 3.6.0 released · 2019-04-26
- 0.10.02019-03-15 · diff ↗ ·
removed 1 export
trackHaploPopadded 7 exports
RRBLUP_D2, aa, fastRRBLUP, genicVarAA, getQtlMap, getSnpMap, varAA - 0.9.0
- 0.8.22018-10-15 · diff ↗
- 0.8.12018-10-12
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-10-12
- Total releases
- 26 / 8 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 511 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("AlphaSimR")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1093/g3journal/jkaa017, 10.1002/csc2.21312.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.