reems: Estimating Effective Migration Surfaces from Single Nucleotide Polymorphism Data

Wrapper and plotting utilities for the spatial population genetics tool 'EEMS' (Estimated Effective Migration Surfaces) for SNP (Single Nucleotide Polymorphism) data, originally provided as a command-line tool written in 'C++' together with an accompanying 'R' package for plotting the output of the 'EEMS' tool itself (<https://github.com/dipetkov/eems/>). There are four main motivations for offering this to 'R' users as a package. Firstly, to remove the installation and configuration burden for the 'EEMS' command-line tool, which relies on manually installed 'Boost' and 'Eigen' system libraries and configuring their location; secondly, to streamline the workflow by having a singe environment (the 'R' system) for the entire analysis rather than a file-based command-line executable whose output files are then to be imported and analysed by a separate 'R' script; thirdly, to make the input formats compatible with other, 'R'-based spatial population genetics tools such as the 'ConStruct' package; and lastly, to allow for easily running several chains in parallel and combining them for plotting and further analysis. The package also adds more intuitive, streamlined tooling around creating more complex habitats. The method of estimating effective migration surfaces was first described by Petkova, D., Novembre, J. & Stephens, M. (2016) <doi:10.1038/ng.3464>.

Package details

AuthorFelix Weitkämper [aut, cre, cph] (ORCID: <https://orcid.org/0000-0002-3895-8279>), Desislava Petkova [cph] (ORCID: <https://orcid.org/0000-0001-9129-1787>, Author of the 'EEMS' command-line utility and the 'EEMS' plotting 'R' scripts adapted for this wrapper package.)
MaintainerFelix Weitkämper <felix.weitkaemper@german-uds.de>
LicenseGPL-2
Version0.1.0
URL https://codeberg.org/felix_weitkaemper/reems
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("reems")

Try the reems package in your browser

Any scripts or data that you put into this service are public.

reems documentation built on May 6, 2026, 1:07 a.m.