Skip to content

Commit

Permalink
Update RSV copy (#629)
Browse files Browse the repository at this point in the history
* Update RSV copy on homepage (closes #628)

* Add RSV example images
  • Loading branch information
atc3 authored Aug 19, 2023
1 parent cb8a136 commit 6fe2047
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 15 deletions.
30 changes: 21 additions & 9 deletions src/components/Viz/SurveillancePlot.js
Original file line number Diff line number Diff line change
Expand Up @@ -468,17 +468,29 @@ const SurveillancePlot = observer(({ width }) => {
? config.surv_start_date
: `the last ${config.surv_start_date_days_ago} days`}{' '}
is shown, and sequence counts are grouped by {survPeriodText} to reduce
noise. Please note that the most recent data (most recent month marked
by darker-colored band) is sparser due to lags in time between sample
collection and submission.
noise.{' '}
{/* Only specify meaning of dark band if data is grouped in months or more frequent bins */}
{config.surv_period !== 'Y' && (
<>
Please note that the most recent data (most recent month marked by
darker-colored band) is sparser due to lags in time between sample
collection and submission.
</>
)}
</HelpText>
{/* Only show the help text for surveillance settings for SAR2 */}
{config.virus === 'sars2' && (
<HelpText>
{groupName}s that do not meet the conditions defined by
&quot;Displayed {groupName}&quot; in all six continents are filtered
out of this plot. &quot;Highlighted {groupName}&quot; meeting the
user-defined conditions in at least one out of the six continents are
shown in the legend to the left.
</HelpText>
)}
<HelpText>
{groupName}s that do not meet the conditions defined by &quot;Displayed{' '}
{groupName}&quot; in all six continents are filtered out of this plot.
&quot;Highlighted {groupName}&quot; meeting the user-defined conditions
in at least one out of the six continents are shown in the legend to the
left. Hover over {groupName}s in the legend, or near them in the plots,
to highlight the {groupName} across all plots.
Hover over {groupName}s in the legend, or near them in the plots, to
highlight the {groupName} across all plots.
</HelpText>
<WarningBox
show={plotSettingsStore.surveillanceShowWarning}
Expand Down
12 changes: 6 additions & 6 deletions src/examples/examples.rsv.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ export default function examples({ selectTree }) {
{
title: 'Global Genotypes',
description: 'View the growth of genotypes over all locations',
// image:
// 'https://storage.googleapis.com/ve-public/example/global_lineages.png',
image:
'https://storage.googleapis.com/ve-public/example/rsv_global_genotypes.png',
settings: {
plotSettings: {
groupStackNormMode: NORM_MODES.NORM_PERCENTAGES,
Expand All @@ -70,8 +70,8 @@ export default function examples({ selectTree }) {
title: 'Europe: Fusion A',
description:
'View mutations in the fusion (F) gene in A subtypes, in Europe over all time',
// image:
// 'https://storage.googleapis.com/ve-public/example/global_lineages.png',
image:
'https://storage.googleapis.com/ve-public/example/rsv_europe_fusion_a.png',
settings: {
plotSettings: {
groupStackNormMode: NORM_MODES.NORM_PERCENTAGES,
Expand Down Expand Up @@ -102,8 +102,8 @@ export default function examples({ selectTree }) {
title: 'North America: Fusion B',
description:
'View mutations in the fusion (F) gene in B subtypes, in North America over all time',
// image:
// 'https://storage.googleapis.com/ve-public/example/global_lineages.png',
image:
'https://storage.googleapis.com/ve-public/example/rsv_na_fusion_b.png',
settings: {
plotSettings: {
groupStackNormMode: NORM_MODES.NORM_PERCENTAGES,
Expand Down

0 comments on commit 6fe2047

Please sign in to comment.