From 129ec05eb1faaaead16bd7bcb4b76e68b22b114e Mon Sep 17 00:00:00 2001
From: Felix Hennig
+ Time frame for sequence selection. Shorter windows reduce dominance of well-sequenced historical + variants, yielding higher Jaccard values for emerging variants with fewer clinical sequences. Use this + filter to exclude variants no longer in circulation when assessing significance of current mutations. +
); } diff --git a/website/src/components/pageStateSelectors/wasap/filters/VariantExplorerFilter.browser.spec.tsx b/website/src/components/pageStateSelectors/wasap/filters/VariantExplorerFilter.browser.spec.tsx index e2e23b58e..dca132918 100644 --- a/website/src/components/pageStateSelectors/wasap/filters/VariantExplorerFilter.browser.spec.tsx +++ b/website/src/components/pageStateSelectors/wasap/filters/VariantExplorerFilter.browser.spec.tsx @@ -17,6 +17,7 @@ describe('VariantExplorerFilter', () => { minProportion: 0.05, minCount: 10, minJaccard: 0.5, + timeFrame: 'all', }; it('calls setPageState when changing sequence type', async ({ routeMockers: { lapis } }) => { diff --git a/website/src/components/pageStateSelectors/wasap/filters/VariantExplorerFilter.tsx b/website/src/components/pageStateSelectors/wasap/filters/VariantExplorerFilter.tsx index 86624a8c3..1186e83d8 100644 --- a/website/src/components/pageStateSelectors/wasap/filters/VariantExplorerFilter.tsx +++ b/website/src/components/pageStateSelectors/wasap/filters/VariantExplorerFilter.tsx @@ -1,6 +1,10 @@ import { Inset } from '../../../../styles/Inset'; import { GsLineageFilter } from '../../../genspectrum/GsLineageFilter'; -import type { WasapVariantFilter } from '../../../views/wasap/wasapPageConfig'; +import { + VARIANT_TIME_FRAME, + type VariantTimeFrame, + type WasapVariantFilter, +} from '../../../views/wasap/wasapPageConfig'; import { SelectorHeadline } from '../../SelectorHeadline'; import { DefineClinicalSignatureInfo } from '../InfoBlocks'; import { LabeledField } from '../utils/LabeledField'; @@ -70,6 +74,17 @@ export function VariantExplorerFilter({ step={0.01} onChange={(v) => setPageState({ ...pageState, minJaccard: v })} /> +To proceed, please select two or more variants in the variant filter.
-- Note that the dataset filter is applied to all variants. Adjust the dataset filter as needed to refine your - selection. -
-To proceed, please select two or more variants in the variant filter.
++ Note that the dataset filter is applied to all variants. Adjust the dataset filter as needed to + refine your selection. +
+To proceed, please select a variant filter.
-- If no baseline is selected all sequences will be used as a baseline for comparing against sequences with a - specified variant. Note that the dataset filter is applied to the entire dataset including both the baseline - and variant subsets. Adjust the dataset filter as needed to refine your selection. -
-To proceed, please select a variant filter.
++ If no baseline is selected all sequences will be used as a baseline for comparing against sequences + with a specified variant. Note that the dataset filter is applied to the entire dataset including + both the baseline and variant subsets. Adjust the dataset filter as needed to refine your selection. +
+You can download a list of accessions that are used for the visualizations on this page:
-You can download a list of accessions that are used for the visualizations on this page:
+