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_bias is False), selects the full-data (autosomal + allosomal) likelihood computed at the best run’s parameters, if one was computed, and returns it in place of optimal_likelihood. Otherwise returns optimal_likelihood unchanged. If announce, reports the substitution.

Return type:

float