Skip to content

OptM

Estimating the Optimal Number of Migration Edges from 'Treemix'

v0.1.9 · May 21, 2025 · GPL (>= 2)

Description

The popular population genetic software 'Treemix' by 'Pickrell and Pritchard' (2012) <DOI:10.1371/journal.pgen.1002967> estimates the number of migration edges on a population tree. However, it can be difficult to determine the number of migration edges to include. Previously, it was customary to stop adding migration edges when 99.8% of variation in the data was explained, but 'OptM' automates this process using an ad hoc statistic based on the second-order rate of change in the log likelihood. 'OptM' also has added functionality for various threshold modeling to compare with the ad hoc statistic.

Downloads

734

Last 30 days

4947th

2.1K

Last 90 days

7.9K

Last year

Trend: -1.9% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies SiZer OptM

Version History

new 0.1.9 Mar 10, 2026
updated 0.1.9 ← 0.1.8 diff May 20, 2025
updated 0.1.8 ← 0.1.6 diff Jun 16, 2024
updated 0.1.6 ← 0.1.5 diff Sep 29, 2021
updated 0.1.5 ← 0.1.3 diff Jul 26, 2021
updated 0.1.3 ← 0.1.1 diff Apr 27, 2019
new 0.1.1 Jan 7, 2019