stockR: Identifying Stocks in Genetic Data

Provides a mixture model for clustering individuals (or sampling groups) into stocks based on their genetic profile. Here, sampling groups are individuals that are sure to come from the same stock (e.g. breeding adults or larvae). The mixture (log-)likelihood is maximised using the EM-algorithm after finding good starting values via a K-means clustering of the genetic data. Details can be found in: Foster, S. D.; Feutry, P.; Grewe, P. M.; Berry, O.; Hui, F. K. C. & Davies (2020) <doi:10.1111/1755-0998.12920>.

Version: 1.0.76
Depends: R (≥ 2.10)
Imports: Rcpp, stats, gtools, parallel, RColorBrewer, methods
LinkingTo: Rcpp
Suggests: knitr
Published: 2023-04-26
DOI: 10.32614/CRAN.package.stockR
Author: Scott D. Foster [aut, cre]
Maintainer: Scott D. Foster <scott.foster at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: stockR citation info
Materials: NEWS
CRAN checks: stockR results


Reference manual: stockR.pdf
Vignettes: stockR Introduction


Package source: stockR_1.0.76.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): stockR_1.0.76.tgz, r-oldrel (arm64): stockR_1.0.76.tgz, r-release (x86_64): stockR_1.0.76.tgz, r-oldrel (x86_64): stockR_1.0.76.tgz
Old sources: stockR archive


Please use the canonical form to link to this page.