Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyhgrant committed May 8, 2024
1 parent 6bc1175 commit aa04a4b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 22 deletions.
24 changes: 9 additions & 15 deletions browser/src/VariantList/mergeExomeAndGenomeData.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down Expand Up @@ -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'],
Expand Down Expand Up @@ -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,
Expand Down
8 changes: 1 addition & 7 deletions browser/src/VariantPage/VariantPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ type BaseSequencingType = {
an: number
homozygote_count: number
hemizygote_count: number
faf95: Faf95
filters: Filter[]
populations: Population[]
age_distribution: AgeDistribution | null
Expand All @@ -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
Expand Down

0 comments on commit aa04a4b

Please sign in to comment.