tracts.genetic_model#
Bundles a demographic model together with the admixture and phase-type model configuration used to evaluate its likelihood.
This exists to avoid threading a long, repeated list of related parameters
(ad_model_autosomes, ad_model_allosomes, rho_f, rho_m, TP,
N_cores, plus the demographic model itself) through tracts.core’s
optimization functions (_compute_objective(),
optimize_cob_sex_biased_single_step(),
optimize_cob_sex_biased_two_steps()) and their callers in
tracts.driver.
Classes
|
Bundles a demographic model with the admixture and phase-type model configuration used to evaluate its likelihood against tract-length data. |
|
Log-likelihood contributions from each genome component included in a |
|
Configuration for the admixture and phase-type model used to compute the likelihood of a demographic model's migration matrices. |