Other packages > Find by keyword >

OptM  

Estimating the Optimal Number of Migration Edges from 'Treemix'
View on CRAN: Click here


Download and install OptM package within the R console
Install from CRAN:
install.packages("OptM")

Install from Github:
library("remotes")
install_github("cran/OptM")

Install by package version:
library("remotes")
install_version("OptM", "0.1.9")



Attach the package and use:
library("OptM")
Maintained by
Robert Fitak
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2019-01-08
Latest Update: 2025-05-21
Description:
The popular population genetic software 'Treemix' by 'Pickrell and Pritchard' (2012) 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.
How to cite:
Robert Fitak (2019). OptM: Estimating the Optimal Number of Migration Edges from 'Treemix'. R package version 0.1.9, https://cran.r-project.org/web/packages/OptM. Accessed 07 Mar. 2026.
Previous versions and publish date:
0.1.1 (2019-01-08 17:40), 0.1.3 (2019-04-28 16:40), 0.1.5 (2021-07-27 16:40), 0.1.6 (2021-09-30 22:40), 0.1.8 (2024-06-17 05:50)
Other packages that cited OptM R package
View OptM citation profile
Other R packages that OptM depends, imports, suggests or enhances
Complete documentation for OptM
Functions, R codes and Examples using the OptM R package
Some associated functions: optM . plot_optM . 
Some associated R codes: optM.R . plot_optM.R .  Full OptM package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
portalr  
Create Useful Summaries of the Portal Data
Download and generate summaries for the rodent, plant, ant, and weather data from the Portal Projec ...
Download / Learn more Package Citations See dependency  
lmSubsets  
Exact Variable-Subset Selection in Linear Regression
Exact and approximation algorithms for variable-subset selection in ordinary linear regression mode ...
Download / Learn more Package Citations See dependency  
testDriveR  
Teaching Data for Statistics and Data Science
Provides data sets for teaching statistics and data science courses. It includes a sample of data f ...
Download / Learn more Package Citations See dependency  
ReviewR  
A Light-Weight, Portable Tool for Reviewing Individual Patient Records
A portable Shiny tool to explore patient-level electronic health record data and perform chart revi ...
Download / Learn more Package Citations See dependency  
SAMtool  
Stock Assessment Methods Toolkit
Simulation tools for closed-loop simulation are provided for the 'MSEtool' operating model to inform ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,376

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA