File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -127,12 +127,19 @@ const organismConfig = getDashboardsConfig().dashboards.organisms;
127
127
pageSize ={ 10 }
128
128
/>
129
129
<GsAggregate
130
- title =' Sub-lineages '
130
+ title =' Nextclade pango lineage '
131
131
fields ={ getLineageFilterFields (view .organismConstants .lineageFilters )}
132
132
lapisFilter ={ variantFilter }
133
133
views ={ [views .table , views .bar ]}
134
134
pageSize ={ 10 }
135
135
/>
136
+ <GsAggregate
137
+ title =' Nextstrain Clade'
138
+ fields ={ getLineageFilterFields (view .organismConstants .nextstrainCladeLineageFilters )}
139
+ lapisFilter ={ variantFilter }
140
+ views ={ [views .table , views .bar ]}
141
+ pageSize ={ 10 }
142
+ />
136
143
{
137
144
subdivisionField !== undefined && (
138
145
<GsAggregate
Original file line number Diff line number Diff line change @@ -45,6 +45,15 @@ class CovidConstants implements OrganismConstants {
45
45
initialValue : undefined ,
46
46
} ,
47
47
] ;
48
+ // Same as `lineageFilters` but for Nextstrain Clade, used for 'Sub-lineages Nextstrain Clade'
49
+ public readonly nextstrainCladeLineageFilters : LineageFilterConfig [ ] = [
50
+ {
51
+ lapisField : 'nextstrainClade' ,
52
+ placeholderText : 'Nextstrain clade' ,
53
+ filterType : 'lineage' as const ,
54
+ initialValue : undefined ,
55
+ } ,
56
+ ] ;
48
57
public readonly useAdvancedQuery = true ;
49
58
public readonly baselineFilterConfigs : BaselineFilterConfig [ ] = [
50
59
{
You can’t perform that action at this time.
0 commit comments