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) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("stockR")

1.0.76 by Scott D. Foster, 3 years ago


Browse source code at https://github.com/cran/stockR


Authors: Scott D. Foster [aut, cre]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports Rcpp, stats, gtools, parallel, RColorBrewer, methods

Suggests knitr

Linking to Rcpp


See at CRAN