tracts.driver_utils._select_full_data_likelihood#
- _select_full_data_likelihood(likelihoods_step_2, full_likelihoods_step_2, optimal_likelihood, use_autosomes_for_sex_bias, announce=False)#
When step 2 used allosomal data only (
use_autosomes_for_sex_biasis False), selects the full-data (autosomal + allosomal) likelihood computed at the best run’s parameters, if one was computed, and returns it in place ofoptimal_likelihood. Otherwise returnsoptimal_likelihoodunchanged. Ifannounce, reports the substitution.- Return type:
float