@vitessce/constants-internal 3.9.9 → 4.0.0-test.1
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-tsc/version.json +3 -3
- package/package.json +1 -1
- package/src/version.json +3 -3
- package/dist/index.js +0 -1423
package/dist/index.js
DELETED
|
@@ -1,1423 +0,0 @@
|
|
|
1
|
-
const ViewType = {
|
|
2
|
-
DESCRIPTION: "description",
|
|
3
|
-
STATUS: "status",
|
|
4
|
-
SCATTERPLOT: "scatterplot",
|
|
5
|
-
SPATIAL: "spatial",
|
|
6
|
-
SPATIAL_BETA: "spatialBeta",
|
|
7
|
-
// SPATIAL_ACCELERATED: 'spatialAccelerated',
|
|
8
|
-
HEATMAP: "heatmap",
|
|
9
|
-
LAYER_CONTROLLER: "layerController",
|
|
10
|
-
LAYER_CONTROLLER_BETA: "layerControllerBeta",
|
|
11
|
-
GENOMIC_PROFILES: "genomicProfiles",
|
|
12
|
-
GATING: "gating",
|
|
13
|
-
FEATURE_LIST: "featureList",
|
|
14
|
-
OBS_SETS: "obsSets",
|
|
15
|
-
OBS_SET_SIZES: "obsSetSizes",
|
|
16
|
-
OBS_SET_FEATURE_VALUE_DISTRIBUTION: "obsSetFeatureValueDistribution",
|
|
17
|
-
FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
|
|
18
|
-
DOT_PLOT: "dotPlot",
|
|
19
|
-
FEATURE_BAR_PLOT: "featureBarPlot",
|
|
20
|
-
VOLCANO_PLOT: "volcanoPlot",
|
|
21
|
-
OBS_SET_COMPOSITION_BAR_PLOT: "obsSetCompositionBarPlot",
|
|
22
|
-
FEATURE_SET_ENRICHMENT_BAR_PLOT: "featureSetEnrichmentBarPlot",
|
|
23
|
-
BIOMARKER_SELECT: "biomarkerSelect",
|
|
24
|
-
BIOMARKER_SELECT_ALT: "biomarkerSelectAlt",
|
|
25
|
-
COMPARATIVE_HEADING: "comparativeHeading",
|
|
26
|
-
LINK_CONTROLLER: "linkController",
|
|
27
|
-
NEUROGLANCER: "neuroglancer",
|
|
28
|
-
DUAL_SCATTERPLOT: "dualScatterplot",
|
|
29
|
-
TREEMAP: "treemap",
|
|
30
|
-
SAMPLE_SET_PAIR_MANAGER: "sampleSetPairManager",
|
|
31
|
-
FEATURE_STATS_TABLE: "featureStatsTable"
|
|
32
|
-
};
|
|
33
|
-
const DataType = {
|
|
34
|
-
OBS_LABELS: "obsLabels",
|
|
35
|
-
OBS_EMBEDDING: "obsEmbedding",
|
|
36
|
-
OBS_FEATURE_MATRIX: "obsFeatureMatrix",
|
|
37
|
-
OBS_SETS: "obsSets",
|
|
38
|
-
FEATURE_LABELS: "featureLabels",
|
|
39
|
-
IMAGE: "image",
|
|
40
|
-
OBS_SEGMENTATIONS: "obsSegmentations",
|
|
41
|
-
NEIGHBORHOODS: "neighborhoods",
|
|
42
|
-
GENOMIC_PROFILES: "genomic-profiles",
|
|
43
|
-
OBS_SPOTS: "obsSpots",
|
|
44
|
-
OBS_POINTS: "obsPoints",
|
|
45
|
-
OBS_LOCATIONS: "obsLocations",
|
|
46
|
-
SAMPLE_SETS: "sampleSets",
|
|
47
|
-
SAMPLE_EDGES: "sampleEdges",
|
|
48
|
-
COMPARISON_METADATA: "comparisonMetadata",
|
|
49
|
-
FEATURE_STATS: "featureStats",
|
|
50
|
-
FEATURE_SET_STATS: "featureSetStats",
|
|
51
|
-
OBS_SET_STATS: "obsSetStats"
|
|
52
|
-
};
|
|
53
|
-
const AsyncFunctionType = {
|
|
54
|
-
// String input (rather than Node input)
|
|
55
|
-
AUTOCOMPLETE_FEATURE: "autocompleteFeature",
|
|
56
|
-
// (partial: string, targetModality: null | 'gene' | 'protein' | 'genomic-region' | 'cell-type') -> list of feature nodes
|
|
57
|
-
GET_ALTERNATIVE_TERMS: "getAlternativeTerms",
|
|
58
|
-
// (curieString) -> list of alternative curie strings
|
|
59
|
-
GET_TERM_MAPPING: "getTermMapping",
|
|
60
|
-
// (keyCuriePrefix, valueCuriePrefix) -> Record<curieString, curieString> for key to value
|
|
61
|
-
TRANSFORM_FEATURE: "transformFeature",
|
|
62
|
-
// (featureNode, targetModality) -> list of feature nodes from target modality
|
|
63
|
-
RELATED_FEATURES: "relatedFeatures",
|
|
64
|
-
// (featureNode) -> list of related feature nodes
|
|
65
|
-
FEATURE_TO_URL: "featureToUrl",
|
|
66
|
-
// (featureNode) -> URL
|
|
67
|
-
FEATURE_TO_INTERVAL: "featureToInterval",
|
|
68
|
-
// (featureNode) -> genomic interval { chr, start, end }
|
|
69
|
-
// Cell2Sentence/LLM-based?
|
|
70
|
-
OBS_SET_TO_FEATURES: "obsSetToFeatures",
|
|
71
|
-
// (cell type node) -> list of feature nodes
|
|
72
|
-
FEATURES_TO_OBS_SET: "featuresToObsSet"
|
|
73
|
-
// (list of feature nodes) -> cell type node
|
|
74
|
-
};
|
|
75
|
-
const FileType = {
|
|
76
|
-
// Joint file types
|
|
77
|
-
ANNDATA_ZARR: "anndata.zarr",
|
|
78
|
-
ANNDATA_ZARR_ZIP: "anndata.zarr.zip",
|
|
79
|
-
ANNDATA_H5AD: "anndata.h5ad",
|
|
80
|
-
SPATIALDATA_ZARR: "spatialdata.zarr",
|
|
81
|
-
SPATIALDATA_ZARR_ZIP: "spatialdata.zarr.zip",
|
|
82
|
-
// Atomic file types
|
|
83
|
-
OBS_EMBEDDING_CSV: "obsEmbedding.csv",
|
|
84
|
-
OBS_SPOTS_CSV: "obsSpots.csv",
|
|
85
|
-
OBS_POINTS_CSV: "obsPoints.csv",
|
|
86
|
-
OBS_LOCATIONS_CSV: "obsLocations.csv",
|
|
87
|
-
OBS_LABELS_CSV: "obsLabels.csv",
|
|
88
|
-
FEATURE_LABELS_CSV: "featureLabels.csv",
|
|
89
|
-
OBS_FEATURE_MATRIX_CSV: "obsFeatureMatrix.csv",
|
|
90
|
-
OBS_SEGMENTATIONS_JSON: "obsSegmentations.json",
|
|
91
|
-
OBS_SETS_CSV: "obsSets.csv",
|
|
92
|
-
OBS_SETS_JSON: "obsSets.json",
|
|
93
|
-
SAMPLE_SETS_CSV: "sampleSets.csv",
|
|
94
|
-
// OME-Zarr
|
|
95
|
-
IMAGE_OME_ZARR: "image.ome-zarr",
|
|
96
|
-
OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
|
|
97
|
-
// OME-Zarr - Zipped
|
|
98
|
-
IMAGE_OME_ZARR_ZIP: "image.ome-zarr.zip",
|
|
99
|
-
OBS_SEGMENTATIONS_OME_ZARR_ZIP: "obsSegmentations.ome-zarr.zip",
|
|
100
|
-
// AnnData
|
|
101
|
-
OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
|
|
102
|
-
OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
|
|
103
|
-
OBS_SETS_ANNDATA_ZARR: "obsSets.anndata.zarr",
|
|
104
|
-
OBS_EMBEDDING_ANNDATA_ZARR: "obsEmbedding.anndata.zarr",
|
|
105
|
-
OBS_SPOTS_ANNDATA_ZARR: "obsSpots.anndata.zarr",
|
|
106
|
-
OBS_POINTS_ANNDATA_ZARR: "obsPoints.anndata.zarr",
|
|
107
|
-
OBS_LOCATIONS_ANNDATA_ZARR: "obsLocations.anndata.zarr",
|
|
108
|
-
OBS_SEGMENTATIONS_ANNDATA_ZARR: "obsSegmentations.anndata.zarr",
|
|
109
|
-
OBS_LABELS_ANNDATA_ZARR: "obsLabels.anndata.zarr",
|
|
110
|
-
FEATURE_LABELS_ANNDATA_ZARR: "featureLabels.anndata.zarr",
|
|
111
|
-
SAMPLE_EDGES_ANNDATA_ZARR: "sampleEdges.anndata.zarr",
|
|
112
|
-
SAMPLE_SETS_ANNDATA_ZARR: "sampleSets.anndata.zarr",
|
|
113
|
-
COMPARISON_METADATA_ANNDATA_ZARR: "comparisonMetadata.anndata.zarr",
|
|
114
|
-
COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR: "comparativeFeatureStats.anndata.zarr",
|
|
115
|
-
COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR: "comparativeFeatureSetStats.anndata.zarr",
|
|
116
|
-
COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR: "comparativeObsSetStats.anndata.zarr",
|
|
117
|
-
// AnnData - zipped
|
|
118
|
-
OBS_FEATURE_MATRIX_ANNDATA_ZARR_ZIP: "obsFeatureMatrix.anndata.zarr.zip",
|
|
119
|
-
OBS_FEATURE_COLUMNS_ANNDATA_ZARR_ZIP: "obsFeatureColumns.anndata.zarr.zip",
|
|
120
|
-
OBS_SETS_ANNDATA_ZARR_ZIP: "obsSets.anndata.zarr.zip",
|
|
121
|
-
OBS_EMBEDDING_ANNDATA_ZARR_ZIP: "obsEmbedding.anndata.zarr.zip",
|
|
122
|
-
OBS_SPOTS_ANNDATA_ZARR_ZIP: "obsSpots.anndata.zarr.zip",
|
|
123
|
-
OBS_POINTS_ANNDATA_ZARR_ZIP: "obsPoints.anndata.zarr.zip",
|
|
124
|
-
OBS_LOCATIONS_ANNDATA_ZARR_ZIP: "obsLocations.anndata.zarr.zip",
|
|
125
|
-
OBS_SEGMENTATIONS_ANNDATA_ZARR_ZIP: "obsSegmentations.anndata.zarr.zip",
|
|
126
|
-
OBS_LABELS_ANNDATA_ZARR_ZIP: "obsLabels.anndata.zarr.zip",
|
|
127
|
-
FEATURE_LABELS_ANNDATA_ZARR_ZIP: "featureLabels.anndata.zarr.zip",
|
|
128
|
-
SAMPLE_EDGES_ANNDATA_ZARR_ZIP: "sampleEdges.anndata.zarr.zip",
|
|
129
|
-
SAMPLE_SETS_ANNDATA_ZARR_ZIP: "sampleSets.anndata.zarr.zip",
|
|
130
|
-
COMPARISON_METADATA_ANNDATA_ZARR_ZIP: "comparisonMetadata.anndata.zarr.zip",
|
|
131
|
-
COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR_ZIP: "comparativeFeatureStats.anndata.zarr.zip",
|
|
132
|
-
COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR_ZIP: "comparativeFeatureSetStats.anndata.zarr.zip",
|
|
133
|
-
COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR_ZIP: "comparativeObsSetStats.anndata.zarr.zip",
|
|
134
|
-
// AnnData - h5ad via reference spec
|
|
135
|
-
OBS_FEATURE_MATRIX_ANNDATA_H5AD: "obsFeatureMatrix.anndata.h5ad",
|
|
136
|
-
OBS_FEATURE_COLUMNS_ANNDATA_H5AD: "obsFeatureColumns.anndata.h5ad",
|
|
137
|
-
OBS_SETS_ANNDATA_H5AD: "obsSets.anndata.h5ad",
|
|
138
|
-
OBS_EMBEDDING_ANNDATA_H5AD: "obsEmbedding.anndata.h5ad",
|
|
139
|
-
OBS_SPOTS_ANNDATA_H5AD: "obsSpots.anndata.h5ad",
|
|
140
|
-
OBS_POINTS_ANNDATA_H5AD: "obsPoints.anndata.h5ad",
|
|
141
|
-
OBS_LOCATIONS_ANNDATA_H5AD: "obsLocations.anndata.h5ad",
|
|
142
|
-
OBS_SEGMENTATIONS_ANNDATA_H5AD: "obsSegmentations.anndata.h5ad",
|
|
143
|
-
OBS_LABELS_ANNDATA_H5AD: "obsLabels.anndata.h5ad",
|
|
144
|
-
FEATURE_LABELS_ANNDATA_H5AD: "featureLabels.anndata.h5ad",
|
|
145
|
-
SAMPLE_EDGES_ANNDATA_H5AD: "sampleEdges.anndata.h5ad",
|
|
146
|
-
SAMPLE_SETS_ANNDATA_H5AD: "sampleSets.anndata.h5ad",
|
|
147
|
-
COMPARISON_METADATA_ANNDATA_H5AD: "comparisonMetadata.anndata.h5ad",
|
|
148
|
-
COMPARATIVE_FEATURE_STATS_ANNDATA_H5AD: "comparativeFeatureStats.anndata.h5ad",
|
|
149
|
-
COMPARATIVE_FEATURE_SET_STATS_ANNDATA_H5AD: "comparativeFeatureSetStats.anndata.h5ad",
|
|
150
|
-
COMPARATIVE_OBS_SET_STATS_ANNDATA_H5AD: "comparativeObsSetStats.anndata.h5ad",
|
|
151
|
-
// SpatialData
|
|
152
|
-
IMAGE_SPATIALDATA_ZARR: "image.spatialdata.zarr",
|
|
153
|
-
LABELS_SPATIALDATA_ZARR: "labels.spatialdata.zarr",
|
|
154
|
-
SHAPES_SPATIALDATA_ZARR: "shapes.spatialdata.zarr",
|
|
155
|
-
OBS_FEATURE_MATRIX_SPATIALDATA_ZARR: "obsFeatureMatrix.spatialdata.zarr",
|
|
156
|
-
OBS_SETS_SPATIALDATA_ZARR: "obsSets.spatialdata.zarr",
|
|
157
|
-
OBS_SPOTS_SPATIALDATA_ZARR: "obsSpots.spatialdata.zarr",
|
|
158
|
-
FEATURE_LABELS_SPATIALDATA_ZARR: "featureLabels.spatialdata.zarr",
|
|
159
|
-
OBS_POINTS_SPATIALDATA_ZARR: "obsPoints.spatialdata.zarr",
|
|
160
|
-
OBS_EMBEDDING_SPATIALDATA_ZARR: "obsEmbedding.spatialdata.zarr",
|
|
161
|
-
// SpatialData - zipped
|
|
162
|
-
IMAGE_SPATIALDATA_ZARR_ZIP: "image.spatialdata.zarr.zip",
|
|
163
|
-
LABELS_SPATIALDATA_ZARR_ZIP: "labels.spatialdata.zarr.zip",
|
|
164
|
-
SHAPES_SPATIALDATA_ZARR_ZIP: "shapes.spatialdata.zarr.zip",
|
|
165
|
-
OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP: "obsFeatureMatrix.spatialdata.zarr.zip",
|
|
166
|
-
OBS_SETS_SPATIALDATA_ZARR_ZIP: "obsSets.spatialdata.zarr.zip",
|
|
167
|
-
OBS_SPOTS_SPATIALDATA_ZARR_ZIP: "obsSpots.spatialdata.zarr.zip",
|
|
168
|
-
FEATURE_LABELS_SPATIALDATA_ZARR_ZIP: "featureLabels.spatialdata.zarr.zip",
|
|
169
|
-
OBS_POINTS_SPATIALDATA_ZARR_ZIP: "obsPoints.spatialdata.zarr.zip",
|
|
170
|
-
OBS_EMBEDDING_SPATIALDATA_ZARR_ZIP: "obsEmbedding.spatialdata.zarr.zip",
|
|
171
|
-
// MuData
|
|
172
|
-
OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
|
|
173
|
-
OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
|
|
174
|
-
OBS_EMBEDDING_MUDATA_ZARR: "obsEmbedding.mudata.zarr",
|
|
175
|
-
OBS_SPOTS_MUDATA_ZARR: "obsSpots.mudata.zarr",
|
|
176
|
-
OBS_POINTS_MUDATA_ZARR: "obsPoints.mudata.zarr",
|
|
177
|
-
OBS_LOCATIONS_MUDATA_ZARR: "obsLocations.mudata.zarr",
|
|
178
|
-
OBS_SEGMENTATIONS_MUDATA_ZARR: "obsSegmentations.mudata.zarr",
|
|
179
|
-
OBS_LABELS_MUDATA_ZARR: "obsLabels.mudata.zarr",
|
|
180
|
-
FEATURE_LABELS_MUDATA_ZARR: "featureLabels.mudata.zarr",
|
|
181
|
-
GENOMIC_PROFILES_ZARR: "genomic-profiles.zarr",
|
|
182
|
-
NEIGHBORHOODS_JSON: "neighborhoods.json",
|
|
183
|
-
// OME-TIFF
|
|
184
|
-
IMAGE_OME_TIFF: "image.ome-tiff",
|
|
185
|
-
OBS_SEGMENTATIONS_OME_TIFF: "obsSegmentations.ome-tiff",
|
|
186
|
-
// GLB
|
|
187
|
-
OBS_SEGMENTATIONS_GLB: "obsSegmentations.glb",
|
|
188
|
-
// Neuroglancer
|
|
189
|
-
// Precomputed (mesh) format
|
|
190
|
-
OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
|
|
191
|
-
OBS_POINTS_NG_ANNOTATIONS: "obsPoints.ng-annotations",
|
|
192
|
-
// New file types to support old file types:
|
|
193
|
-
// - cells.json
|
|
194
|
-
OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
|
|
195
|
-
OBS_SEGMENTATIONS_CELLS_JSON: "obsSegmentations.cells.json",
|
|
196
|
-
OBS_LOCATIONS_CELLS_JSON: "obsLocations.cells.json",
|
|
197
|
-
OBS_LABELS_CELLS_JSON: "obsLabels.cells.json",
|
|
198
|
-
// - cell-sets.json
|
|
199
|
-
OBS_SETS_CELL_SETS_JSON: "obsSets.cell-sets.json",
|
|
200
|
-
// - genes.json
|
|
201
|
-
OBS_FEATURE_MATRIX_GENES_JSON: "obsFeatureMatrix.genes.json",
|
|
202
|
-
// - clusters.json
|
|
203
|
-
OBS_FEATURE_MATRIX_CLUSTERS_JSON: "obsFeatureMatrix.clusters.json",
|
|
204
|
-
// - expression-matrix.zarr
|
|
205
|
-
OBS_FEATURE_MATRIX_EXPRESSION_MATRIX_ZARR: "obsFeatureMatrix.expression-matrix.zarr",
|
|
206
|
-
// - raster.json
|
|
207
|
-
IMAGE_RASTER_JSON: "image.raster.json",
|
|
208
|
-
OBS_SEGMENTATIONS_RASTER_JSON: "obsSegmentations.raster.json",
|
|
209
|
-
// - molecules.json
|
|
210
|
-
OBS_LOCATIONS_MOLECULES_JSON: "obsLocations.molecules.json",
|
|
211
|
-
OBS_LABELS_MOLECULES_JSON: "obsLabels.molecules.json",
|
|
212
|
-
// Legacy joint file types
|
|
213
|
-
CELLS_JSON: "cells.json",
|
|
214
|
-
CELL_SETS_JSON: "cell-sets.json",
|
|
215
|
-
ANNDATA_CELL_SETS_ZARR: "anndata-cell-sets.zarr",
|
|
216
|
-
ANNDATA_CELLS_ZARR: "anndata-cells.zarr",
|
|
217
|
-
EXPRESSION_MATRIX_ZARR: "expression-matrix.zarr",
|
|
218
|
-
MOLECULES_JSON: "molecules.json",
|
|
219
|
-
RASTER_JSON: "raster.json",
|
|
220
|
-
RASTER_OME_ZARR: "raster.ome-zarr",
|
|
221
|
-
CLUSTERS_JSON: "clusters.json",
|
|
222
|
-
GENES_JSON: "genes.json",
|
|
223
|
-
ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
|
|
224
|
-
};
|
|
225
|
-
const CoordinationType = {
|
|
226
|
-
META_COORDINATION_SCOPES: "metaCoordinationScopes",
|
|
227
|
-
META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
|
|
228
|
-
DATASET: "dataset",
|
|
229
|
-
// Entity types
|
|
230
|
-
OBS_TYPE: "obsType",
|
|
231
|
-
FEATURE_TYPE: "featureType",
|
|
232
|
-
FEATURE_VALUE_TYPE: "featureValueType",
|
|
233
|
-
OBS_LABELS_TYPE: "obsLabelsType",
|
|
234
|
-
FEATURE_LABELS_TYPE: "featureLabelsType",
|
|
235
|
-
// Other types
|
|
236
|
-
EMBEDDING_TYPE: "embeddingType",
|
|
237
|
-
EMBEDDING_ZOOM: "embeddingZoom",
|
|
238
|
-
EMBEDDING_ROTATION: "embeddingRotation",
|
|
239
|
-
EMBEDDING_TARGET_X: "embeddingTargetX",
|
|
240
|
-
EMBEDDING_TARGET_Y: "embeddingTargetY",
|
|
241
|
-
EMBEDDING_TARGET_Z: "embeddingTargetZ",
|
|
242
|
-
EMBEDDING_OBS_SET_POLYGONS_VISIBLE: "embeddingObsSetPolygonsVisible",
|
|
243
|
-
EMBEDDING_OBS_SET_LABELS_VISIBLE: "embeddingObsSetLabelsVisible",
|
|
244
|
-
EMBEDDING_OBS_SET_LABEL_SIZE: "embeddingObsSetLabelSize",
|
|
245
|
-
EMBEDDING_OBS_RADIUS: "embeddingObsRadius",
|
|
246
|
-
EMBEDDING_OBS_RADIUS_MODE: "embeddingObsRadiusMode",
|
|
247
|
-
EMBEDDING_OBS_OPACITY: "embeddingObsOpacity",
|
|
248
|
-
EMBEDDING_OBS_OPACITY_MODE: "embeddingObsOpacityMode",
|
|
249
|
-
SPATIAL_ZOOM: "spatialZoom",
|
|
250
|
-
SPATIAL_ROTATION: "spatialRotation",
|
|
251
|
-
SPATIAL_TARGET_X: "spatialTargetX",
|
|
252
|
-
SPATIAL_TARGET_Y: "spatialTargetY",
|
|
253
|
-
SPATIAL_TARGET_Z: "spatialTargetZ",
|
|
254
|
-
SPATIAL_TARGET_T: "spatialTargetT",
|
|
255
|
-
SPATIAL_ROTATION_X: "spatialRotationX",
|
|
256
|
-
SPATIAL_ROTATION_Y: "spatialRotationY",
|
|
257
|
-
SPATIAL_ROTATION_Z: "spatialRotationZ",
|
|
258
|
-
SPATIAL_ROTATION_ORBIT: "spatialRotationOrbit",
|
|
259
|
-
SPATIAL_ORBIT_AXIS: "spatialOrbitAxis",
|
|
260
|
-
SPATIAL_AXIS_FIXED: "spatialAxisFixed",
|
|
261
|
-
HEATMAP_ZOOM_X: "heatmapZoomX",
|
|
262
|
-
HEATMAP_ZOOM_Y: "heatmapZoomY",
|
|
263
|
-
HEATMAP_TARGET_X: "heatmapTargetX",
|
|
264
|
-
HEATMAP_TARGET_Y: "heatmapTargetY",
|
|
265
|
-
OBS_HIGHLIGHT: "obsHighlight",
|
|
266
|
-
OBS_SELECTION: "obsSelection",
|
|
267
|
-
OBS_SET_SELECTION: "obsSetSelection",
|
|
268
|
-
OBS_SELECTION_MODE: "obsSelectionMode",
|
|
269
|
-
OBS_FILTER: "obsFilter",
|
|
270
|
-
OBS_SET_FILTER: "obsSetFilter",
|
|
271
|
-
OBS_FILTER_MODE: "obsFilterMode",
|
|
272
|
-
OBS_SET_HIGHLIGHT: "obsSetHighlight",
|
|
273
|
-
OBS_SET_EXPANSION: "obsSetExpansion",
|
|
274
|
-
OBS_SET_COLOR: "obsSetColor",
|
|
275
|
-
FEATURE_COLOR: "featureColor",
|
|
276
|
-
FEATURE_HIGHLIGHT: "featureHighlight",
|
|
277
|
-
FEATURE_SELECTION: "featureSelection",
|
|
278
|
-
FEATURE_SET_SELECTION: "featureSetSelection",
|
|
279
|
-
FEATURE_SELECTION_MODE: "featureSelectionMode",
|
|
280
|
-
FEATURE_FILTER: "featureFilter",
|
|
281
|
-
FEATURE_SET_FILTER: "featureSetFilter",
|
|
282
|
-
FEATURE_FILTER_MODE: "featureFilterMode",
|
|
283
|
-
FEATURE_VALUE_COLORMAP: "featureValueColormap",
|
|
284
|
-
FEATURE_VALUE_TRANSFORM: "featureValueTransform",
|
|
285
|
-
FEATURE_VALUE_COLORMAP_RANGE: "featureValueColormapRange",
|
|
286
|
-
FEATURE_AGGREGATION_STRATEGY: "featureAggregationStrategy",
|
|
287
|
-
OBS_COLOR_ENCODING: "obsColorEncoding",
|
|
288
|
-
SPATIAL_IMAGE_LAYER: "spatialImageLayer",
|
|
289
|
-
SPATIAL_SEGMENTATION_LAYER: "spatialSegmentationLayer",
|
|
290
|
-
SPATIAL_POINT_LAYER: "spatialPointLayer",
|
|
291
|
-
SPATIAL_NEIGHBORHOOD_LAYER: "spatialNeighborhoodLayer",
|
|
292
|
-
GENOMIC_ZOOM_X: "genomicZoomX",
|
|
293
|
-
GENOMIC_ZOOM_Y: "genomicZoomY",
|
|
294
|
-
GENOMIC_TARGET_X: "genomicTargetX",
|
|
295
|
-
GENOMIC_TARGET_Y: "genomicTargetY",
|
|
296
|
-
ADDITIONAL_OBS_SETS: "additionalObsSets",
|
|
297
|
-
// TODO: use obsHighlight rather than moleculeHighlight.
|
|
298
|
-
MOLECULE_HIGHLIGHT: "moleculeHighlight",
|
|
299
|
-
GATING_FEATURE_SELECTION_X: "gatingFeatureSelectionX",
|
|
300
|
-
GATING_FEATURE_SELECTION_Y: "gatingFeatureSelectionY",
|
|
301
|
-
FEATURE_VALUE_TRANSFORM_COEFFICIENT: "featureValueTransformCoefficient",
|
|
302
|
-
FEATURE_VALUE_POSITIVITY_THRESHOLD: "featureValuePositivityThreshold",
|
|
303
|
-
TOOLTIPS_VISIBLE: "tooltipsVisible",
|
|
304
|
-
FILE_UID: "fileUid",
|
|
305
|
-
IMAGE_LAYER: "imageLayer",
|
|
306
|
-
IMAGE_CHANNEL: "imageChannel",
|
|
307
|
-
SEGMENTATION_LAYER: "segmentationLayer",
|
|
308
|
-
SEGMENTATION_CHANNEL: "segmentationChannel",
|
|
309
|
-
SPATIAL_TARGET_C: "spatialTargetC",
|
|
310
|
-
SPATIAL_LAYER_VISIBLE: "spatialLayerVisible",
|
|
311
|
-
SPATIAL_LAYER_OPACITY: "spatialLayerOpacity",
|
|
312
|
-
SPATIAL_LAYER_COLORMAP: "spatialLayerColormap",
|
|
313
|
-
SPATIAL_LAYER_TRANSPARENT_COLOR: "spatialLayerTransparentColor",
|
|
314
|
-
SPATIAL_LAYER_MODEL_MATRIX: "spatialLayerModelMatrix",
|
|
315
|
-
SPATIAL_SEGMENTATION_FILLED: "spatialSegmentationFilled",
|
|
316
|
-
SPATIAL_SEGMENTATION_STROKE_WIDTH: "spatialSegmentationStrokeWidth",
|
|
317
|
-
SPATIAL_POINT_STROKE_WIDTH: "spatialPointStrokeWidth",
|
|
318
|
-
SPATIAL_CHANNEL_COLOR: "spatialChannelColor",
|
|
319
|
-
SPATIAL_CHANNEL_VISIBLE: "spatialChannelVisible",
|
|
320
|
-
SPATIAL_CHANNEL_OPACITY: "spatialChannelOpacity",
|
|
321
|
-
SPATIAL_CHANNEL_WINDOW: "spatialChannelWindow",
|
|
322
|
-
PHOTOMETRIC_INTERPRETATION: "photometricInterpretation",
|
|
323
|
-
// For 3D volume rendering
|
|
324
|
-
SPATIAL_RENDERING_MODE: "spatialRenderingMode",
|
|
325
|
-
// For whole spatial view
|
|
326
|
-
VOLUMETRIC_RENDERING_ALGORITHM: "volumetricRenderingAlgorithm",
|
|
327
|
-
// Could be per-image-layer
|
|
328
|
-
SPATIAL_TARGET_RESOLUTION: "spatialTargetResolution",
|
|
329
|
-
// Per-spatial-layer
|
|
330
|
-
SPATIAL_MAX_RESOLUTION: "spatialMaxResolution",
|
|
331
|
-
// Per-image-channel (for spatial-accelerated)
|
|
332
|
-
SPATIAL_LOD_FACTOR: "spatialLodFactor",
|
|
333
|
-
// LOD factor for 3D volume rendering
|
|
334
|
-
// For clipping plane sliders
|
|
335
|
-
SPATIAL_SLICE_X: "spatialSliceX",
|
|
336
|
-
SPATIAL_SLICE_Y: "spatialSliceY",
|
|
337
|
-
SPATIAL_SLICE_Z: "spatialSliceZ",
|
|
338
|
-
// For spatial spot and point layers
|
|
339
|
-
SPOT_LAYER: "spotLayer",
|
|
340
|
-
POINT_LAYER: "pointLayer",
|
|
341
|
-
SPATIAL_SPOT_RADIUS: "spatialSpotRadius",
|
|
342
|
-
// In micrometers?
|
|
343
|
-
SPATIAL_SPOT_FILLED: "spatialSpotFilled",
|
|
344
|
-
SPATIAL_SPOT_STROKE_WIDTH: "spatialSpotStrokeWidth",
|
|
345
|
-
SPATIAL_LAYER_COLOR: "spatialLayerColor",
|
|
346
|
-
PIXEL_HIGHLIGHT: "pixelHighlight",
|
|
347
|
-
// Per-image-layer
|
|
348
|
-
TOOLTIP_CROSSHAIRS_VISIBLE: "tooltipCrosshairsVisible",
|
|
349
|
-
LEGEND_VISIBLE: "legendVisible",
|
|
350
|
-
SPATIAL_CHANNEL_LABELS_VISIBLE: "spatialChannelLabelsVisible",
|
|
351
|
-
SPATIAL_CHANNEL_LABELS_ORIENTATION: "spatialChannelLabelsOrientation",
|
|
352
|
-
SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
|
|
353
|
-
// Multi-sample / comparative
|
|
354
|
-
SAMPLE_TYPE: "sampleType",
|
|
355
|
-
SAMPLE_SELECTION: "sampleSelection",
|
|
356
|
-
SAMPLE_SET_SELECTION: "sampleSetSelection",
|
|
357
|
-
SAMPLE_SELECTION_MODE: "sampleSelectionMode",
|
|
358
|
-
SAMPLE_FILTER: "sampleFilter",
|
|
359
|
-
SAMPLE_SET_FILTER: "sampleSetFilter",
|
|
360
|
-
SAMPLE_FILTER_MODE: "sampleFilterMode",
|
|
361
|
-
SAMPLE_SET_COLOR: "sampleSetColor",
|
|
362
|
-
SAMPLE_HIGHLIGHT: "sampleHighlight",
|
|
363
|
-
EMBEDDING_POINTS_VISIBLE: "embeddingPointsVisible",
|
|
364
|
-
EMBEDDING_CONTOURS_VISIBLE: "embeddingContoursVisible",
|
|
365
|
-
EMBEDDING_CONTOURS_FILLED: "embeddingContoursFilled",
|
|
366
|
-
EMBEDDING_CONTOUR_PERCENTILES: "embeddingContourPercentiles",
|
|
367
|
-
CONTOUR_COLOR_ENCODING: "contourColorEncoding",
|
|
368
|
-
CONTOUR_COLOR: "contourColor",
|
|
369
|
-
// For volcano plot:
|
|
370
|
-
FEATURE_POINT_SIGNIFICANCE_THRESHOLD: "featurePointSignificanceThreshold",
|
|
371
|
-
FEATURE_LABEL_SIGNIFICANCE_THRESHOLD: "featureLabelSignificanceThreshold",
|
|
372
|
-
FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
|
|
373
|
-
FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
|
|
374
|
-
// Treemap
|
|
375
|
-
HIERARCHY_LEVELS: "hierarchyLevels"
|
|
376
|
-
};
|
|
377
|
-
const STATUS = {
|
|
378
|
-
LOADING: "loading",
|
|
379
|
-
SUCCESS: "success",
|
|
380
|
-
ERROR: "error"
|
|
381
|
-
};
|
|
382
|
-
const DescriptionType = {
|
|
383
|
-
PLAIN: "plain",
|
|
384
|
-
MARKDOWN: "markdown"
|
|
385
|
-
};
|
|
386
|
-
const ViewHelpMapping = {
|
|
387
|
-
SCATTERPLOT: "The scatterplot displays two-dimensional (pre-computed) dimensionality reduction results (such as from t-SNE or UMAP). Each point on the scatterplot represents an observation (e.g., cell).",
|
|
388
|
-
HEATMAP: "The heatmap displays an observation-by-feature (e.g., cell-by-gene) matrix, typically with transformed (e.g., normalized or standardized) values.",
|
|
389
|
-
SPATIAL: "The spatial view displays (potentially layered) spatially-resolved data including RGB or multiplexed images, segmentations of observations (bitmask- or polygon-based), and/or points (e.g., representing FISH transcripts).",
|
|
390
|
-
DESCRIPTION: "The description view displays additional information about a dataset. When images are included in a dataset, the description view also includes image metadata (if contained in the image files).",
|
|
391
|
-
STATUS: "The status view displays debugging messages, including app-wide error messages when datasets fail to load or when schemas fail to validate. Details about the entity under the mouse cursor (cell, gene, and/or molecule) are displayed during hover interactions.",
|
|
392
|
-
LAYER_CONTROLLER: "The spatial layer controller provides an interface for manipulating the visualization layers displayed in the spatial view.",
|
|
393
|
-
GENOMIC_PROFILES: "The genomic profiles view displays genome browser tracks (using the genomic-profiles data type) containing bar plots, where the genome is along the x-axis and the value at each genome position is encoded with a bar along the y-axis.",
|
|
394
|
-
GATING: "The gating scatterplot displays expression data for two genes (along the X and Y axes). Users can select two genes, and the scatterplot is dynamically generated using observation-by-feature matrix data. Gating can then be performed by using the lasso or box select tools.",
|
|
395
|
-
FEATURE_LIST: "The feature list controller displays an interactive list of features (e.g., genes).",
|
|
396
|
-
OBS_SETS: "The observation sets controller displays an interactive list of (potentially hierarchical) observation sets (e.g., cell clusters or cell type annotations).",
|
|
397
|
-
OBS_SET_SIZES: "The observation set sizes view displays a bar plot with the currently-selected observation sets (e.g., cell types) on the x-axis and bars representing their size (e.g., number of cells) on the y-axis.",
|
|
398
|
-
OBS_SET_FEATURE_VALUE_DISTRIBUTION: "The observation set feature value distribution view displays a violin plot with values (e.g., expression values) per set (e.g., cell type) for the selected feature (e.g., gene).",
|
|
399
|
-
FEATURE_VALUE_HISTOGRAM: "The feature value histogram displays the distribution of values (e.g., expression) for the selected feature (e.g., gene).",
|
|
400
|
-
DOT_PLOT: "The dot plot displays summary information about expression of the selected features (e.g., genes) for each selected observation set (e.g., cell type).",
|
|
401
|
-
FEATURE_BAR_PLOT: "The feature bar plot displays one bar per observation (e.g., cell) along the x-axis, where the value of a selected feature (e.g., gene) is encoded along the y-axis.",
|
|
402
|
-
NEUROGLANCER: "This view displays 3D meshes and points using Neuroglancer developed by Google.",
|
|
403
|
-
TREEMAP: "The treemap provides an overview of the current state of sample-level or cell-level selection and filtering.",
|
|
404
|
-
VOLCANO_PLOT: "The volcano plot displays differential expression results. Each data point represents a feature (as opposed to an observation).",
|
|
405
|
-
OBS_SET_COMPOSITION_BAR_PLOT: "The set composition bar plot displays the results of a compositional analysis conducted using the scCODA method (Büttner et al. 2021 Nature Communications).",
|
|
406
|
-
FEATURE_SET_ENRICHMENT_BAR_PLOT: "The feature set enrichment bar plot displays the results of a hypergeometric test applied to the differential expression test results to identify enriched pathway gene sets.",
|
|
407
|
-
SAMPLE_SET_PAIR_MANAGER: "Select pairs of sample groups.",
|
|
408
|
-
FEATURE_STATS_TABLE: "This table displays per-feature statistics, for example, from a differential expression test."
|
|
409
|
-
};
|
|
410
|
-
const FILE_TYPE_DATA_TYPE_MAPPING = {
|
|
411
|
-
// For new file types
|
|
412
|
-
[FileType.OBS_EMBEDDING_CSV]: DataType.OBS_EMBEDDING,
|
|
413
|
-
[FileType.OBS_SPOTS_CSV]: DataType.OBS_SPOTS,
|
|
414
|
-
[FileType.OBS_POINTS_CSV]: DataType.OBS_POINTS,
|
|
415
|
-
[FileType.OBS_LOCATIONS_CSV]: DataType.OBS_LOCATIONS,
|
|
416
|
-
[FileType.OBS_LABELS_CSV]: DataType.OBS_LABELS,
|
|
417
|
-
[FileType.FEATURE_LABELS_CSV]: DataType.FEATURE_LABELS,
|
|
418
|
-
[FileType.SAMPLE_SETS_CSV]: DataType.SAMPLE_SETS,
|
|
419
|
-
[FileType.OBS_FEATURE_MATRIX_CSV]: DataType.OBS_FEATURE_MATRIX,
|
|
420
|
-
[FileType.OBS_SEGMENTATIONS_JSON]: DataType.OBS_SEGMENTATIONS,
|
|
421
|
-
[FileType.OBS_SETS_CSV]: DataType.OBS_SETS,
|
|
422
|
-
[FileType.OBS_SETS_JSON]: DataType.OBS_SETS,
|
|
423
|
-
[FileType.IMAGE_OME_ZARR]: DataType.IMAGE,
|
|
424
|
-
[FileType.OBS_SEGMENTATIONS_OME_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
425
|
-
[FileType.OBS_FEATURE_MATRIX_ANNDATA_ZARR]: DataType.OBS_FEATURE_MATRIX,
|
|
426
|
-
[FileType.OBS_FEATURE_COLUMNS_ANNDATA_ZARR]: DataType.OBS_FEATURE_MATRIX,
|
|
427
|
-
[FileType.OBS_SETS_ANNDATA_ZARR]: DataType.OBS_SETS,
|
|
428
|
-
[FileType.OBS_EMBEDDING_ANNDATA_ZARR]: DataType.OBS_EMBEDDING,
|
|
429
|
-
[FileType.OBS_SPOTS_ANNDATA_ZARR]: DataType.OBS_SPOTS,
|
|
430
|
-
[FileType.OBS_POINTS_ANNDATA_ZARR]: DataType.OBS_POINTS,
|
|
431
|
-
[FileType.OBS_LOCATIONS_ANNDATA_ZARR]: DataType.OBS_LOCATIONS,
|
|
432
|
-
[FileType.OBS_SEGMENTATIONS_ANNDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
433
|
-
[FileType.OBS_LABELS_ANNDATA_ZARR]: DataType.OBS_LABELS,
|
|
434
|
-
[FileType.FEATURE_LABELS_ANNDATA_ZARR]: DataType.FEATURE_LABELS,
|
|
435
|
-
[FileType.SAMPLE_EDGES_ANNDATA_ZARR]: DataType.SAMPLE_EDGES,
|
|
436
|
-
[FileType.SAMPLE_SETS_ANNDATA_ZARR]: DataType.SAMPLE_SETS,
|
|
437
|
-
[FileType.COMPARISON_METADATA_ANNDATA_ZARR]: DataType.COMPARISON_METADATA,
|
|
438
|
-
[FileType.COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR]: DataType.FEATURE_STATS,
|
|
439
|
-
[FileType.COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR]: DataType.FEATURE_SET_STATS,
|
|
440
|
-
[FileType.COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR]: DataType.OBS_SET_STATS,
|
|
441
|
-
[FileType.IMAGE_OME_TIFF]: DataType.IMAGE,
|
|
442
|
-
[FileType.OBS_SEGMENTATIONS_OME_TIFF]: DataType.OBS_SEGMENTATIONS,
|
|
443
|
-
[FileType.OBS_FEATURE_MATRIX_MUDATA_ZARR]: DataType.OBS_FEATURE_MATRIX,
|
|
444
|
-
[FileType.OBS_SETS_MUDATA_ZARR]: DataType.OBS_SETS,
|
|
445
|
-
[FileType.OBS_EMBEDDING_MUDATA_ZARR]: DataType.OBS_EMBEDDING,
|
|
446
|
-
[FileType.OBS_SPOTS_MUDATA_ZARR]: DataType.OBS_SPOTS,
|
|
447
|
-
[FileType.OBS_POINTS_MUDATA_ZARR]: DataType.OBS_POINTS,
|
|
448
|
-
[FileType.OBS_LOCATIONS_MUDATA_ZARR]: DataType.OBS_LOCATIONS,
|
|
449
|
-
[FileType.OBS_SEGMENTATIONS_MUDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
450
|
-
[FileType.OBS_LABELS_MUDATA_ZARR]: DataType.OBS_LABELS,
|
|
451
|
-
[FileType.FEATURE_LABELS_MUDATA_ZARR]: DataType.FEATURE_LABELS,
|
|
452
|
-
[FileType.OBS_SEGMENTATIONS_GLB]: DataType.OBS_SEGMENTATIONS,
|
|
453
|
-
[FileType.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType.OBS_SEGMENTATIONS,
|
|
454
|
-
[FileType.OBS_POINTS_NG_ANNOTATIONS]: DataType.OBS_POINTS,
|
|
455
|
-
[FileType.IMAGE_SPATIALDATA_ZARR]: DataType.IMAGE,
|
|
456
|
-
[FileType.LABELS_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
457
|
-
[FileType.SHAPES_SPATIALDATA_ZARR]: DataType.OBS_SEGMENTATIONS,
|
|
458
|
-
[FileType.OBS_SPOTS_SPATIALDATA_ZARR]: DataType.OBS_SPOTS,
|
|
459
|
-
[FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR]: DataType.OBS_FEATURE_MATRIX,
|
|
460
|
-
[FileType.OBS_SETS_SPATIALDATA_ZARR]: DataType.OBS_SETS,
|
|
461
|
-
[FileType.FEATURE_LABELS_SPATIALDATA_ZARR]: DataType.FEATURE_LABELS,
|
|
462
|
-
[FileType.OBS_POINTS_SPATIALDATA_ZARR]: DataType.OBS_POINTS,
|
|
463
|
-
[FileType.OBS_EMBEDDING_SPATIALDATA_ZARR]: DataType.OBS_EMBEDDING,
|
|
464
|
-
// For new file types to support old file types
|
|
465
|
-
[FileType.OBS_EMBEDDING_CELLS_JSON]: DataType.OBS_EMBEDDING,
|
|
466
|
-
[FileType.OBS_LOCATIONS_CELLS_JSON]: DataType.OBS_LOCATIONS,
|
|
467
|
-
[FileType.OBS_SEGMENTATIONS_CELLS_JSON]: DataType.OBS_SEGMENTATIONS,
|
|
468
|
-
[FileType.OBS_LABELS_CELLS_JSON]: DataType.OBS_LABELS,
|
|
469
|
-
[FileType.OBS_SETS_CELL_SETS_JSON]: DataType.OBS_SETS,
|
|
470
|
-
[FileType.OBS_FEATURE_MATRIX_GENES_JSON]: DataType.OBS_FEATURE_MATRIX,
|
|
471
|
-
[FileType.OBS_FEATURE_MATRIX_CLUSTERS_JSON]: DataType.OBS_FEATURE_MATRIX,
|
|
472
|
-
[FileType.OBS_FEATURE_MATRIX_EXPRESSION_MATRIX_ZARR]: DataType.OBS_FEATURE_MATRIX,
|
|
473
|
-
[FileType.IMAGE_RASTER_JSON]: DataType.IMAGE,
|
|
474
|
-
[FileType.OBS_SEGMENTATIONS_RASTER_JSON]: DataType.OBS_SEGMENTATIONS,
|
|
475
|
-
[FileType.OBS_LOCATIONS_MOLECULES_JSON]: DataType.OBS_LOCATIONS,
|
|
476
|
-
[FileType.OBS_LABELS_MOLECULES_JSON]: DataType.OBS_LABELS,
|
|
477
|
-
// For old file types
|
|
478
|
-
[FileType.GENOMIC_PROFILES_ZARR]: DataType.GENOMIC_PROFILES,
|
|
479
|
-
[FileType.NEIGHBORHOODS_JSON]: DataType.NEIGHBORHOODS
|
|
480
|
-
};
|
|
481
|
-
const DATA_TYPE_COORDINATION_VALUE_USAGE = {
|
|
482
|
-
[DataType.OBS_SEGMENTATIONS]: [
|
|
483
|
-
CoordinationType.FILE_UID,
|
|
484
|
-
CoordinationType.OBS_TYPE
|
|
485
|
-
],
|
|
486
|
-
[DataType.OBS_EMBEDDING]: [
|
|
487
|
-
CoordinationType.OBS_TYPE,
|
|
488
|
-
CoordinationType.EMBEDDING_TYPE
|
|
489
|
-
],
|
|
490
|
-
[DataType.OBS_SPOTS]: [
|
|
491
|
-
CoordinationType.OBS_TYPE
|
|
492
|
-
],
|
|
493
|
-
[DataType.OBS_POINTS]: [
|
|
494
|
-
CoordinationType.OBS_TYPE
|
|
495
|
-
],
|
|
496
|
-
[DataType.OBS_LOCATIONS]: [
|
|
497
|
-
CoordinationType.OBS_TYPE
|
|
498
|
-
],
|
|
499
|
-
[DataType.OBS_LABELS]: [
|
|
500
|
-
CoordinationType.OBS_TYPE,
|
|
501
|
-
CoordinationType.OBS_LABELS_TYPE
|
|
502
|
-
],
|
|
503
|
-
[DataType.FEATURE_LABELS]: [
|
|
504
|
-
CoordinationType.FEATURE_TYPE
|
|
505
|
-
],
|
|
506
|
-
[DataType.OBS_SETS]: [
|
|
507
|
-
CoordinationType.OBS_TYPE
|
|
508
|
-
],
|
|
509
|
-
[DataType.OBS_FEATURE_MATRIX]: [
|
|
510
|
-
CoordinationType.OBS_TYPE,
|
|
511
|
-
CoordinationType.FEATURE_TYPE,
|
|
512
|
-
CoordinationType.FEATURE_VALUE_TYPE
|
|
513
|
-
],
|
|
514
|
-
[DataType.GENOMIC_PROFILES]: [],
|
|
515
|
-
[DataType.IMAGE]: [
|
|
516
|
-
CoordinationType.FILE_UID
|
|
517
|
-
],
|
|
518
|
-
[DataType.NEIGHBORHOODS]: [],
|
|
519
|
-
[DataType.SAMPLE_SETS]: [
|
|
520
|
-
CoordinationType.SAMPLE_TYPE
|
|
521
|
-
],
|
|
522
|
-
[DataType.SAMPLE_EDGES]: [
|
|
523
|
-
CoordinationType.OBS_TYPE,
|
|
524
|
-
CoordinationType.SAMPLE_TYPE
|
|
525
|
-
],
|
|
526
|
-
[DataType.COMPARISON_METADATA]: [
|
|
527
|
-
CoordinationType.OBS_TYPE,
|
|
528
|
-
CoordinationType.SAMPLE_TYPE
|
|
529
|
-
],
|
|
530
|
-
[DataType.FEATURE_STATS]: [
|
|
531
|
-
CoordinationType.FEATURE_TYPE
|
|
532
|
-
// TODO: should sampleType, obsSetSelection, and/or sampleSetSelection be used here?
|
|
533
|
-
],
|
|
534
|
-
[DataType.FEATURE_SET_STATS]: [
|
|
535
|
-
CoordinationType.FEATURE_TYPE
|
|
536
|
-
// TODO: should sampleType, obsSetSelection, and/or sampleSetSelection be used here?
|
|
537
|
-
],
|
|
538
|
-
[DataType.OBS_SET_STATS]: [
|
|
539
|
-
CoordinationType.OBS_TYPE
|
|
540
|
-
// TODO: should sampleType, obsSetSelection, and/or sampleSetSelection be used here?
|
|
541
|
-
]
|
|
542
|
-
};
|
|
543
|
-
const ALT_ZARR_STORE_TYPES = {
|
|
544
|
-
// For AnnData:
|
|
545
|
-
[FileType.OBS_FEATURE_MATRIX_ANNDATA_ZARR]: {
|
|
546
|
-
zip: FileType.OBS_FEATURE_MATRIX_ANNDATA_ZARR_ZIP,
|
|
547
|
-
h5ad: FileType.OBS_FEATURE_MATRIX_ANNDATA_H5AD
|
|
548
|
-
},
|
|
549
|
-
[FileType.OBS_FEATURE_COLUMNS_ANNDATA_ZARR]: {
|
|
550
|
-
zip: FileType.OBS_FEATURE_COLUMNS_ANNDATA_ZARR_ZIP,
|
|
551
|
-
h5ad: FileType.OBS_FEATURE_COLUMNS_ANNDATA_H5AD
|
|
552
|
-
},
|
|
553
|
-
[FileType.OBS_SETS_ANNDATA_ZARR]: {
|
|
554
|
-
zip: FileType.OBS_SETS_ANNDATA_ZARR_ZIP,
|
|
555
|
-
h5ad: FileType.OBS_SETS_ANNDATA_H5AD
|
|
556
|
-
},
|
|
557
|
-
[FileType.OBS_EMBEDDING_ANNDATA_ZARR]: {
|
|
558
|
-
zip: FileType.OBS_EMBEDDING_ANNDATA_ZARR_ZIP,
|
|
559
|
-
h5ad: FileType.OBS_EMBEDDING_ANNDATA_H5AD
|
|
560
|
-
},
|
|
561
|
-
[FileType.OBS_SPOTS_ANNDATA_ZARR]: {
|
|
562
|
-
zip: FileType.OBS_SPOTS_ANNDATA_ZARR_ZIP,
|
|
563
|
-
h5ad: FileType.OBS_SPOTS_ANNDATA_H5AD
|
|
564
|
-
},
|
|
565
|
-
[FileType.OBS_POINTS_ANNDATA_ZARR]: {
|
|
566
|
-
zip: FileType.OBS_POINTS_ANNDATA_ZARR_ZIP,
|
|
567
|
-
h5ad: FileType.OBS_POINTS_ANNDATA_H5AD
|
|
568
|
-
},
|
|
569
|
-
[FileType.OBS_LOCATIONS_ANNDATA_ZARR]: {
|
|
570
|
-
zip: FileType.OBS_LOCATIONS_ANNDATA_ZARR_ZIP,
|
|
571
|
-
h5ad: FileType.OBS_LOCATIONS_ANNDATA_H5AD
|
|
572
|
-
},
|
|
573
|
-
[FileType.OBS_SEGMENTATIONS_ANNDATA_ZARR]: {
|
|
574
|
-
zip: FileType.OBS_SEGMENTATIONS_ANNDATA_ZARR_ZIP,
|
|
575
|
-
h5ad: FileType.OBS_SEGMENTATIONS_ANNDATA_H5AD
|
|
576
|
-
},
|
|
577
|
-
[FileType.OBS_LABELS_ANNDATA_ZARR]: {
|
|
578
|
-
zip: FileType.OBS_LABELS_ANNDATA_ZARR_ZIP,
|
|
579
|
-
h5ad: FileType.OBS_LABELS_ANNDATA_H5AD
|
|
580
|
-
},
|
|
581
|
-
[FileType.FEATURE_LABELS_ANNDATA_ZARR]: {
|
|
582
|
-
zip: FileType.FEATURE_LABELS_ANNDATA_ZARR_ZIP,
|
|
583
|
-
h5ad: FileType.FEATURE_LABELS_ANNDATA_H5AD
|
|
584
|
-
},
|
|
585
|
-
[FileType.SAMPLE_EDGES_ANNDATA_ZARR]: {
|
|
586
|
-
zip: FileType.SAMPLE_EDGES_ANNDATA_ZARR_ZIP,
|
|
587
|
-
h5ad: FileType.SAMPLE_EDGES_ANNDATA_H5AD
|
|
588
|
-
},
|
|
589
|
-
[FileType.SAMPLE_SETS_ANNDATA_ZARR]: {
|
|
590
|
-
zip: FileType.SAMPLE_SETS_ANNDATA_ZARR_ZIP,
|
|
591
|
-
h5ad: FileType.SAMPLE_SETS_ANNDATA_H5AD
|
|
592
|
-
},
|
|
593
|
-
[FileType.COMPARISON_METADATA_ANNDATA_ZARR]: {
|
|
594
|
-
zip: FileType.COMPARISON_METADATA_ANNDATA_ZARR_ZIP,
|
|
595
|
-
h5ad: FileType.COMPARISON_METADATA_ANNDATA_H5AD
|
|
596
|
-
},
|
|
597
|
-
[FileType.COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR]: {
|
|
598
|
-
zip: FileType.COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR_ZIP,
|
|
599
|
-
h5ad: FileType.COMPARATIVE_FEATURE_STATS_ANNDATA_H5AD
|
|
600
|
-
},
|
|
601
|
-
[FileType.COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR]: {
|
|
602
|
-
zip: FileType.COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR_ZIP,
|
|
603
|
-
h5ad: FileType.COMPARATIVE_FEATURE_SET_STATS_ANNDATA_H5AD
|
|
604
|
-
},
|
|
605
|
-
[FileType.COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR]: {
|
|
606
|
-
zip: FileType.COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR_ZIP,
|
|
607
|
-
h5ad: FileType.COMPARATIVE_OBS_SET_STATS_ANNDATA_H5AD
|
|
608
|
-
},
|
|
609
|
-
// For OME-Zarr:
|
|
610
|
-
[FileType.IMAGE_OME_ZARR]: {
|
|
611
|
-
zip: FileType.IMAGE_OME_ZARR_ZIP
|
|
612
|
-
},
|
|
613
|
-
[FileType.OBS_SEGMENTATIONS_OME_ZARR]: {
|
|
614
|
-
zip: FileType.OBS_SEGMENTATIONS_OME_ZARR_ZIP
|
|
615
|
-
},
|
|
616
|
-
// For SpatialData:
|
|
617
|
-
[FileType.IMAGE_SPATIALDATA_ZARR]: {
|
|
618
|
-
zip: FileType.IMAGE_SPATIALDATA_ZARR_ZIP
|
|
619
|
-
},
|
|
620
|
-
[FileType.LABELS_SPATIALDATA_ZARR]: {
|
|
621
|
-
zip: FileType.LABELS_SPATIALDATA_ZARR_ZIP
|
|
622
|
-
},
|
|
623
|
-
[FileType.SHAPES_SPATIALDATA_ZARR]: {
|
|
624
|
-
zip: FileType.SHAPES_SPATIALDATA_ZARR_ZIP
|
|
625
|
-
},
|
|
626
|
-
[FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR]: {
|
|
627
|
-
zip: FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP
|
|
628
|
-
},
|
|
629
|
-
[FileType.OBS_SETS_SPATIALDATA_ZARR]: {
|
|
630
|
-
zip: FileType.OBS_SETS_SPATIALDATA_ZARR_ZIP
|
|
631
|
-
},
|
|
632
|
-
[FileType.OBS_SPOTS_SPATIALDATA_ZARR]: {
|
|
633
|
-
zip: FileType.OBS_SPOTS_SPATIALDATA_ZARR_ZIP
|
|
634
|
-
},
|
|
635
|
-
[FileType.FEATURE_LABELS_SPATIALDATA_ZARR]: {
|
|
636
|
-
zip: FileType.FEATURE_LABELS_SPATIALDATA_ZARR_ZIP
|
|
637
|
-
},
|
|
638
|
-
[FileType.OBS_POINTS_SPATIALDATA_ZARR]: {
|
|
639
|
-
zip: FileType.OBS_POINTS_SPATIALDATA_ZARR_ZIP
|
|
640
|
-
},
|
|
641
|
-
[FileType.OBS_EMBEDDING_SPATIALDATA_ZARR]: {
|
|
642
|
-
zip: FileType.OBS_EMBEDDING_SPATIALDATA_ZARR_ZIP
|
|
643
|
-
}
|
|
644
|
-
};
|
|
645
|
-
const AUTO_INDEPENDENT_COORDINATION_TYPES = [
|
|
646
|
-
CoordinationType.HEATMAP_ZOOM_X,
|
|
647
|
-
CoordinationType.HEATMAP_ZOOM_Y,
|
|
648
|
-
CoordinationType.HEATMAP_TARGET_X,
|
|
649
|
-
CoordinationType.HEATMAP_TARGET_Y,
|
|
650
|
-
CoordinationType.EMBEDDING_ZOOM,
|
|
651
|
-
CoordinationType.EMBEDDING_TARGET_X,
|
|
652
|
-
CoordinationType.EMBEDDING_TARGET_Y,
|
|
653
|
-
CoordinationType.EMBEDDING_TARGET_Z,
|
|
654
|
-
CoordinationType.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
|
|
655
|
-
CoordinationType.EMBEDDING_OBS_SET_LABELS_VISIBLE,
|
|
656
|
-
CoordinationType.EMBEDDING_OBS_SET_LABEL_SIZE,
|
|
657
|
-
CoordinationType.EMBEDDING_OBS_RADIUS,
|
|
658
|
-
CoordinationType.EMBEDDING_OBS_OPACITY,
|
|
659
|
-
CoordinationType.SPATIAL_ZOOM,
|
|
660
|
-
CoordinationType.SPATIAL_ROTATION,
|
|
661
|
-
CoordinationType.SPATIAL_ROTATION_X,
|
|
662
|
-
CoordinationType.SPATIAL_ROTATION_Y,
|
|
663
|
-
CoordinationType.SPATIAL_ROTATION_Z,
|
|
664
|
-
CoordinationType.SPATIAL_ROTATION_ORBIT,
|
|
665
|
-
CoordinationType.SPATIAL_TARGET_X,
|
|
666
|
-
CoordinationType.SPATIAL_TARGET_Y,
|
|
667
|
-
CoordinationType.SPATIAL_TARGET_Z,
|
|
668
|
-
CoordinationType.SPATIAL_AXIS_FIXED,
|
|
669
|
-
CoordinationType.SPATIAL_ORBIT_AXIS,
|
|
670
|
-
CoordinationType.FEATURE_AGGREGATION_STRATEGY
|
|
671
|
-
];
|
|
672
|
-
const COMPONENT_COORDINATION_TYPES = {
|
|
673
|
-
[ViewType.NEUROGLANCER]: [
|
|
674
|
-
CoordinationType.META_COORDINATION_SCOPES,
|
|
675
|
-
CoordinationType.META_COORDINATION_SCOPES_BY,
|
|
676
|
-
CoordinationType.DATASET,
|
|
677
|
-
CoordinationType.SPATIAL_TARGET_X,
|
|
678
|
-
CoordinationType.SPATIAL_TARGET_Y,
|
|
679
|
-
CoordinationType.SPATIAL_TARGET_Z,
|
|
680
|
-
CoordinationType.SPATIAL_ROTATION_X,
|
|
681
|
-
CoordinationType.SPATIAL_ROTATION_Y,
|
|
682
|
-
CoordinationType.SPATIAL_ROTATION_Z,
|
|
683
|
-
CoordinationType.SPATIAL_AXIS_FIXED,
|
|
684
|
-
CoordinationType.SPATIAL_ROTATION_ORBIT,
|
|
685
|
-
CoordinationType.SPATIAL_ORBIT_AXIS,
|
|
686
|
-
CoordinationType.SPATIAL_ZOOM,
|
|
687
|
-
CoordinationType.OBS_FILTER,
|
|
688
|
-
CoordinationType.OBS_HIGHLIGHT,
|
|
689
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
690
|
-
CoordinationType.OBS_SET_FILTER,
|
|
691
|
-
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
692
|
-
CoordinationType.OBS_TYPE,
|
|
693
|
-
CoordinationType.OBS_SET_COLOR,
|
|
694
|
-
CoordinationType.OBS_COLOR_ENCODING,
|
|
695
|
-
CoordinationType.EMBEDDING_TYPE,
|
|
696
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
697
|
-
CoordinationType.TOOLTIPS_VISIBLE,
|
|
698
|
-
CoordinationType.FILE_UID,
|
|
699
|
-
CoordinationType.IMAGE_LAYER,
|
|
700
|
-
CoordinationType.SEGMENTATION_LAYER,
|
|
701
|
-
CoordinationType.IMAGE_CHANNEL,
|
|
702
|
-
CoordinationType.SEGMENTATION_CHANNEL,
|
|
703
|
-
CoordinationType.POINT_LAYER,
|
|
704
|
-
CoordinationType.FEATURE_COLOR,
|
|
705
|
-
CoordinationType.FEATURE_FILTER_MODE,
|
|
706
|
-
CoordinationType.FEATURE_HIGHLIGHT,
|
|
707
|
-
CoordinationType.FEATURE_SELECTION,
|
|
708
|
-
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
709
|
-
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
710
|
-
CoordinationType.SPATIAL_LAYER_COLOR,
|
|
711
|
-
CoordinationType.SPATIAL_LAYER_OPACITY,
|
|
712
|
-
CoordinationType.SPATIAL_LAYER_VISIBLE,
|
|
713
|
-
CoordinationType.SPATIAL_CHANNEL_COLOR,
|
|
714
|
-
CoordinationType.SPATIAL_CHANNEL_OPACITY,
|
|
715
|
-
CoordinationType.SPATIAL_CHANNEL_VISIBLE,
|
|
716
|
-
CoordinationType.LEGEND_VISIBLE,
|
|
717
|
-
CoordinationType.SPATIAL_POINT_STROKE_WIDTH
|
|
718
|
-
],
|
|
719
|
-
[ViewType.SCATTERPLOT]: [
|
|
720
|
-
CoordinationType.DATASET,
|
|
721
|
-
CoordinationType.OBS_TYPE,
|
|
722
|
-
CoordinationType.FEATURE_TYPE,
|
|
723
|
-
CoordinationType.FEATURE_VALUE_TYPE,
|
|
724
|
-
CoordinationType.OBS_LABELS_TYPE,
|
|
725
|
-
CoordinationType.EMBEDDING_TYPE,
|
|
726
|
-
CoordinationType.EMBEDDING_ZOOM,
|
|
727
|
-
CoordinationType.EMBEDDING_ROTATION,
|
|
728
|
-
CoordinationType.EMBEDDING_TARGET_X,
|
|
729
|
-
CoordinationType.EMBEDDING_TARGET_Y,
|
|
730
|
-
CoordinationType.EMBEDDING_TARGET_Z,
|
|
731
|
-
CoordinationType.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
|
|
732
|
-
CoordinationType.EMBEDDING_OBS_SET_LABELS_VISIBLE,
|
|
733
|
-
CoordinationType.EMBEDDING_OBS_SET_LABEL_SIZE,
|
|
734
|
-
CoordinationType.EMBEDDING_OBS_RADIUS,
|
|
735
|
-
CoordinationType.EMBEDDING_OBS_RADIUS_MODE,
|
|
736
|
-
CoordinationType.EMBEDDING_OBS_OPACITY,
|
|
737
|
-
CoordinationType.EMBEDDING_OBS_OPACITY_MODE,
|
|
738
|
-
CoordinationType.OBS_FILTER,
|
|
739
|
-
CoordinationType.OBS_HIGHLIGHT,
|
|
740
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
741
|
-
CoordinationType.OBS_SET_FILTER,
|
|
742
|
-
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
743
|
-
CoordinationType.OBS_SET_COLOR,
|
|
744
|
-
CoordinationType.FEATURE_HIGHLIGHT,
|
|
745
|
-
CoordinationType.FEATURE_SELECTION,
|
|
746
|
-
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
747
|
-
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
748
|
-
CoordinationType.FEATURE_AGGREGATION_STRATEGY,
|
|
749
|
-
CoordinationType.OBS_COLOR_ENCODING,
|
|
750
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
751
|
-
CoordinationType.TOOLTIPS_VISIBLE,
|
|
752
|
-
CoordinationType.SAMPLE_TYPE,
|
|
753
|
-
CoordinationType.SAMPLE_SET_SELECTION,
|
|
754
|
-
CoordinationType.SAMPLE_SET_FILTER,
|
|
755
|
-
CoordinationType.SAMPLE_SET_COLOR,
|
|
756
|
-
CoordinationType.EMBEDDING_POINTS_VISIBLE,
|
|
757
|
-
CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
|
|
758
|
-
CoordinationType.EMBEDDING_CONTOURS_FILLED,
|
|
759
|
-
CoordinationType.EMBEDDING_CONTOUR_PERCENTILES,
|
|
760
|
-
CoordinationType.CONTOUR_COLOR_ENCODING,
|
|
761
|
-
CoordinationType.CONTOUR_COLOR
|
|
762
|
-
],
|
|
763
|
-
[ViewType.DUAL_SCATTERPLOT]: [
|
|
764
|
-
CoordinationType.DATASET,
|
|
765
|
-
CoordinationType.OBS_TYPE,
|
|
766
|
-
CoordinationType.FEATURE_TYPE,
|
|
767
|
-
CoordinationType.FEATURE_VALUE_TYPE,
|
|
768
|
-
CoordinationType.OBS_LABELS_TYPE,
|
|
769
|
-
CoordinationType.EMBEDDING_TYPE,
|
|
770
|
-
CoordinationType.EMBEDDING_ZOOM,
|
|
771
|
-
CoordinationType.EMBEDDING_ROTATION,
|
|
772
|
-
CoordinationType.EMBEDDING_TARGET_X,
|
|
773
|
-
CoordinationType.EMBEDDING_TARGET_Y,
|
|
774
|
-
CoordinationType.EMBEDDING_TARGET_Z,
|
|
775
|
-
CoordinationType.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
|
|
776
|
-
CoordinationType.EMBEDDING_OBS_SET_LABELS_VISIBLE,
|
|
777
|
-
CoordinationType.EMBEDDING_OBS_SET_LABEL_SIZE,
|
|
778
|
-
CoordinationType.EMBEDDING_OBS_RADIUS,
|
|
779
|
-
CoordinationType.EMBEDDING_OBS_RADIUS_MODE,
|
|
780
|
-
CoordinationType.EMBEDDING_OBS_OPACITY,
|
|
781
|
-
CoordinationType.EMBEDDING_OBS_OPACITY_MODE,
|
|
782
|
-
CoordinationType.OBS_FILTER,
|
|
783
|
-
CoordinationType.OBS_HIGHLIGHT,
|
|
784
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
785
|
-
CoordinationType.OBS_SET_FILTER,
|
|
786
|
-
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
787
|
-
CoordinationType.OBS_SET_COLOR,
|
|
788
|
-
CoordinationType.FEATURE_HIGHLIGHT,
|
|
789
|
-
CoordinationType.FEATURE_SELECTION,
|
|
790
|
-
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
791
|
-
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
792
|
-
CoordinationType.FEATURE_AGGREGATION_STRATEGY,
|
|
793
|
-
CoordinationType.OBS_COLOR_ENCODING,
|
|
794
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
795
|
-
CoordinationType.TOOLTIPS_VISIBLE,
|
|
796
|
-
CoordinationType.SAMPLE_TYPE,
|
|
797
|
-
CoordinationType.SAMPLE_SET_SELECTION,
|
|
798
|
-
CoordinationType.SAMPLE_SET_FILTER,
|
|
799
|
-
CoordinationType.SAMPLE_SET_COLOR,
|
|
800
|
-
CoordinationType.EMBEDDING_POINTS_VISIBLE,
|
|
801
|
-
CoordinationType.EMBEDDING_CONTOURS_VISIBLE,
|
|
802
|
-
CoordinationType.EMBEDDING_CONTOURS_FILLED,
|
|
803
|
-
CoordinationType.EMBEDDING_CONTOUR_PERCENTILES,
|
|
804
|
-
CoordinationType.CONTOUR_COLOR_ENCODING,
|
|
805
|
-
CoordinationType.CONTOUR_COLOR
|
|
806
|
-
],
|
|
807
|
-
[ViewType.GATING]: [
|
|
808
|
-
CoordinationType.DATASET,
|
|
809
|
-
CoordinationType.OBS_TYPE,
|
|
810
|
-
CoordinationType.FEATURE_TYPE,
|
|
811
|
-
CoordinationType.FEATURE_VALUE_TYPE,
|
|
812
|
-
CoordinationType.EMBEDDING_TYPE,
|
|
813
|
-
CoordinationType.EMBEDDING_ZOOM,
|
|
814
|
-
CoordinationType.EMBEDDING_ROTATION,
|
|
815
|
-
CoordinationType.EMBEDDING_TARGET_X,
|
|
816
|
-
CoordinationType.EMBEDDING_TARGET_Y,
|
|
817
|
-
CoordinationType.EMBEDDING_TARGET_Z,
|
|
818
|
-
CoordinationType.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
|
|
819
|
-
CoordinationType.EMBEDDING_OBS_SET_LABELS_VISIBLE,
|
|
820
|
-
CoordinationType.EMBEDDING_OBS_SET_LABEL_SIZE,
|
|
821
|
-
CoordinationType.EMBEDDING_OBS_RADIUS,
|
|
822
|
-
CoordinationType.EMBEDDING_OBS_RADIUS_MODE,
|
|
823
|
-
CoordinationType.EMBEDDING_OBS_OPACITY,
|
|
824
|
-
CoordinationType.EMBEDDING_OBS_OPACITY_MODE,
|
|
825
|
-
CoordinationType.OBS_FILTER,
|
|
826
|
-
CoordinationType.OBS_HIGHLIGHT,
|
|
827
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
828
|
-
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
829
|
-
CoordinationType.OBS_SET_COLOR,
|
|
830
|
-
CoordinationType.FEATURE_HIGHLIGHT,
|
|
831
|
-
CoordinationType.FEATURE_SELECTION,
|
|
832
|
-
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
833
|
-
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
834
|
-
CoordinationType.OBS_COLOR_ENCODING,
|
|
835
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
836
|
-
CoordinationType.FEATURE_VALUE_TRANSFORM,
|
|
837
|
-
CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
838
|
-
CoordinationType.GATING_FEATURE_SELECTION_X,
|
|
839
|
-
CoordinationType.GATING_FEATURE_SELECTION_Y
|
|
840
|
-
],
|
|
841
|
-
[ViewType.SPATIAL]: [
|
|
842
|
-
CoordinationType.DATASET,
|
|
843
|
-
CoordinationType.OBS_TYPE,
|
|
844
|
-
CoordinationType.OBS_LABELS_TYPE,
|
|
845
|
-
CoordinationType.FEATURE_TYPE,
|
|
846
|
-
CoordinationType.FEATURE_VALUE_TYPE,
|
|
847
|
-
CoordinationType.SPATIAL_ZOOM,
|
|
848
|
-
CoordinationType.SPATIAL_ROTATION,
|
|
849
|
-
CoordinationType.SPATIAL_IMAGE_LAYER,
|
|
850
|
-
CoordinationType.SPATIAL_SEGMENTATION_LAYER,
|
|
851
|
-
CoordinationType.SPATIAL_POINT_LAYER,
|
|
852
|
-
CoordinationType.SPATIAL_NEIGHBORHOOD_LAYER,
|
|
853
|
-
CoordinationType.SPATIAL_TARGET_X,
|
|
854
|
-
CoordinationType.SPATIAL_TARGET_Y,
|
|
855
|
-
CoordinationType.SPATIAL_TARGET_Z,
|
|
856
|
-
CoordinationType.SPATIAL_ROTATION_X,
|
|
857
|
-
CoordinationType.SPATIAL_ROTATION_Y,
|
|
858
|
-
CoordinationType.SPATIAL_ROTATION_Z,
|
|
859
|
-
CoordinationType.SPATIAL_ROTATION_ORBIT,
|
|
860
|
-
CoordinationType.SPATIAL_ORBIT_AXIS,
|
|
861
|
-
CoordinationType.SPATIAL_AXIS_FIXED,
|
|
862
|
-
CoordinationType.OBS_FILTER,
|
|
863
|
-
CoordinationType.OBS_HIGHLIGHT,
|
|
864
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
865
|
-
CoordinationType.OBS_SET_FILTER,
|
|
866
|
-
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
867
|
-
CoordinationType.OBS_SET_COLOR,
|
|
868
|
-
CoordinationType.FEATURE_HIGHLIGHT,
|
|
869
|
-
CoordinationType.FEATURE_SELECTION,
|
|
870
|
-
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
871
|
-
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
872
|
-
CoordinationType.FEATURE_AGGREGATION_STRATEGY,
|
|
873
|
-
CoordinationType.OBS_COLOR_ENCODING,
|
|
874
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
875
|
-
CoordinationType.MOLECULE_HIGHLIGHT,
|
|
876
|
-
CoordinationType.TOOLTIPS_VISIBLE,
|
|
877
|
-
CoordinationType.PHOTOMETRIC_INTERPRETATION
|
|
878
|
-
],
|
|
879
|
-
[ViewType.SPATIAL_BETA]: [
|
|
880
|
-
CoordinationType.META_COORDINATION_SCOPES,
|
|
881
|
-
CoordinationType.META_COORDINATION_SCOPES_BY,
|
|
882
|
-
CoordinationType.DATASET,
|
|
883
|
-
CoordinationType.OBS_TYPE,
|
|
884
|
-
CoordinationType.OBS_LABELS_TYPE,
|
|
885
|
-
CoordinationType.FEATURE_TYPE,
|
|
886
|
-
CoordinationType.FEATURE_VALUE_TYPE,
|
|
887
|
-
CoordinationType.SPATIAL_ZOOM,
|
|
888
|
-
CoordinationType.SPATIAL_ROTATION,
|
|
889
|
-
CoordinationType.SPATIAL_POINT_LAYER,
|
|
890
|
-
CoordinationType.SPATIAL_NEIGHBORHOOD_LAYER,
|
|
891
|
-
CoordinationType.SPATIAL_TARGET_X,
|
|
892
|
-
CoordinationType.SPATIAL_TARGET_Y,
|
|
893
|
-
CoordinationType.SPATIAL_TARGET_Z,
|
|
894
|
-
CoordinationType.SPATIAL_TARGET_T,
|
|
895
|
-
CoordinationType.SPATIAL_ROTATION_X,
|
|
896
|
-
CoordinationType.SPATIAL_ROTATION_Y,
|
|
897
|
-
CoordinationType.SPATIAL_ROTATION_Z,
|
|
898
|
-
CoordinationType.SPATIAL_ROTATION_ORBIT,
|
|
899
|
-
CoordinationType.SPATIAL_ORBIT_AXIS,
|
|
900
|
-
CoordinationType.SPATIAL_AXIS_FIXED,
|
|
901
|
-
CoordinationType.OBS_FILTER,
|
|
902
|
-
CoordinationType.OBS_HIGHLIGHT,
|
|
903
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
904
|
-
CoordinationType.OBS_SET_FILTER,
|
|
905
|
-
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
906
|
-
CoordinationType.OBS_SET_COLOR,
|
|
907
|
-
CoordinationType.FEATURE_COLOR,
|
|
908
|
-
CoordinationType.FEATURE_FILTER_MODE,
|
|
909
|
-
CoordinationType.FEATURE_HIGHLIGHT,
|
|
910
|
-
CoordinationType.FEATURE_SELECTION,
|
|
911
|
-
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
912
|
-
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
913
|
-
CoordinationType.FEATURE_AGGREGATION_STRATEGY,
|
|
914
|
-
CoordinationType.OBS_COLOR_ENCODING,
|
|
915
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
916
|
-
CoordinationType.MOLECULE_HIGHLIGHT,
|
|
917
|
-
CoordinationType.TOOLTIPS_VISIBLE,
|
|
918
|
-
CoordinationType.FILE_UID,
|
|
919
|
-
CoordinationType.SPATIAL_TARGET_C,
|
|
920
|
-
CoordinationType.SPATIAL_LAYER_VISIBLE,
|
|
921
|
-
CoordinationType.SPATIAL_LAYER_OPACITY,
|
|
922
|
-
CoordinationType.SPATIAL_LAYER_COLORMAP,
|
|
923
|
-
CoordinationType.SPATIAL_LAYER_TRANSPARENT_COLOR,
|
|
924
|
-
CoordinationType.SPATIAL_LAYER_MODEL_MATRIX,
|
|
925
|
-
CoordinationType.SPATIAL_CHANNEL_COLOR,
|
|
926
|
-
CoordinationType.SPATIAL_SEGMENTATION_FILLED,
|
|
927
|
-
CoordinationType.SPATIAL_SEGMENTATION_STROKE_WIDTH,
|
|
928
|
-
CoordinationType.IMAGE_LAYER,
|
|
929
|
-
CoordinationType.SEGMENTATION_LAYER,
|
|
930
|
-
CoordinationType.IMAGE_CHANNEL,
|
|
931
|
-
CoordinationType.SEGMENTATION_CHANNEL,
|
|
932
|
-
CoordinationType.SPATIAL_CHANNEL_VISIBLE,
|
|
933
|
-
CoordinationType.SPATIAL_CHANNEL_OPACITY,
|
|
934
|
-
CoordinationType.SPATIAL_CHANNEL_WINDOW,
|
|
935
|
-
CoordinationType.SPATIAL_RENDERING_MODE,
|
|
936
|
-
CoordinationType.VOLUMETRIC_RENDERING_ALGORITHM,
|
|
937
|
-
CoordinationType.SPATIAL_TARGET_RESOLUTION,
|
|
938
|
-
CoordinationType.SPATIAL_MAX_RESOLUTION,
|
|
939
|
-
CoordinationType.SPATIAL_SLICE_X,
|
|
940
|
-
CoordinationType.SPATIAL_SLICE_Y,
|
|
941
|
-
CoordinationType.SPATIAL_SLICE_Z,
|
|
942
|
-
CoordinationType.SPOT_LAYER,
|
|
943
|
-
CoordinationType.POINT_LAYER,
|
|
944
|
-
CoordinationType.SPATIAL_SPOT_RADIUS,
|
|
945
|
-
CoordinationType.SPATIAL_SPOT_FILLED,
|
|
946
|
-
CoordinationType.SPATIAL_SPOT_STROKE_WIDTH,
|
|
947
|
-
CoordinationType.SPATIAL_LAYER_COLOR,
|
|
948
|
-
CoordinationType.PIXEL_HIGHLIGHT,
|
|
949
|
-
CoordinationType.TOOLTIP_CROSSHAIRS_VISIBLE,
|
|
950
|
-
CoordinationType.LEGEND_VISIBLE,
|
|
951
|
-
CoordinationType.SPATIAL_CHANNEL_LABELS_VISIBLE,
|
|
952
|
-
CoordinationType.SPATIAL_CHANNEL_LABELS_ORIENTATION,
|
|
953
|
-
CoordinationType.SPATIAL_CHANNEL_LABEL_SIZE,
|
|
954
|
-
CoordinationType.PHOTOMETRIC_INTERPRETATION
|
|
955
|
-
],
|
|
956
|
-
[ViewType.HEATMAP]: [
|
|
957
|
-
CoordinationType.DATASET,
|
|
958
|
-
CoordinationType.OBS_TYPE,
|
|
959
|
-
CoordinationType.OBS_LABELS_TYPE,
|
|
960
|
-
CoordinationType.FEATURE_TYPE,
|
|
961
|
-
CoordinationType.FEATURE_VALUE_TYPE,
|
|
962
|
-
CoordinationType.HEATMAP_ZOOM_X,
|
|
963
|
-
CoordinationType.HEATMAP_ZOOM_Y,
|
|
964
|
-
CoordinationType.HEATMAP_TARGET_X,
|
|
965
|
-
CoordinationType.HEATMAP_TARGET_Y,
|
|
966
|
-
CoordinationType.OBS_FILTER,
|
|
967
|
-
CoordinationType.OBS_HIGHLIGHT,
|
|
968
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
969
|
-
CoordinationType.OBS_SET_FILTER,
|
|
970
|
-
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
971
|
-
CoordinationType.OBS_SET_COLOR,
|
|
972
|
-
CoordinationType.FEATURE_FILTER,
|
|
973
|
-
CoordinationType.FEATURE_HIGHLIGHT,
|
|
974
|
-
CoordinationType.FEATURE_SELECTION,
|
|
975
|
-
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
976
|
-
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
977
|
-
CoordinationType.OBS_COLOR_ENCODING,
|
|
978
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
979
|
-
CoordinationType.TOOLTIPS_VISIBLE
|
|
980
|
-
],
|
|
981
|
-
[ViewType.OBS_SETS]: [
|
|
982
|
-
CoordinationType.DATASET,
|
|
983
|
-
CoordinationType.OBS_TYPE,
|
|
984
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
985
|
-
CoordinationType.OBS_SET_FILTER,
|
|
986
|
-
CoordinationType.OBS_SET_EXPANSION,
|
|
987
|
-
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
988
|
-
CoordinationType.OBS_SET_COLOR,
|
|
989
|
-
CoordinationType.OBS_COLOR_ENCODING,
|
|
990
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
991
|
-
CoordinationType.FEATURE_SELECTION
|
|
992
|
-
],
|
|
993
|
-
[ViewType.OBS_SET_SIZES]: [
|
|
994
|
-
CoordinationType.DATASET,
|
|
995
|
-
CoordinationType.OBS_TYPE,
|
|
996
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
997
|
-
CoordinationType.OBS_SET_FILTER,
|
|
998
|
-
CoordinationType.OBS_SET_EXPANSION,
|
|
999
|
-
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
1000
|
-
CoordinationType.OBS_SET_COLOR,
|
|
1001
|
-
CoordinationType.ADDITIONAL_OBS_SETS
|
|
1002
|
-
],
|
|
1003
|
-
[ViewType.STATUS]: [
|
|
1004
|
-
CoordinationType.DATASET,
|
|
1005
|
-
CoordinationType.OBS_HIGHLIGHT,
|
|
1006
|
-
CoordinationType.FEATURE_HIGHLIGHT,
|
|
1007
|
-
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
1008
|
-
CoordinationType.MOLECULE_HIGHLIGHT
|
|
1009
|
-
],
|
|
1010
|
-
[ViewType.FEATURE_LIST]: [
|
|
1011
|
-
CoordinationType.DATASET,
|
|
1012
|
-
CoordinationType.OBS_TYPE,
|
|
1013
|
-
CoordinationType.FEATURE_TYPE,
|
|
1014
|
-
CoordinationType.FEATURE_VALUE_TYPE,
|
|
1015
|
-
CoordinationType.FEATURE_FILTER,
|
|
1016
|
-
CoordinationType.FEATURE_HIGHLIGHT,
|
|
1017
|
-
CoordinationType.FEATURE_SELECTION,
|
|
1018
|
-
CoordinationType.OBS_COLOR_ENCODING,
|
|
1019
|
-
CoordinationType.OBS_SET_SELECTION
|
|
1020
|
-
],
|
|
1021
|
-
[ViewType.OBS_SET_FEATURE_VALUE_DISTRIBUTION]: [
|
|
1022
|
-
CoordinationType.DATASET,
|
|
1023
|
-
CoordinationType.OBS_TYPE,
|
|
1024
|
-
CoordinationType.FEATURE_TYPE,
|
|
1025
|
-
CoordinationType.FEATURE_VALUE_TYPE,
|
|
1026
|
-
CoordinationType.FEATURE_SELECTION,
|
|
1027
|
-
CoordinationType.FEATURE_VALUE_TRANSFORM,
|
|
1028
|
-
CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
1029
|
-
CoordinationType.FEATURE_AGGREGATION_STRATEGY,
|
|
1030
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
1031
|
-
CoordinationType.OBS_SET_FILTER,
|
|
1032
|
-
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
1033
|
-
CoordinationType.OBS_SET_COLOR,
|
|
1034
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
1035
|
-
CoordinationType.SAMPLE_TYPE,
|
|
1036
|
-
CoordinationType.SAMPLE_SET_SELECTION,
|
|
1037
|
-
CoordinationType.SAMPLE_SET_COLOR
|
|
1038
|
-
],
|
|
1039
|
-
[ViewType.FEATURE_VALUE_HISTOGRAM]: [
|
|
1040
|
-
CoordinationType.DATASET,
|
|
1041
|
-
CoordinationType.OBS_TYPE,
|
|
1042
|
-
CoordinationType.FEATURE_TYPE,
|
|
1043
|
-
CoordinationType.FEATURE_VALUE_TYPE,
|
|
1044
|
-
CoordinationType.FEATURE_SELECTION,
|
|
1045
|
-
CoordinationType.FEATURE_AGGREGATION_STRATEGY,
|
|
1046
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
1047
|
-
CoordinationType.OBS_SET_COLOR,
|
|
1048
|
-
CoordinationType.OBS_COLOR_ENCODING,
|
|
1049
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
1050
|
-
CoordinationType.OBS_SET_FILTER
|
|
1051
|
-
],
|
|
1052
|
-
[ViewType.LAYER_CONTROLLER]: [
|
|
1053
|
-
CoordinationType.DATASET,
|
|
1054
|
-
CoordinationType.OBS_TYPE,
|
|
1055
|
-
CoordinationType.FEATURE_TYPE,
|
|
1056
|
-
CoordinationType.FEATURE_VALUE_TYPE,
|
|
1057
|
-
CoordinationType.SPATIAL_IMAGE_LAYER,
|
|
1058
|
-
CoordinationType.SPATIAL_SEGMENTATION_LAYER,
|
|
1059
|
-
CoordinationType.SPATIAL_POINT_LAYER,
|
|
1060
|
-
CoordinationType.SPATIAL_NEIGHBORHOOD_LAYER,
|
|
1061
|
-
CoordinationType.SPATIAL_ZOOM,
|
|
1062
|
-
CoordinationType.SPATIAL_TARGET_X,
|
|
1063
|
-
CoordinationType.SPATIAL_TARGET_Y,
|
|
1064
|
-
CoordinationType.SPATIAL_TARGET_Z,
|
|
1065
|
-
CoordinationType.SPATIAL_ROTATION_X,
|
|
1066
|
-
CoordinationType.SPATIAL_ROTATION_Y,
|
|
1067
|
-
CoordinationType.SPATIAL_ROTATION_Z,
|
|
1068
|
-
CoordinationType.SPATIAL_ROTATION_ORBIT,
|
|
1069
|
-
CoordinationType.SPATIAL_ORBIT_AXIS,
|
|
1070
|
-
CoordinationType.PHOTOMETRIC_INTERPRETATION
|
|
1071
|
-
],
|
|
1072
|
-
[ViewType.LAYER_CONTROLLER_BETA]: [
|
|
1073
|
-
CoordinationType.META_COORDINATION_SCOPES,
|
|
1074
|
-
CoordinationType.META_COORDINATION_SCOPES_BY,
|
|
1075
|
-
CoordinationType.DATASET,
|
|
1076
|
-
CoordinationType.OBS_TYPE,
|
|
1077
|
-
CoordinationType.FEATURE_TYPE,
|
|
1078
|
-
CoordinationType.FEATURE_VALUE_TYPE,
|
|
1079
|
-
CoordinationType.SPATIAL_POINT_LAYER,
|
|
1080
|
-
CoordinationType.SPATIAL_NEIGHBORHOOD_LAYER,
|
|
1081
|
-
CoordinationType.SPATIAL_ZOOM,
|
|
1082
|
-
CoordinationType.SPATIAL_TARGET_X,
|
|
1083
|
-
CoordinationType.SPATIAL_TARGET_Y,
|
|
1084
|
-
CoordinationType.SPATIAL_TARGET_Z,
|
|
1085
|
-
CoordinationType.SPATIAL_TARGET_T,
|
|
1086
|
-
CoordinationType.SPATIAL_ROTATION_X,
|
|
1087
|
-
CoordinationType.SPATIAL_ROTATION_Y,
|
|
1088
|
-
CoordinationType.SPATIAL_ROTATION_Z,
|
|
1089
|
-
CoordinationType.SPATIAL_ROTATION_ORBIT,
|
|
1090
|
-
CoordinationType.SPATIAL_ORBIT_AXIS,
|
|
1091
|
-
CoordinationType.FILE_UID,
|
|
1092
|
-
CoordinationType.SPATIAL_TARGET_C,
|
|
1093
|
-
CoordinationType.SPATIAL_LAYER_VISIBLE,
|
|
1094
|
-
CoordinationType.SPATIAL_LAYER_OPACITY,
|
|
1095
|
-
CoordinationType.SPATIAL_LAYER_COLORMAP,
|
|
1096
|
-
CoordinationType.SPATIAL_LAYER_TRANSPARENT_COLOR,
|
|
1097
|
-
CoordinationType.SPATIAL_LAYER_MODEL_MATRIX,
|
|
1098
|
-
CoordinationType.SPATIAL_CHANNEL_COLOR,
|
|
1099
|
-
CoordinationType.SPATIAL_SEGMENTATION_FILLED,
|
|
1100
|
-
CoordinationType.SPATIAL_SEGMENTATION_STROKE_WIDTH,
|
|
1101
|
-
CoordinationType.SPATIAL_POINT_STROKE_WIDTH,
|
|
1102
|
-
CoordinationType.IMAGE_CHANNEL,
|
|
1103
|
-
CoordinationType.IMAGE_LAYER,
|
|
1104
|
-
CoordinationType.SEGMENTATION_CHANNEL,
|
|
1105
|
-
CoordinationType.SEGMENTATION_LAYER,
|
|
1106
|
-
CoordinationType.SPATIAL_CHANNEL_VISIBLE,
|
|
1107
|
-
CoordinationType.SPATIAL_CHANNEL_OPACITY,
|
|
1108
|
-
CoordinationType.SPATIAL_CHANNEL_WINDOW,
|
|
1109
|
-
CoordinationType.PHOTOMETRIC_INTERPRETATION,
|
|
1110
|
-
CoordinationType.SPATIAL_RENDERING_MODE,
|
|
1111
|
-
CoordinationType.VOLUMETRIC_RENDERING_ALGORITHM,
|
|
1112
|
-
CoordinationType.SPATIAL_TARGET_RESOLUTION,
|
|
1113
|
-
CoordinationType.SPATIAL_MAX_RESOLUTION,
|
|
1114
|
-
CoordinationType.SPATIAL_SLICE_X,
|
|
1115
|
-
CoordinationType.SPATIAL_SLICE_Y,
|
|
1116
|
-
CoordinationType.SPATIAL_SLICE_Z,
|
|
1117
|
-
CoordinationType.SPOT_LAYER,
|
|
1118
|
-
CoordinationType.POINT_LAYER,
|
|
1119
|
-
CoordinationType.SPATIAL_SPOT_RADIUS,
|
|
1120
|
-
CoordinationType.SPATIAL_SPOT_FILLED,
|
|
1121
|
-
CoordinationType.SPATIAL_SPOT_STROKE_WIDTH,
|
|
1122
|
-
CoordinationType.SPATIAL_LAYER_COLOR,
|
|
1123
|
-
CoordinationType.OBS_COLOR_ENCODING,
|
|
1124
|
-
CoordinationType.FEATURE_COLOR,
|
|
1125
|
-
CoordinationType.FEATURE_FILTER_MODE,
|
|
1126
|
-
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
1127
|
-
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
1128
|
-
CoordinationType.FEATURE_SELECTION,
|
|
1129
|
-
CoordinationType.FEATURE_AGGREGATION_STRATEGY,
|
|
1130
|
-
CoordinationType.TOOLTIPS_VISIBLE,
|
|
1131
|
-
CoordinationType.TOOLTIP_CROSSHAIRS_VISIBLE,
|
|
1132
|
-
CoordinationType.LEGEND_VISIBLE,
|
|
1133
|
-
CoordinationType.SPATIAL_CHANNEL_LABELS_VISIBLE,
|
|
1134
|
-
CoordinationType.SPATIAL_CHANNEL_LABELS_ORIENTATION,
|
|
1135
|
-
CoordinationType.SPATIAL_CHANNEL_LABEL_SIZE
|
|
1136
|
-
],
|
|
1137
|
-
[ViewType.GENOMIC_PROFILES]: [
|
|
1138
|
-
CoordinationType.DATASET,
|
|
1139
|
-
CoordinationType.OBS_TYPE,
|
|
1140
|
-
CoordinationType.FEATURE_TYPE,
|
|
1141
|
-
CoordinationType.FEATURE_VALUE_TYPE,
|
|
1142
|
-
CoordinationType.GENOMIC_ZOOM_X,
|
|
1143
|
-
CoordinationType.GENOMIC_ZOOM_Y,
|
|
1144
|
-
CoordinationType.GENOMIC_TARGET_X,
|
|
1145
|
-
CoordinationType.GENOMIC_TARGET_Y,
|
|
1146
|
-
CoordinationType.FEATURE_FILTER,
|
|
1147
|
-
CoordinationType.FEATURE_HIGHLIGHT,
|
|
1148
|
-
CoordinationType.FEATURE_SELECTION,
|
|
1149
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
1150
|
-
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
1151
|
-
CoordinationType.OBS_SET_COLOR,
|
|
1152
|
-
CoordinationType.ADDITIONAL_OBS_SETS
|
|
1153
|
-
],
|
|
1154
|
-
[ViewType.DESCRIPTION]: [
|
|
1155
|
-
CoordinationType.DATASET,
|
|
1156
|
-
CoordinationType.SPATIAL_IMAGE_LAYER
|
|
1157
|
-
],
|
|
1158
|
-
[ViewType.DOT_PLOT]: [
|
|
1159
|
-
CoordinationType.DATASET,
|
|
1160
|
-
CoordinationType.OBS_TYPE,
|
|
1161
|
-
CoordinationType.FEATURE_TYPE,
|
|
1162
|
-
CoordinationType.FEATURE_VALUE_TYPE,
|
|
1163
|
-
CoordinationType.FEATURE_SELECTION,
|
|
1164
|
-
CoordinationType.FEATURE_HIGHLIGHT,
|
|
1165
|
-
CoordinationType.FEATURE_FILTER,
|
|
1166
|
-
CoordinationType.FEATURE_VALUE_TRANSFORM,
|
|
1167
|
-
CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
1168
|
-
CoordinationType.FEATURE_VALUE_POSITIVITY_THRESHOLD,
|
|
1169
|
-
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
1170
|
-
CoordinationType.FEATURE_AGGREGATION_STRATEGY,
|
|
1171
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
1172
|
-
CoordinationType.OBS_SET_FILTER,
|
|
1173
|
-
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
1174
|
-
CoordinationType.OBS_SET_COLOR,
|
|
1175
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
1176
|
-
CoordinationType.SAMPLE_TYPE,
|
|
1177
|
-
CoordinationType.SAMPLE_SET_SELECTION,
|
|
1178
|
-
CoordinationType.SAMPLE_SET_FILTER,
|
|
1179
|
-
CoordinationType.SAMPLE_SET_COLOR
|
|
1180
|
-
],
|
|
1181
|
-
higlass: [
|
|
1182
|
-
CoordinationType.DATASET,
|
|
1183
|
-
CoordinationType.GENOMIC_ZOOM_X,
|
|
1184
|
-
CoordinationType.GENOMIC_ZOOM_Y,
|
|
1185
|
-
CoordinationType.GENOMIC_TARGET_X,
|
|
1186
|
-
CoordinationType.GENOMIC_TARGET_Y,
|
|
1187
|
-
CoordinationType.FEATURE_FILTER,
|
|
1188
|
-
CoordinationType.FEATURE_HIGHLIGHT,
|
|
1189
|
-
CoordinationType.FEATURE_SELECTION
|
|
1190
|
-
],
|
|
1191
|
-
[ViewType.FEATURE_BAR_PLOT]: [
|
|
1192
|
-
CoordinationType.DATASET,
|
|
1193
|
-
CoordinationType.OBS_TYPE,
|
|
1194
|
-
CoordinationType.FEATURE_TYPE,
|
|
1195
|
-
CoordinationType.FEATURE_VALUE_TYPE,
|
|
1196
|
-
CoordinationType.FEATURE_SELECTION,
|
|
1197
|
-
CoordinationType.FEATURE_VALUE_TRANSFORM,
|
|
1198
|
-
CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
1199
|
-
CoordinationType.FEATURE_AGGREGATION_STRATEGY,
|
|
1200
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
1201
|
-
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
1202
|
-
CoordinationType.OBS_HIGHLIGHT,
|
|
1203
|
-
CoordinationType.OBS_SET_COLOR,
|
|
1204
|
-
CoordinationType.OBS_COLOR_ENCODING,
|
|
1205
|
-
CoordinationType.ADDITIONAL_OBS_SETS
|
|
1206
|
-
],
|
|
1207
|
-
[ViewType.VOLCANO_PLOT]: [
|
|
1208
|
-
CoordinationType.DATASET,
|
|
1209
|
-
CoordinationType.OBS_TYPE,
|
|
1210
|
-
CoordinationType.FEATURE_TYPE,
|
|
1211
|
-
CoordinationType.SAMPLE_TYPE,
|
|
1212
|
-
// For selection of case-control sets of samples:
|
|
1213
|
-
CoordinationType.SAMPLE_SET_SELECTION,
|
|
1214
|
-
// For selection of one-vs-others sets of observations:
|
|
1215
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
1216
|
-
// TODO: CoordinationType.FEATURE_SET_SELECTION,
|
|
1217
|
-
// TODO: CoordinationType.FEATURE_SET_HIGHLIGHT,
|
|
1218
|
-
// TODO: CoordinationType.FEATURE_SET_COLOR,
|
|
1219
|
-
CoordinationType.FEATURE_HIGHLIGHT,
|
|
1220
|
-
CoordinationType.FEATURE_SELECTION,
|
|
1221
|
-
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
1222
|
-
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
1223
|
-
// TODO: CoordinationType.FEATURE_COLOR_ENCODING,
|
|
1224
|
-
// TODO: CoordinationType.ADDITIONAL_FEATURE_SETS,
|
|
1225
|
-
CoordinationType.TOOLTIPS_VISIBLE,
|
|
1226
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
1227
|
-
CoordinationType.OBS_SET_COLOR,
|
|
1228
|
-
CoordinationType.SAMPLE_SET_COLOR,
|
|
1229
|
-
CoordinationType.FEATURE_POINT_SIGNIFICANCE_THRESHOLD,
|
|
1230
|
-
CoordinationType.FEATURE_LABEL_SIGNIFICANCE_THRESHOLD,
|
|
1231
|
-
CoordinationType.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
|
|
1232
|
-
CoordinationType.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
|
|
1233
|
-
],
|
|
1234
|
-
[ViewType.FEATURE_STATS_TABLE]: [
|
|
1235
|
-
CoordinationType.DATASET,
|
|
1236
|
-
CoordinationType.OBS_TYPE,
|
|
1237
|
-
CoordinationType.FEATURE_TYPE,
|
|
1238
|
-
CoordinationType.SAMPLE_TYPE,
|
|
1239
|
-
// For selection of case-control sets of samples:
|
|
1240
|
-
CoordinationType.SAMPLE_SET_SELECTION,
|
|
1241
|
-
// For selection of one-vs-others sets of observations:
|
|
1242
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
1243
|
-
// TODO: CoordinationType.FEATURE_SET_SELECTION,
|
|
1244
|
-
// TODO: CoordinationType.FEATURE_SET_HIGHLIGHT,
|
|
1245
|
-
// TODO: CoordinationType.FEATURE_SET_COLOR,
|
|
1246
|
-
CoordinationType.FEATURE_HIGHLIGHT,
|
|
1247
|
-
CoordinationType.FEATURE_SELECTION,
|
|
1248
|
-
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
1249
|
-
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
1250
|
-
CoordinationType.FEATURE_AGGREGATION_STRATEGY,
|
|
1251
|
-
// TODO: CoordinationType.FEATURE_COLOR_ENCODING,
|
|
1252
|
-
// TODO: CoordinationType.ADDITIONAL_FEATURE_SETS,
|
|
1253
|
-
CoordinationType.TOOLTIPS_VISIBLE,
|
|
1254
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
1255
|
-
CoordinationType.OBS_SET_COLOR,
|
|
1256
|
-
CoordinationType.SAMPLE_SET_COLOR,
|
|
1257
|
-
CoordinationType.FEATURE_POINT_SIGNIFICANCE_THRESHOLD,
|
|
1258
|
-
CoordinationType.FEATURE_LABEL_SIGNIFICANCE_THRESHOLD,
|
|
1259
|
-
CoordinationType.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
|
|
1260
|
-
CoordinationType.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
|
|
1261
|
-
],
|
|
1262
|
-
[ViewType.OBS_SET_COMPOSITION_BAR_PLOT]: [
|
|
1263
|
-
CoordinationType.DATASET,
|
|
1264
|
-
CoordinationType.OBS_TYPE,
|
|
1265
|
-
CoordinationType.SAMPLE_TYPE,
|
|
1266
|
-
// For selection of case-control sets of samples:
|
|
1267
|
-
CoordinationType.SAMPLE_SET_SELECTION,
|
|
1268
|
-
// For selection of one-vs-others sets of observations:
|
|
1269
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
1270
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
1271
|
-
CoordinationType.OBS_SET_COLOR,
|
|
1272
|
-
CoordinationType.SAMPLE_SET_COLOR
|
|
1273
|
-
],
|
|
1274
|
-
[ViewType.FEATURE_SET_ENRICHMENT_BAR_PLOT]: [
|
|
1275
|
-
CoordinationType.DATASET,
|
|
1276
|
-
CoordinationType.OBS_TYPE,
|
|
1277
|
-
CoordinationType.FEATURE_TYPE,
|
|
1278
|
-
CoordinationType.SAMPLE_TYPE,
|
|
1279
|
-
// For selection of case-control sets of samples:
|
|
1280
|
-
CoordinationType.SAMPLE_SET_SELECTION,
|
|
1281
|
-
// For selection of one-vs-others sets of observations:
|
|
1282
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
1283
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
1284
|
-
CoordinationType.OBS_SET_COLOR,
|
|
1285
|
-
CoordinationType.SAMPLE_SET_COLOR,
|
|
1286
|
-
CoordinationType.FEATURE_SELECTION
|
|
1287
|
-
],
|
|
1288
|
-
[ViewType.LINK_CONTROLLER]: [],
|
|
1289
|
-
[ViewType.BIOMARKER_SELECT]: [
|
|
1290
|
-
CoordinationType.DATASET,
|
|
1291
|
-
CoordinationType.OBS_TYPE,
|
|
1292
|
-
CoordinationType.SAMPLE_TYPE,
|
|
1293
|
-
CoordinationType.FEATURE_SELECTION,
|
|
1294
|
-
CoordinationType.SAMPLE_SET_SELECTION,
|
|
1295
|
-
CoordinationType.SAMPLE_SET_FILTER,
|
|
1296
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
1297
|
-
CoordinationType.OBS_SET_FILTER
|
|
1298
|
-
// TODO: create coordination types for internal state of the biomarker selection view?
|
|
1299
|
-
],
|
|
1300
|
-
[ViewType.BIOMARKER_SELECT_ALT]: [
|
|
1301
|
-
CoordinationType.DATASET,
|
|
1302
|
-
CoordinationType.OBS_TYPE,
|
|
1303
|
-
CoordinationType.SAMPLE_TYPE,
|
|
1304
|
-
CoordinationType.FEATURE_SELECTION,
|
|
1305
|
-
CoordinationType.SAMPLE_SET_SELECTION,
|
|
1306
|
-
CoordinationType.SAMPLE_SET_FILTER,
|
|
1307
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
1308
|
-
CoordinationType.OBS_SET_FILTER
|
|
1309
|
-
// TODO: create coordination types for internal state of the biomarker selection view?
|
|
1310
|
-
],
|
|
1311
|
-
[ViewType.COMPARATIVE_HEADING]: [
|
|
1312
|
-
CoordinationType.DATASET,
|
|
1313
|
-
CoordinationType.OBS_TYPE,
|
|
1314
|
-
CoordinationType.SAMPLE_TYPE,
|
|
1315
|
-
CoordinationType.FEATURE_SELECTION,
|
|
1316
|
-
CoordinationType.FEATURE_AGGREGATION_STRATEGY,
|
|
1317
|
-
CoordinationType.SAMPLE_SET_SELECTION,
|
|
1318
|
-
CoordinationType.SAMPLE_SET_FILTER,
|
|
1319
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
1320
|
-
CoordinationType.OBS_SET_FILTER
|
|
1321
|
-
],
|
|
1322
|
-
[ViewType.SAMPLE_SET_PAIR_MANAGER]: [
|
|
1323
|
-
CoordinationType.DATASET,
|
|
1324
|
-
CoordinationType.OBS_TYPE,
|
|
1325
|
-
CoordinationType.SAMPLE_TYPE,
|
|
1326
|
-
CoordinationType.SAMPLE_SET_SELECTION,
|
|
1327
|
-
CoordinationType.SAMPLE_SET_FILTER
|
|
1328
|
-
],
|
|
1329
|
-
[ViewType.TREEMAP]: [
|
|
1330
|
-
CoordinationType.DATASET,
|
|
1331
|
-
CoordinationType.OBS_TYPE,
|
|
1332
|
-
CoordinationType.FEATURE_TYPE,
|
|
1333
|
-
CoordinationType.FEATURE_VALUE_TYPE,
|
|
1334
|
-
CoordinationType.OBS_FILTER,
|
|
1335
|
-
CoordinationType.OBS_HIGHLIGHT,
|
|
1336
|
-
CoordinationType.OBS_SET_SELECTION,
|
|
1337
|
-
CoordinationType.OBS_SET_FILTER,
|
|
1338
|
-
CoordinationType.OBS_SELECTION,
|
|
1339
|
-
CoordinationType.OBS_SELECTION_MODE,
|
|
1340
|
-
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
1341
|
-
CoordinationType.OBS_SET_COLOR,
|
|
1342
|
-
CoordinationType.OBS_COLOR_ENCODING,
|
|
1343
|
-
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
1344
|
-
CoordinationType.SAMPLE_TYPE,
|
|
1345
|
-
CoordinationType.SAMPLE_SET_SELECTION,
|
|
1346
|
-
CoordinationType.SAMPLE_SET_FILTER,
|
|
1347
|
-
CoordinationType.SAMPLE_SET_COLOR,
|
|
1348
|
-
CoordinationType.SAMPLE_SELECTION,
|
|
1349
|
-
CoordinationType.SAMPLE_SELECTION_MODE,
|
|
1350
|
-
CoordinationType.SAMPLE_FILTER,
|
|
1351
|
-
CoordinationType.SAMPLE_FILTER_MODE,
|
|
1352
|
-
CoordinationType.SAMPLE_HIGHLIGHT,
|
|
1353
|
-
CoordinationType.HIERARCHY_LEVELS
|
|
1354
|
-
]
|
|
1355
|
-
};
|
|
1356
|
-
const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
|
|
1357
|
-
const version = "3.9.9";
|
|
1358
|
-
const date = "2026-05-20";
|
|
1359
|
-
const branch = "changeset-release/main";
|
|
1360
|
-
const hash = "00ae3546";
|
|
1361
|
-
const version$1 = {
|
|
1362
|
-
note,
|
|
1363
|
-
version,
|
|
1364
|
-
date,
|
|
1365
|
-
branch,
|
|
1366
|
-
hash
|
|
1367
|
-
};
|
|
1368
|
-
const GLOBAL_LABELS = ["z", "t"];
|
|
1369
|
-
const DEFAULT_RASTER_DOMAIN_TYPE = "Min/Max";
|
|
1370
|
-
const DEFAULT_MOLECULES_LAYER = {
|
|
1371
|
-
opacity: 1,
|
|
1372
|
-
radius: 20,
|
|
1373
|
-
visible: true
|
|
1374
|
-
};
|
|
1375
|
-
const DEFAULT_CELLS_LAYER = {
|
|
1376
|
-
opacity: 1,
|
|
1377
|
-
radius: 50,
|
|
1378
|
-
visible: true,
|
|
1379
|
-
stroked: false
|
|
1380
|
-
};
|
|
1381
|
-
const DEFAULT_NEIGHBORHOODS_LAYER = {
|
|
1382
|
-
visible: false
|
|
1383
|
-
};
|
|
1384
|
-
const DEFAULT_LAYER_TYPE_ORDERING = [
|
|
1385
|
-
"molecules",
|
|
1386
|
-
"cells",
|
|
1387
|
-
"neighborhoods",
|
|
1388
|
-
"raster"
|
|
1389
|
-
];
|
|
1390
|
-
const DEFAULT_RASTER_LAYER_PROPS = {
|
|
1391
|
-
visible: true,
|
|
1392
|
-
colormap: null,
|
|
1393
|
-
opacity: 1,
|
|
1394
|
-
domainType: DEFAULT_RASTER_DOMAIN_TYPE,
|
|
1395
|
-
transparentColor: [0, 0, 0],
|
|
1396
|
-
// Importing the full viv package here would add a lot of weight to the bundle
|
|
1397
|
-
renderingMode: "Additive",
|
|
1398
|
-
// viv.RENDERING_MODES.ADDITIVE,
|
|
1399
|
-
use3d: false
|
|
1400
|
-
};
|
|
1401
|
-
export {
|
|
1402
|
-
ALT_ZARR_STORE_TYPES,
|
|
1403
|
-
AUTO_INDEPENDENT_COORDINATION_TYPES,
|
|
1404
|
-
AsyncFunctionType,
|
|
1405
|
-
COMPONENT_COORDINATION_TYPES,
|
|
1406
|
-
CoordinationType,
|
|
1407
|
-
DATA_TYPE_COORDINATION_VALUE_USAGE,
|
|
1408
|
-
DEFAULT_CELLS_LAYER,
|
|
1409
|
-
DEFAULT_LAYER_TYPE_ORDERING,
|
|
1410
|
-
DEFAULT_MOLECULES_LAYER,
|
|
1411
|
-
DEFAULT_NEIGHBORHOODS_LAYER,
|
|
1412
|
-
DEFAULT_RASTER_DOMAIN_TYPE,
|
|
1413
|
-
DEFAULT_RASTER_LAYER_PROPS,
|
|
1414
|
-
DataType,
|
|
1415
|
-
DescriptionType,
|
|
1416
|
-
FILE_TYPE_DATA_TYPE_MAPPING,
|
|
1417
|
-
FileType,
|
|
1418
|
-
GLOBAL_LABELS,
|
|
1419
|
-
version$1 as META_VERSION,
|
|
1420
|
-
STATUS,
|
|
1421
|
-
ViewHelpMapping,
|
|
1422
|
-
ViewType
|
|
1423
|
-
};
|