diff --git a/browser/src/VariantList/mergeExomeAndGenomeData.spec.ts b/browser/src/VariantList/mergeExomeAndGenomeData.spec.ts index e93c09361..189584372 100644 --- a/browser/src/VariantList/mergeExomeAndGenomeData.spec.ts +++ b/browser/src/VariantList/mergeExomeAndGenomeData.spec.ts @@ -329,11 +329,9 @@ describe('mergeExomeAndGenomeData', () => { ac: 10, hemizygote_count: 20, homozygote_count: 30, - fafmax: { - faf95_max: null, - faf95_max_gen_anc: null, - faf99_max: null, - faf99_max_gen_anc: null, + faf95: { + popmax: null, + popmax_population: null, }, an: 40, filters: ['discrepant_frequencies'], @@ -390,11 +388,9 @@ describe('mergeExomeAndGenomeData', () => { ac: 10, hemizygote_count: 20, homozygote_count: 30, - fafmax: { - faf95_max: null, - faf95_max_gen_anc: null, - faf99_max: null, - faf99_max_gen_anc: null, + faf95: { + popmax: null, + popmax_population: null, }, an: 40, filters: ['discrepant_frequencies'], @@ -472,11 +468,9 @@ describe('mergeExomeAndGenomeData', () => { hemizygote_count: 20, homozygote_count: 30, an: 40, - fafmax: { - faf95_max: null, - faf95_max_gen_anc: null, - faf99_max: null, - faf99_max_gen_anc: null, + faf95: { + popmax: null, + popmax_population: null, }, filters: ['discrepant_frequencies'], populations: jointGeneticAncestryGroupObjects, diff --git a/browser/src/VariantPage/VariantPage.tsx b/browser/src/VariantPage/VariantPage.tsx index d239f52a2..f570b95ba 100644 --- a/browser/src/VariantPage/VariantPage.tsx +++ b/browser/src/VariantPage/VariantPage.tsx @@ -191,6 +191,7 @@ type BaseSequencingType = { an: number homozygote_count: number hemizygote_count: number + faf95: Faf95 filters: Filter[] populations: Population[] age_distribution: AgeDistribution | null @@ -202,16 +203,9 @@ export type SequencingType = BaseSequencingType & { ac_hom: number ac_hemi: number af?: number - faf95: Faf95 } export type JointSequencingType = BaseSequencingType & { - fafmax: { - faf95_max: number | null - faf95_max_gen_anc: PopulationId | null - faf99_max: number | null - faf99_max_gen_anc: PopulationId | null - } freq_comparison_stats: { contingency_table_test: { p_value: number