assignPOP

Population Assignment using Genetic, Non-Genetic or Integrated Data in a Machine-learning Framework

Description

This R package helps perform population assignment and infer population structure using a machine-learning framework. It employs supervised machine-learning methods to evaluate the discriminatory power of your data collected from source populations, and is able to analyze large genetic, non-genetic, or integrated (genetic plus non-genetic) data sets. This framework is designed for solving the upward bias issue discussed in previous studies. Main features are listed as follows.

Install assignPOP

You can install the released version from CRAN or the up-to-date version from this Github respository.

Note: When you install the package from Github, you may need to install additional packages before the assignPOP can be successfully installed. Follow the hints that R provided and then re-run install_github("alexkychen/assignPOP").

Package tutorial

Please visit our tutorial website for more infomration

What's new

Changes in ver. 1.3.1 (2025.9.13)

History Changes in ver. 1.3.0 (2024.3.13) - Update accuracy.plot - adjust ggplot's aes_string() due to its deprecation. - Update testthat test_accuracy and test_membership to meet ggplot2 3.5.0 requirements

Changes in ver. 1.2.4 (2021.10.27)

Changes in ver. 1.2.3 (2021.8.17)

Changes in ver. 1.2.2 (2020.11.6)

Changes in ver. 1.2.1 (2020.8.24)

Changes in ver. 1.2.0 (2020.7.24)

Changes in ver. 1.1.9 (2020.3.16)

Changes in ver. 1.1.8 (2020.2.28)

Changes in ver. 1.1.7 (2019.8.26)

Changes in ver. 1.1.6 (2019.6.8)

Changes in ver. 1.1.5 (2018.3.23)

Changes in ver. 1.1.4 (2018.3.8)

Changes in ver. 1.1.3 (2017.6.15)

Changes in ver. 1.1.2 (2017.5.13)

Cite this package

Chen, K. Y., Marschall, E. A., Sovic, M. G., Fries, A. C., Gibbs, H. L., & Ludsin, S. A. (2018). assign POP: An R package for population assignment using genetic, non-genetic, or integrated data in a machine-learning framework. Methods in Ecology and Evolution. 9(2)439-446. https://doi.org/10.1111/2041-210X.12897

Papers citing our package

Previous version

Previous packages can be found and downloaded at the releases page

Version compatibility (2020.7.24)

assignPOP version 1.1.9 and earlier are not fully compatible with newly released R 4.0.0. If you're using R 4.0.0 (or newer), please update your assignPOP to 1.2.0.