def sequential_cohort_test_thresholded_values(cohs):
    'Compare thresholded gene-level calls for input tumor types.'
    df_out = pd.DataFrame([])
    for coh in cohs:
        (df_hg38, df_hg19) = load_data(coh, thresh=True)
        df_results = thresholded_value_comparison(df_hg38, df_hg19, metric='hamming')
        df_results.columns = [coh]
        df_out = df_out.join(df_results, how='outer')
    df_out.to_csv('../readout/DiscordantSampleFractions_perGene_perCohort_thresholdedCalls.tsv', sep='\t')
    return df_out
Compare thresholded gene-level calls for input tumor types.
def sequential_cohort_test_thresholded_values(cohs):
    
    df_out = pd.DataFrame([])
    for coh in cohs:
        (df_hg38, df_hg19) = load_data(coh, thresh=True)
        df_results = thresholded_value_comparison(df_hg38, df_hg19, metric='hamming')
        df_results.columns = [coh]
        df_out = df_out.join(df_results, how='outer')
    df_out.to_csv('../readout/DiscordantSampleFractions_perGene_perCohort_thresholdedCalls.tsv', sep='\t')
    return df_out