Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 999 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 999 Bytes

This is an R package to assign individuals to populations based on phenotypic data from multiple traits. It uses Bayesian inference and Hamiltonian Monte Carlo to fit the model. Goodness of fit is assessed using Bayes factors which allow to choose the most likely number of populations.

The package is still in development. Basic model fitting with one level of replication, no missing phenotype data, and no covariates, is functional. The following functionality is in development:

  • Bayes factors to assess goodness of fit and reasonable population number
  • Functions to summarize results and provide convergence diagnostics
  • Disambiguation of population labels
  • Support for missing phenotype data
  • Support for covariates
  • Arbitrary replication levels (including no replication)

To install, make sure you have the devtools package on your system, and then run install_github("tonymugen/MuGaMix"). It should work under any Unix-like system, but has not been tested under Windows.