diemr: Genome Polarization via Diagnostic Index Expectation Maximization

Implements a likelihood-based method for genome polarization, identifying which alleles of SNV markers belong to either side of a barrier to gene flow. The approach co-estimates individual assignment, barrier strength, and divergence between sides, with direct application to studies of hybridization. Includes VCF-to-diem conversion and input checks, support for mixed ploidy and parallelization, and tools for visualization and diagnostic outputs. Based on diagnostic index expectation maximization as described in Baird et al. (2023) <doi:10.1111/2041-210X.14010>.

Package details

AuthorNatalia Martinkova [aut, cre] (ORCID: <https://orcid.org/0000-0003-4556-4363>), Stuart Baird [aut] (ORCID: <https://orcid.org/0000-0002-7144-9919>)
MaintainerNatalia Martinkova <martinkova@ivb.cz>
LicenseGPL (>= 3)
Version1.5.2
URL https://nmartinkova.github.io/genome-polarisation/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("diemr")

Try the diemr package in your browser

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

diemr documentation built on Dec. 11, 2025, 5:07 p.m.