@vitessce/constants-internal 3.5.4 → 3.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -17,7 +17,8 @@ const ViewType = {
17
17
  DOT_PLOT: "dotPlot",
18
18
  FEATURE_BAR_PLOT: "featureBarPlot",
19
19
  BIOMARKER_SELECT: "biomarkerSelect",
20
- LINK_CONTROLLER: "linkController"
20
+ LINK_CONTROLLER: "linkController",
21
+ DUAL_SCATTERPLOT: "dualScatterplot"
21
22
  };
22
23
  const DataType = {
23
24
  OBS_LABELS: "obsLabels",
@@ -218,15 +219,23 @@ const CoordinationType = {
218
219
  HEATMAP_ZOOM_Y: "heatmapZoomY",
219
220
  HEATMAP_TARGET_X: "heatmapTargetX",
220
221
  HEATMAP_TARGET_Y: "heatmapTargetY",
221
- OBS_FILTER: "obsFilter",
222
222
  OBS_HIGHLIGHT: "obsHighlight",
223
+ OBS_SELECTION: "obsSelection",
223
224
  OBS_SET_SELECTION: "obsSetSelection",
225
+ OBS_SELECTION_MODE: "obsSelectionMode",
226
+ OBS_FILTER: "obsFilter",
227
+ OBS_SET_FILTER: "obsSetFilter",
228
+ OBS_FILTER_MODE: "obsFilterMode",
224
229
  OBS_SET_HIGHLIGHT: "obsSetHighlight",
225
230
  OBS_SET_EXPANSION: "obsSetExpansion",
226
231
  OBS_SET_COLOR: "obsSetColor",
227
- FEATURE_FILTER: "featureFilter",
228
232
  FEATURE_HIGHLIGHT: "featureHighlight",
229
233
  FEATURE_SELECTION: "featureSelection",
234
+ FEATURE_SET_SELECTION: "featureSetSelection",
235
+ FEATURE_SELECTION_MODE: "featureSelectionMode",
236
+ FEATURE_FILTER: "featureFilter",
237
+ FEATURE_SET_FILTER: "featureSetFilter",
238
+ FEATURE_FILTER_MODE: "featureFilterMode",
230
239
  FEATURE_VALUE_COLORMAP: "featureValueColormap",
231
240
  FEATURE_VALUE_TRANSFORM: "featureValueTransform",
232
241
  FEATURE_VALUE_COLORMAP_RANGE: "featureValueColormapRange",
@@ -293,7 +302,12 @@ const CoordinationType = {
293
302
  SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
294
303
  // Multi-sample / comparative
295
304
  SAMPLE_TYPE: "sampleType",
305
+ SAMPLE_SELECTION: "sampleSelection",
296
306
  SAMPLE_SET_SELECTION: "sampleSetSelection",
307
+ SAMPLE_SELECTION_MODE: "sampleSelectionMode",
308
+ SAMPLE_FILTER: "sampleFilter",
309
+ SAMPLE_SET_FILTER: "sampleSetFilter",
310
+ SAMPLE_FILTER_MODE: "sampleFilterMode",
297
311
  SAMPLE_SET_COLOR: "sampleSetColor",
298
312
  EMBEDDING_POINTS_VISIBLE: "embeddingPointsVisible",
299
313
  EMBEDDING_CONTOURS_VISIBLE: "embeddingContoursVisible",
@@ -528,6 +542,50 @@ const COMPONENT_COORDINATION_TYPES = {
528
542
  CoordinationType.OBS_FILTER,
529
543
  CoordinationType.OBS_HIGHLIGHT,
530
544
  CoordinationType.OBS_SET_SELECTION,
545
+ CoordinationType.OBS_SET_FILTER,
546
+ CoordinationType.OBS_SET_HIGHLIGHT,
547
+ CoordinationType.OBS_SET_COLOR,
548
+ CoordinationType.FEATURE_HIGHLIGHT,
549
+ CoordinationType.FEATURE_SELECTION,
550
+ CoordinationType.FEATURE_VALUE_COLORMAP,
551
+ CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
552
+ CoordinationType.OBS_COLOR_ENCODING,
553
+ CoordinationType.ADDITIONAL_OBS_SETS,
554
+ CoordinationType.TOOLTIPS_VISIBLE,
555
+ CoordinationType.SAMPLE_TYPE,
556
+ CoordinationType.SAMPLE_SET_SELECTION,
557
+ CoordinationType.SAMPLE_SET_FILTER,
558
+ CoordinationType.SAMPLE_SET_COLOR,
559
+ CoordinationType.EMBEDDING_POINTS_VISIBLE,
560
+ CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
561
+ CoordinationType.EMBEDDING_CONTOURS_FILLED,
562
+ CoordinationType.EMBEDDING_CONTOUR_PERCENTILES,
563
+ CoordinationType.CONTOUR_COLOR_ENCODING,
564
+ CoordinationType.CONTOUR_COLOR
565
+ ],
566
+ [ViewType.DUAL_SCATTERPLOT]: [
567
+ CoordinationType.DATASET,
568
+ CoordinationType.OBS_TYPE,
569
+ CoordinationType.FEATURE_TYPE,
570
+ CoordinationType.FEATURE_VALUE_TYPE,
571
+ CoordinationType.OBS_LABELS_TYPE,
572
+ CoordinationType.EMBEDDING_TYPE,
573
+ CoordinationType.EMBEDDING_ZOOM,
574
+ CoordinationType.EMBEDDING_ROTATION,
575
+ CoordinationType.EMBEDDING_TARGET_X,
576
+ CoordinationType.EMBEDDING_TARGET_Y,
577
+ CoordinationType.EMBEDDING_TARGET_Z,
578
+ CoordinationType.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
579
+ CoordinationType.EMBEDDING_OBS_SET_LABELS_VISIBLE,
580
+ CoordinationType.EMBEDDING_OBS_SET_LABEL_SIZE,
581
+ CoordinationType.EMBEDDING_OBS_RADIUS,
582
+ CoordinationType.EMBEDDING_OBS_RADIUS_MODE,
583
+ CoordinationType.EMBEDDING_OBS_OPACITY,
584
+ CoordinationType.EMBEDDING_OBS_OPACITY_MODE,
585
+ CoordinationType.OBS_FILTER,
586
+ CoordinationType.OBS_HIGHLIGHT,
587
+ CoordinationType.OBS_SET_SELECTION,
588
+ CoordinationType.OBS_SET_FILTER,
531
589
  CoordinationType.OBS_SET_HIGHLIGHT,
532
590
  CoordinationType.OBS_SET_COLOR,
533
591
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -539,6 +597,7 @@ const COMPONENT_COORDINATION_TYPES = {
539
597
  CoordinationType.TOOLTIPS_VISIBLE,
540
598
  CoordinationType.SAMPLE_TYPE,
541
599
  CoordinationType.SAMPLE_SET_SELECTION,
600
+ CoordinationType.SAMPLE_SET_FILTER,
542
601
  CoordinationType.SAMPLE_SET_COLOR,
543
602
  CoordinationType.EMBEDDING_POINTS_VISIBLE,
544
603
  CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
@@ -605,6 +664,7 @@ const COMPONENT_COORDINATION_TYPES = {
605
664
  CoordinationType.OBS_FILTER,
606
665
  CoordinationType.OBS_HIGHLIGHT,
607
666
  CoordinationType.OBS_SET_SELECTION,
667
+ CoordinationType.OBS_SET_FILTER,
608
668
  CoordinationType.OBS_SET_HIGHLIGHT,
609
669
  CoordinationType.OBS_SET_COLOR,
610
670
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -641,6 +701,7 @@ const COMPONENT_COORDINATION_TYPES = {
641
701
  CoordinationType.OBS_FILTER,
642
702
  CoordinationType.OBS_HIGHLIGHT,
643
703
  CoordinationType.OBS_SET_SELECTION,
704
+ CoordinationType.OBS_SET_FILTER,
644
705
  CoordinationType.OBS_SET_HIGHLIGHT,
645
706
  CoordinationType.OBS_SET_COLOR,
646
707
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -700,6 +761,7 @@ const COMPONENT_COORDINATION_TYPES = {
700
761
  CoordinationType.OBS_FILTER,
701
762
  CoordinationType.OBS_HIGHLIGHT,
702
763
  CoordinationType.OBS_SET_SELECTION,
764
+ CoordinationType.OBS_SET_FILTER,
703
765
  CoordinationType.OBS_SET_HIGHLIGHT,
704
766
  CoordinationType.OBS_SET_COLOR,
705
767
  CoordinationType.FEATURE_FILTER,
@@ -715,6 +777,7 @@ const COMPONENT_COORDINATION_TYPES = {
715
777
  CoordinationType.DATASET,
716
778
  CoordinationType.OBS_TYPE,
717
779
  CoordinationType.OBS_SET_SELECTION,
780
+ CoordinationType.OBS_SET_FILTER,
718
781
  CoordinationType.OBS_SET_EXPANSION,
719
782
  CoordinationType.OBS_SET_HIGHLIGHT,
720
783
  CoordinationType.OBS_SET_COLOR,
@@ -726,6 +789,7 @@ const COMPONENT_COORDINATION_TYPES = {
726
789
  CoordinationType.DATASET,
727
790
  CoordinationType.OBS_TYPE,
728
791
  CoordinationType.OBS_SET_SELECTION,
792
+ CoordinationType.OBS_SET_FILTER,
729
793
  CoordinationType.OBS_SET_EXPANSION,
730
794
  CoordinationType.OBS_SET_HIGHLIGHT,
731
795
  CoordinationType.OBS_SET_COLOR,
@@ -758,6 +822,7 @@ const COMPONENT_COORDINATION_TYPES = {
758
822
  CoordinationType.FEATURE_VALUE_TRANSFORM,
759
823
  CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
760
824
  CoordinationType.OBS_SET_SELECTION,
825
+ CoordinationType.OBS_SET_FILTER,
761
826
  CoordinationType.OBS_SET_HIGHLIGHT,
762
827
  CoordinationType.OBS_SET_COLOR,
763
828
  CoordinationType.ADDITIONAL_OBS_SETS,
@@ -774,7 +839,8 @@ const COMPONENT_COORDINATION_TYPES = {
774
839
  CoordinationType.ADDITIONAL_OBS_SETS,
775
840
  CoordinationType.OBS_SET_COLOR,
776
841
  CoordinationType.OBS_COLOR_ENCODING,
777
- CoordinationType.OBS_SET_SELECTION
842
+ CoordinationType.OBS_SET_SELECTION,
843
+ CoordinationType.OBS_SET_FILTER
778
844
  ],
779
845
  [ViewType.LAYER_CONTROLLER]: [
780
846
  CoordinationType.DATASET,
@@ -889,11 +955,13 @@ const COMPONENT_COORDINATION_TYPES = {
889
955
  CoordinationType.FEATURE_VALUE_POSITIVITY_THRESHOLD,
890
956
  CoordinationType.FEATURE_VALUE_COLORMAP,
891
957
  CoordinationType.OBS_SET_SELECTION,
958
+ CoordinationType.OBS_SET_FILTER,
892
959
  CoordinationType.OBS_SET_HIGHLIGHT,
893
960
  CoordinationType.OBS_SET_COLOR,
894
961
  CoordinationType.ADDITIONAL_OBS_SETS,
895
962
  CoordinationType.SAMPLE_TYPE,
896
963
  CoordinationType.SAMPLE_SET_SELECTION,
964
+ CoordinationType.SAMPLE_SET_FILTER,
897
965
  CoordinationType.SAMPLE_SET_COLOR
898
966
  ],
899
967
  higlass: [
@@ -924,15 +992,18 @@ const COMPONENT_COORDINATION_TYPES = {
924
992
  [ViewType.LINK_CONTROLLER]: [],
925
993
  [ViewType.BIOMARKER_SELECT]: [
926
994
  CoordinationType.FEATURE_SELECTION,
927
- CoordinationType.SAMPLE_SET_SELECTION
995
+ CoordinationType.SAMPLE_SET_SELECTION,
996
+ CoordinationType.SAMPLE_SET_FILTER,
997
+ CoordinationType.OBS_SET_SELECTION,
998
+ CoordinationType.OBS_SET_FILTER
928
999
  // TODO: create coordination types for internal state of the biomarker selection view?
929
1000
  ]
930
1001
  };
931
1002
  const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
932
- const version = "3.5.4";
933
- const date = "2025-01-14";
1003
+ const version = "3.5.6";
1004
+ const date = "2025-01-29";
934
1005
  const branch = "changeset-release/main";
935
- const hash = "76d60b64";
1006
+ const hash = "c8eedf07";
936
1007
  const version$1 = {
937
1008
  note,
938
1009
  version,
@@ -23,6 +23,7 @@ export declare const ViewType: {
23
23
  FEATURE_BAR_PLOT: string;
24
24
  BIOMARKER_SELECT: string;
25
25
  LINK_CONTROLLER: string;
26
+ DUAL_SCATTERPLOT: string;
26
27
  };
27
28
  export declare const DataType: {
28
29
  OBS_LABELS: string;
@@ -191,15 +192,23 @@ export declare const CoordinationType: {
191
192
  HEATMAP_ZOOM_Y: string;
192
193
  HEATMAP_TARGET_X: string;
193
194
  HEATMAP_TARGET_Y: string;
194
- OBS_FILTER: string;
195
195
  OBS_HIGHLIGHT: string;
196
+ OBS_SELECTION: string;
196
197
  OBS_SET_SELECTION: string;
198
+ OBS_SELECTION_MODE: string;
199
+ OBS_FILTER: string;
200
+ OBS_SET_FILTER: string;
201
+ OBS_FILTER_MODE: string;
197
202
  OBS_SET_HIGHLIGHT: string;
198
203
  OBS_SET_EXPANSION: string;
199
204
  OBS_SET_COLOR: string;
200
- FEATURE_FILTER: string;
201
205
  FEATURE_HIGHLIGHT: string;
202
206
  FEATURE_SELECTION: string;
207
+ FEATURE_SET_SELECTION: string;
208
+ FEATURE_SELECTION_MODE: string;
209
+ FEATURE_FILTER: string;
210
+ FEATURE_SET_FILTER: string;
211
+ FEATURE_FILTER_MODE: string;
203
212
  FEATURE_VALUE_COLORMAP: string;
204
213
  FEATURE_VALUE_TRANSFORM: string;
205
214
  FEATURE_VALUE_COLORMAP_RANGE: string;
@@ -256,7 +265,12 @@ export declare const CoordinationType: {
256
265
  SPATIAL_CHANNEL_LABELS_ORIENTATION: string;
257
266
  SPATIAL_CHANNEL_LABEL_SIZE: string;
258
267
  SAMPLE_TYPE: string;
268
+ SAMPLE_SELECTION: string;
259
269
  SAMPLE_SET_SELECTION: string;
270
+ SAMPLE_SELECTION_MODE: string;
271
+ SAMPLE_FILTER: string;
272
+ SAMPLE_SET_FILTER: string;
273
+ SAMPLE_FILTER_MODE: string;
260
274
  SAMPLE_SET_COLOR: string;
261
275
  EMBEDDING_POINTS_VISIBLE: string;
262
276
  EMBEDDING_CONTOURS_VISIBLE: string;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;CAoBpB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;CAepB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;CAc7B,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwHpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsH5B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,eAAO,MAAM,eAAe;;;CAG3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;CAgB3B,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;CAqBpB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;CAepB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;CAc7B,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwHpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmI5B,CAAC;AAEF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,eAAO,MAAM,eAAe;;;CAG3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;CAgB3B,CAAC"}
@@ -23,6 +23,7 @@ export const ViewType = {
23
23
  FEATURE_BAR_PLOT: 'featureBarPlot',
24
24
  BIOMARKER_SELECT: 'biomarkerSelect',
25
25
  LINK_CONTROLLER: 'linkController',
26
+ DUAL_SCATTERPLOT: 'dualScatterplot',
26
27
  };
27
28
  export const DataType = {
28
29
  OBS_LABELS: 'obsLabels',
@@ -218,15 +219,23 @@ export const CoordinationType = {
218
219
  HEATMAP_ZOOM_Y: 'heatmapZoomY',
219
220
  HEATMAP_TARGET_X: 'heatmapTargetX',
220
221
  HEATMAP_TARGET_Y: 'heatmapTargetY',
221
- OBS_FILTER: 'obsFilter',
222
222
  OBS_HIGHLIGHT: 'obsHighlight',
223
+ OBS_SELECTION: 'obsSelection',
223
224
  OBS_SET_SELECTION: 'obsSetSelection',
225
+ OBS_SELECTION_MODE: 'obsSelectionMode',
226
+ OBS_FILTER: 'obsFilter',
227
+ OBS_SET_FILTER: 'obsSetFilter',
228
+ OBS_FILTER_MODE: 'obsFilterMode',
224
229
  OBS_SET_HIGHLIGHT: 'obsSetHighlight',
225
230
  OBS_SET_EXPANSION: 'obsSetExpansion',
226
231
  OBS_SET_COLOR: 'obsSetColor',
227
- FEATURE_FILTER: 'featureFilter',
228
232
  FEATURE_HIGHLIGHT: 'featureHighlight',
229
233
  FEATURE_SELECTION: 'featureSelection',
234
+ FEATURE_SET_SELECTION: 'featureSetSelection',
235
+ FEATURE_SELECTION_MODE: 'featureSelectionMode',
236
+ FEATURE_FILTER: 'featureFilter',
237
+ FEATURE_SET_FILTER: 'featureSetFilter',
238
+ FEATURE_FILTER_MODE: 'featureFilterMode',
230
239
  FEATURE_VALUE_COLORMAP: 'featureValueColormap',
231
240
  FEATURE_VALUE_TRANSFORM: 'featureValueTransform',
232
241
  FEATURE_VALUE_COLORMAP_RANGE: 'featureValueColormapRange',
@@ -288,7 +297,12 @@ export const CoordinationType = {
288
297
  SPATIAL_CHANNEL_LABEL_SIZE: 'spatialChannelLabelSize',
289
298
  // Multi-sample / comparative
290
299
  SAMPLE_TYPE: 'sampleType',
300
+ SAMPLE_SELECTION: 'sampleSelection',
291
301
  SAMPLE_SET_SELECTION: 'sampleSetSelection',
302
+ SAMPLE_SELECTION_MODE: 'sampleSelectionMode',
303
+ SAMPLE_FILTER: 'sampleFilter',
304
+ SAMPLE_SET_FILTER: 'sampleSetFilter',
305
+ SAMPLE_FILTER_MODE: 'sampleFilterMode',
292
306
  SAMPLE_SET_COLOR: 'sampleSetColor',
293
307
  EMBEDDING_POINTS_VISIBLE: 'embeddingPointsVisible',
294
308
  EMBEDDING_CONTOURS_VISIBLE: 'embeddingContoursVisible',
@@ -1 +1 @@
1
- {"version":3,"file":"coordination.d.ts","sourceRoot":"","sources":["../src/coordination.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,mCAAmC,UAc/C,CAAC;AAEF;;;;;;;KAOK;AACL,eAAO,MAAM,4BAA4B;;;CAsaxC,CAAC"}
1
+ {"version":3,"file":"coordination.d.ts","sourceRoot":"","sources":["../src/coordination.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,mCAAmC,UAc/C,CAAC;AAEF;;;;;;;KAOK;AACL,eAAO,MAAM,4BAA4B;;;CA+dxC,CAAC"}
@@ -52,6 +52,7 @@ export const COMPONENT_COORDINATION_TYPES = {
52
52
  CoordinationType.OBS_FILTER,
53
53
  CoordinationType.OBS_HIGHLIGHT,
54
54
  CoordinationType.OBS_SET_SELECTION,
55
+ CoordinationType.OBS_SET_FILTER,
55
56
  CoordinationType.OBS_SET_HIGHLIGHT,
56
57
  CoordinationType.OBS_SET_COLOR,
57
58
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -63,6 +64,50 @@ export const COMPONENT_COORDINATION_TYPES = {
63
64
  CoordinationType.TOOLTIPS_VISIBLE,
64
65
  CoordinationType.SAMPLE_TYPE,
65
66
  CoordinationType.SAMPLE_SET_SELECTION,
67
+ CoordinationType.SAMPLE_SET_FILTER,
68
+ CoordinationType.SAMPLE_SET_COLOR,
69
+ CoordinationType.EMBEDDING_POINTS_VISIBLE,
70
+ CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
71
+ CoordinationType.EMBEDDING_CONTOURS_FILLED,
72
+ CoordinationType.EMBEDDING_CONTOUR_PERCENTILES,
73
+ CoordinationType.CONTOUR_COLOR_ENCODING,
74
+ CoordinationType.CONTOUR_COLOR,
75
+ ],
76
+ [ViewType.DUAL_SCATTERPLOT]: [
77
+ CoordinationType.DATASET,
78
+ CoordinationType.OBS_TYPE,
79
+ CoordinationType.FEATURE_TYPE,
80
+ CoordinationType.FEATURE_VALUE_TYPE,
81
+ CoordinationType.OBS_LABELS_TYPE,
82
+ CoordinationType.EMBEDDING_TYPE,
83
+ CoordinationType.EMBEDDING_ZOOM,
84
+ CoordinationType.EMBEDDING_ROTATION,
85
+ CoordinationType.EMBEDDING_TARGET_X,
86
+ CoordinationType.EMBEDDING_TARGET_Y,
87
+ CoordinationType.EMBEDDING_TARGET_Z,
88
+ CoordinationType.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
89
+ CoordinationType.EMBEDDING_OBS_SET_LABELS_VISIBLE,
90
+ CoordinationType.EMBEDDING_OBS_SET_LABEL_SIZE,
91
+ CoordinationType.EMBEDDING_OBS_RADIUS,
92
+ CoordinationType.EMBEDDING_OBS_RADIUS_MODE,
93
+ CoordinationType.EMBEDDING_OBS_OPACITY,
94
+ CoordinationType.EMBEDDING_OBS_OPACITY_MODE,
95
+ CoordinationType.OBS_FILTER,
96
+ CoordinationType.OBS_HIGHLIGHT,
97
+ CoordinationType.OBS_SET_SELECTION,
98
+ CoordinationType.OBS_SET_FILTER,
99
+ CoordinationType.OBS_SET_HIGHLIGHT,
100
+ CoordinationType.OBS_SET_COLOR,
101
+ CoordinationType.FEATURE_HIGHLIGHT,
102
+ CoordinationType.FEATURE_SELECTION,
103
+ CoordinationType.FEATURE_VALUE_COLORMAP,
104
+ CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
105
+ CoordinationType.OBS_COLOR_ENCODING,
106
+ CoordinationType.ADDITIONAL_OBS_SETS,
107
+ CoordinationType.TOOLTIPS_VISIBLE,
108
+ CoordinationType.SAMPLE_TYPE,
109
+ CoordinationType.SAMPLE_SET_SELECTION,
110
+ CoordinationType.SAMPLE_SET_FILTER,
66
111
  CoordinationType.SAMPLE_SET_COLOR,
67
112
  CoordinationType.EMBEDDING_POINTS_VISIBLE,
68
113
  CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
@@ -129,6 +174,7 @@ export const COMPONENT_COORDINATION_TYPES = {
129
174
  CoordinationType.OBS_FILTER,
130
175
  CoordinationType.OBS_HIGHLIGHT,
131
176
  CoordinationType.OBS_SET_SELECTION,
177
+ CoordinationType.OBS_SET_FILTER,
132
178
  CoordinationType.OBS_SET_HIGHLIGHT,
133
179
  CoordinationType.OBS_SET_COLOR,
134
180
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -165,6 +211,7 @@ export const COMPONENT_COORDINATION_TYPES = {
165
211
  CoordinationType.OBS_FILTER,
166
212
  CoordinationType.OBS_HIGHLIGHT,
167
213
  CoordinationType.OBS_SET_SELECTION,
214
+ CoordinationType.OBS_SET_FILTER,
168
215
  CoordinationType.OBS_SET_HIGHLIGHT,
169
216
  CoordinationType.OBS_SET_COLOR,
170
217
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -224,6 +271,7 @@ export const COMPONENT_COORDINATION_TYPES = {
224
271
  CoordinationType.OBS_FILTER,
225
272
  CoordinationType.OBS_HIGHLIGHT,
226
273
  CoordinationType.OBS_SET_SELECTION,
274
+ CoordinationType.OBS_SET_FILTER,
227
275
  CoordinationType.OBS_SET_HIGHLIGHT,
228
276
  CoordinationType.OBS_SET_COLOR,
229
277
  CoordinationType.FEATURE_FILTER,
@@ -239,6 +287,7 @@ export const COMPONENT_COORDINATION_TYPES = {
239
287
  CoordinationType.DATASET,
240
288
  CoordinationType.OBS_TYPE,
241
289
  CoordinationType.OBS_SET_SELECTION,
290
+ CoordinationType.OBS_SET_FILTER,
242
291
  CoordinationType.OBS_SET_EXPANSION,
243
292
  CoordinationType.OBS_SET_HIGHLIGHT,
244
293
  CoordinationType.OBS_SET_COLOR,
@@ -250,6 +299,7 @@ export const COMPONENT_COORDINATION_TYPES = {
250
299
  CoordinationType.DATASET,
251
300
  CoordinationType.OBS_TYPE,
252
301
  CoordinationType.OBS_SET_SELECTION,
302
+ CoordinationType.OBS_SET_FILTER,
253
303
  CoordinationType.OBS_SET_EXPANSION,
254
304
  CoordinationType.OBS_SET_HIGHLIGHT,
255
305
  CoordinationType.OBS_SET_COLOR,
@@ -282,6 +332,7 @@ export const COMPONENT_COORDINATION_TYPES = {
282
332
  CoordinationType.FEATURE_VALUE_TRANSFORM,
283
333
  CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
284
334
  CoordinationType.OBS_SET_SELECTION,
335
+ CoordinationType.OBS_SET_FILTER,
285
336
  CoordinationType.OBS_SET_HIGHLIGHT,
286
337
  CoordinationType.OBS_SET_COLOR,
287
338
  CoordinationType.ADDITIONAL_OBS_SETS,
@@ -299,6 +350,7 @@ export const COMPONENT_COORDINATION_TYPES = {
299
350
  CoordinationType.OBS_SET_COLOR,
300
351
  CoordinationType.OBS_COLOR_ENCODING,
301
352
  CoordinationType.OBS_SET_SELECTION,
353
+ CoordinationType.OBS_SET_FILTER,
302
354
  ],
303
355
  [ViewType.LAYER_CONTROLLER]: [
304
356
  CoordinationType.DATASET,
@@ -413,11 +465,13 @@ export const COMPONENT_COORDINATION_TYPES = {
413
465
  CoordinationType.FEATURE_VALUE_POSITIVITY_THRESHOLD,
414
466
  CoordinationType.FEATURE_VALUE_COLORMAP,
415
467
  CoordinationType.OBS_SET_SELECTION,
468
+ CoordinationType.OBS_SET_FILTER,
416
469
  CoordinationType.OBS_SET_HIGHLIGHT,
417
470
  CoordinationType.OBS_SET_COLOR,
418
471
  CoordinationType.ADDITIONAL_OBS_SETS,
419
472
  CoordinationType.SAMPLE_TYPE,
420
473
  CoordinationType.SAMPLE_SET_SELECTION,
474
+ CoordinationType.SAMPLE_SET_FILTER,
421
475
  CoordinationType.SAMPLE_SET_COLOR,
422
476
  ],
423
477
  higlass: [
@@ -449,6 +503,9 @@ export const COMPONENT_COORDINATION_TYPES = {
449
503
  [ViewType.BIOMARKER_SELECT]: [
450
504
  CoordinationType.FEATURE_SELECTION,
451
505
  CoordinationType.SAMPLE_SET_SELECTION,
506
+ CoordinationType.SAMPLE_SET_FILTER,
507
+ CoordinationType.OBS_SET_SELECTION,
508
+ CoordinationType.OBS_SET_FILTER,
452
509
  // TODO: create coordination types for internal state of the biomarker selection view?
453
510
  ],
454
511
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "note": "This file is autogenerated by .changeset/post-changelog.mjs.",
3
- "version": "3.5.4",
4
- "date": "2025-01-14",
3
+ "version": "3.5.6",
4
+ "date": "2025-01-29",
5
5
  "branch": "changeset-release/main",
6
- "hash": "76d60b64"
6
+ "hash": "c8eedf07"
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/constants-internal",
3
- "version": "3.5.4",
3
+ "version": "3.5.6",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
package/src/constants.ts CHANGED
@@ -23,6 +23,7 @@ export const ViewType = {
23
23
  FEATURE_BAR_PLOT: 'featureBarPlot',
24
24
  BIOMARKER_SELECT: 'biomarkerSelect',
25
25
  LINK_CONTROLLER: 'linkController',
26
+ DUAL_SCATTERPLOT: 'dualScatterplot',
26
27
  };
27
28
 
28
29
  export const DataType = {
@@ -224,15 +225,23 @@ export const CoordinationType = {
224
225
  HEATMAP_ZOOM_Y: 'heatmapZoomY',
225
226
  HEATMAP_TARGET_X: 'heatmapTargetX',
226
227
  HEATMAP_TARGET_Y: 'heatmapTargetY',
227
- OBS_FILTER: 'obsFilter',
228
228
  OBS_HIGHLIGHT: 'obsHighlight',
229
+ OBS_SELECTION: 'obsSelection',
229
230
  OBS_SET_SELECTION: 'obsSetSelection',
231
+ OBS_SELECTION_MODE: 'obsSelectionMode',
232
+ OBS_FILTER: 'obsFilter',
233
+ OBS_SET_FILTER: 'obsSetFilter',
234
+ OBS_FILTER_MODE: 'obsFilterMode',
230
235
  OBS_SET_HIGHLIGHT: 'obsSetHighlight',
231
236
  OBS_SET_EXPANSION: 'obsSetExpansion',
232
237
  OBS_SET_COLOR: 'obsSetColor',
233
- FEATURE_FILTER: 'featureFilter',
234
238
  FEATURE_HIGHLIGHT: 'featureHighlight',
235
239
  FEATURE_SELECTION: 'featureSelection',
240
+ FEATURE_SET_SELECTION: 'featureSetSelection',
241
+ FEATURE_SELECTION_MODE: 'featureSelectionMode',
242
+ FEATURE_FILTER: 'featureFilter',
243
+ FEATURE_SET_FILTER: 'featureSetFilter',
244
+ FEATURE_FILTER_MODE: 'featureFilterMode',
236
245
  FEATURE_VALUE_COLORMAP: 'featureValueColormap',
237
246
  FEATURE_VALUE_TRANSFORM: 'featureValueTransform',
238
247
  FEATURE_VALUE_COLORMAP_RANGE: 'featureValueColormapRange',
@@ -294,7 +303,12 @@ export const CoordinationType = {
294
303
  SPATIAL_CHANNEL_LABEL_SIZE: 'spatialChannelLabelSize',
295
304
  // Multi-sample / comparative
296
305
  SAMPLE_TYPE: 'sampleType',
306
+ SAMPLE_SELECTION: 'sampleSelection',
297
307
  SAMPLE_SET_SELECTION: 'sampleSetSelection',
308
+ SAMPLE_SELECTION_MODE: 'sampleSelectionMode',
309
+ SAMPLE_FILTER: 'sampleFilter',
310
+ SAMPLE_SET_FILTER: 'sampleSetFilter',
311
+ SAMPLE_FILTER_MODE: 'sampleFilterMode',
298
312
  SAMPLE_SET_COLOR: 'sampleSetColor',
299
313
  EMBEDDING_POINTS_VISIBLE: 'embeddingPointsVisible',
300
314
  EMBEDDING_CONTOURS_VISIBLE: 'embeddingContoursVisible',
@@ -54,6 +54,7 @@ export const COMPONENT_COORDINATION_TYPES = {
54
54
  CoordinationType.OBS_FILTER,
55
55
  CoordinationType.OBS_HIGHLIGHT,
56
56
  CoordinationType.OBS_SET_SELECTION,
57
+ CoordinationType.OBS_SET_FILTER,
57
58
  CoordinationType.OBS_SET_HIGHLIGHT,
58
59
  CoordinationType.OBS_SET_COLOR,
59
60
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -65,6 +66,50 @@ export const COMPONENT_COORDINATION_TYPES = {
65
66
  CoordinationType.TOOLTIPS_VISIBLE,
66
67
  CoordinationType.SAMPLE_TYPE,
67
68
  CoordinationType.SAMPLE_SET_SELECTION,
69
+ CoordinationType.SAMPLE_SET_FILTER,
70
+ CoordinationType.SAMPLE_SET_COLOR,
71
+ CoordinationType.EMBEDDING_POINTS_VISIBLE,
72
+ CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
73
+ CoordinationType.EMBEDDING_CONTOURS_FILLED,
74
+ CoordinationType.EMBEDDING_CONTOUR_PERCENTILES,
75
+ CoordinationType.CONTOUR_COLOR_ENCODING,
76
+ CoordinationType.CONTOUR_COLOR,
77
+ ],
78
+ [ViewType.DUAL_SCATTERPLOT]: [
79
+ CoordinationType.DATASET,
80
+ CoordinationType.OBS_TYPE,
81
+ CoordinationType.FEATURE_TYPE,
82
+ CoordinationType.FEATURE_VALUE_TYPE,
83
+ CoordinationType.OBS_LABELS_TYPE,
84
+ CoordinationType.EMBEDDING_TYPE,
85
+ CoordinationType.EMBEDDING_ZOOM,
86
+ CoordinationType.EMBEDDING_ROTATION,
87
+ CoordinationType.EMBEDDING_TARGET_X,
88
+ CoordinationType.EMBEDDING_TARGET_Y,
89
+ CoordinationType.EMBEDDING_TARGET_Z,
90
+ CoordinationType.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
91
+ CoordinationType.EMBEDDING_OBS_SET_LABELS_VISIBLE,
92
+ CoordinationType.EMBEDDING_OBS_SET_LABEL_SIZE,
93
+ CoordinationType.EMBEDDING_OBS_RADIUS,
94
+ CoordinationType.EMBEDDING_OBS_RADIUS_MODE,
95
+ CoordinationType.EMBEDDING_OBS_OPACITY,
96
+ CoordinationType.EMBEDDING_OBS_OPACITY_MODE,
97
+ CoordinationType.OBS_FILTER,
98
+ CoordinationType.OBS_HIGHLIGHT,
99
+ CoordinationType.OBS_SET_SELECTION,
100
+ CoordinationType.OBS_SET_FILTER,
101
+ CoordinationType.OBS_SET_HIGHLIGHT,
102
+ CoordinationType.OBS_SET_COLOR,
103
+ CoordinationType.FEATURE_HIGHLIGHT,
104
+ CoordinationType.FEATURE_SELECTION,
105
+ CoordinationType.FEATURE_VALUE_COLORMAP,
106
+ CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
107
+ CoordinationType.OBS_COLOR_ENCODING,
108
+ CoordinationType.ADDITIONAL_OBS_SETS,
109
+ CoordinationType.TOOLTIPS_VISIBLE,
110
+ CoordinationType.SAMPLE_TYPE,
111
+ CoordinationType.SAMPLE_SET_SELECTION,
112
+ CoordinationType.SAMPLE_SET_FILTER,
68
113
  CoordinationType.SAMPLE_SET_COLOR,
69
114
  CoordinationType.EMBEDDING_POINTS_VISIBLE,
70
115
  CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
@@ -131,6 +176,7 @@ export const COMPONENT_COORDINATION_TYPES = {
131
176
  CoordinationType.OBS_FILTER,
132
177
  CoordinationType.OBS_HIGHLIGHT,
133
178
  CoordinationType.OBS_SET_SELECTION,
179
+ CoordinationType.OBS_SET_FILTER,
134
180
  CoordinationType.OBS_SET_HIGHLIGHT,
135
181
  CoordinationType.OBS_SET_COLOR,
136
182
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -167,6 +213,7 @@ export const COMPONENT_COORDINATION_TYPES = {
167
213
  CoordinationType.OBS_FILTER,
168
214
  CoordinationType.OBS_HIGHLIGHT,
169
215
  CoordinationType.OBS_SET_SELECTION,
216
+ CoordinationType.OBS_SET_FILTER,
170
217
  CoordinationType.OBS_SET_HIGHLIGHT,
171
218
  CoordinationType.OBS_SET_COLOR,
172
219
  CoordinationType.FEATURE_HIGHLIGHT,
@@ -226,6 +273,7 @@ export const COMPONENT_COORDINATION_TYPES = {
226
273
  CoordinationType.OBS_FILTER,
227
274
  CoordinationType.OBS_HIGHLIGHT,
228
275
  CoordinationType.OBS_SET_SELECTION,
276
+ CoordinationType.OBS_SET_FILTER,
229
277
  CoordinationType.OBS_SET_HIGHLIGHT,
230
278
  CoordinationType.OBS_SET_COLOR,
231
279
  CoordinationType.FEATURE_FILTER,
@@ -241,6 +289,7 @@ export const COMPONENT_COORDINATION_TYPES = {
241
289
  CoordinationType.DATASET,
242
290
  CoordinationType.OBS_TYPE,
243
291
  CoordinationType.OBS_SET_SELECTION,
292
+ CoordinationType.OBS_SET_FILTER,
244
293
  CoordinationType.OBS_SET_EXPANSION,
245
294
  CoordinationType.OBS_SET_HIGHLIGHT,
246
295
  CoordinationType.OBS_SET_COLOR,
@@ -252,6 +301,7 @@ export const COMPONENT_COORDINATION_TYPES = {
252
301
  CoordinationType.DATASET,
253
302
  CoordinationType.OBS_TYPE,
254
303
  CoordinationType.OBS_SET_SELECTION,
304
+ CoordinationType.OBS_SET_FILTER,
255
305
  CoordinationType.OBS_SET_EXPANSION,
256
306
  CoordinationType.OBS_SET_HIGHLIGHT,
257
307
  CoordinationType.OBS_SET_COLOR,
@@ -284,6 +334,7 @@ export const COMPONENT_COORDINATION_TYPES = {
284
334
  CoordinationType.FEATURE_VALUE_TRANSFORM,
285
335
  CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
286
336
  CoordinationType.OBS_SET_SELECTION,
337
+ CoordinationType.OBS_SET_FILTER,
287
338
  CoordinationType.OBS_SET_HIGHLIGHT,
288
339
  CoordinationType.OBS_SET_COLOR,
289
340
  CoordinationType.ADDITIONAL_OBS_SETS,
@@ -301,6 +352,7 @@ export const COMPONENT_COORDINATION_TYPES = {
301
352
  CoordinationType.OBS_SET_COLOR,
302
353
  CoordinationType.OBS_COLOR_ENCODING,
303
354
  CoordinationType.OBS_SET_SELECTION,
355
+ CoordinationType.OBS_SET_FILTER,
304
356
  ],
305
357
  [ViewType.LAYER_CONTROLLER]: [
306
358
  CoordinationType.DATASET,
@@ -415,11 +467,13 @@ export const COMPONENT_COORDINATION_TYPES = {
415
467
  CoordinationType.FEATURE_VALUE_POSITIVITY_THRESHOLD,
416
468
  CoordinationType.FEATURE_VALUE_COLORMAP,
417
469
  CoordinationType.OBS_SET_SELECTION,
470
+ CoordinationType.OBS_SET_FILTER,
418
471
  CoordinationType.OBS_SET_HIGHLIGHT,
419
472
  CoordinationType.OBS_SET_COLOR,
420
473
  CoordinationType.ADDITIONAL_OBS_SETS,
421
474
  CoordinationType.SAMPLE_TYPE,
422
475
  CoordinationType.SAMPLE_SET_SELECTION,
476
+ CoordinationType.SAMPLE_SET_FILTER,
423
477
  CoordinationType.SAMPLE_SET_COLOR,
424
478
  ],
425
479
  higlass: [
@@ -451,6 +505,9 @@ export const COMPONENT_COORDINATION_TYPES = {
451
505
  [ViewType.BIOMARKER_SELECT]: [
452
506
  CoordinationType.FEATURE_SELECTION,
453
507
  CoordinationType.SAMPLE_SET_SELECTION,
508
+ CoordinationType.SAMPLE_SET_FILTER,
509
+ CoordinationType.OBS_SET_SELECTION,
510
+ CoordinationType.OBS_SET_FILTER,
454
511
  // TODO: create coordination types for internal state of the biomarker selection view?
455
512
  ],
456
513
  };
package/src/version.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "note": "This file is autogenerated by .changeset/post-changelog.mjs.",
3
- "version": "3.5.4",
4
- "date": "2025-01-14",
3
+ "version": "3.5.6",
4
+ "date": "2025-01-29",
5
5
  "branch": "changeset-release/main",
6
- "hash": "76d60b64"
6
+ "hash": "c8eedf07"
7
7
  }