@vitessce/constants 4.0.0-test.0 → 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/index.js DELETED
@@ -1,1754 +0,0 @@
1
- const ViewType$2 = {
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$2 = {
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 FileType$2 = {
54
- // Joint file types
55
- ANNDATA_ZARR: "anndata.zarr",
56
- ANNDATA_ZARR_ZIP: "anndata.zarr.zip",
57
- ANNDATA_H5AD: "anndata.h5ad",
58
- SPATIALDATA_ZARR: "spatialdata.zarr",
59
- SPATIALDATA_ZARR_ZIP: "spatialdata.zarr.zip",
60
- // Atomic file types
61
- OBS_EMBEDDING_CSV: "obsEmbedding.csv",
62
- OBS_SPOTS_CSV: "obsSpots.csv",
63
- OBS_POINTS_CSV: "obsPoints.csv",
64
- OBS_LOCATIONS_CSV: "obsLocations.csv",
65
- OBS_LABELS_CSV: "obsLabels.csv",
66
- FEATURE_LABELS_CSV: "featureLabels.csv",
67
- OBS_FEATURE_MATRIX_CSV: "obsFeatureMatrix.csv",
68
- OBS_SEGMENTATIONS_JSON: "obsSegmentations.json",
69
- OBS_SETS_CSV: "obsSets.csv",
70
- OBS_SETS_JSON: "obsSets.json",
71
- SAMPLE_SETS_CSV: "sampleSets.csv",
72
- // OME-Zarr
73
- IMAGE_OME_ZARR: "image.ome-zarr",
74
- OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
75
- // OME-Zarr - Zipped
76
- IMAGE_OME_ZARR_ZIP: "image.ome-zarr.zip",
77
- OBS_SEGMENTATIONS_OME_ZARR_ZIP: "obsSegmentations.ome-zarr.zip",
78
- // AnnData
79
- OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
80
- OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
81
- OBS_SETS_ANNDATA_ZARR: "obsSets.anndata.zarr",
82
- OBS_EMBEDDING_ANNDATA_ZARR: "obsEmbedding.anndata.zarr",
83
- OBS_SPOTS_ANNDATA_ZARR: "obsSpots.anndata.zarr",
84
- OBS_POINTS_ANNDATA_ZARR: "obsPoints.anndata.zarr",
85
- OBS_LOCATIONS_ANNDATA_ZARR: "obsLocations.anndata.zarr",
86
- OBS_SEGMENTATIONS_ANNDATA_ZARR: "obsSegmentations.anndata.zarr",
87
- OBS_LABELS_ANNDATA_ZARR: "obsLabels.anndata.zarr",
88
- FEATURE_LABELS_ANNDATA_ZARR: "featureLabels.anndata.zarr",
89
- SAMPLE_EDGES_ANNDATA_ZARR: "sampleEdges.anndata.zarr",
90
- SAMPLE_SETS_ANNDATA_ZARR: "sampleSets.anndata.zarr",
91
- COMPARISON_METADATA_ANNDATA_ZARR: "comparisonMetadata.anndata.zarr",
92
- COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR: "comparativeFeatureStats.anndata.zarr",
93
- COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR: "comparativeFeatureSetStats.anndata.zarr",
94
- COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR: "comparativeObsSetStats.anndata.zarr",
95
- // AnnData - zipped
96
- OBS_FEATURE_MATRIX_ANNDATA_ZARR_ZIP: "obsFeatureMatrix.anndata.zarr.zip",
97
- OBS_FEATURE_COLUMNS_ANNDATA_ZARR_ZIP: "obsFeatureColumns.anndata.zarr.zip",
98
- OBS_SETS_ANNDATA_ZARR_ZIP: "obsSets.anndata.zarr.zip",
99
- OBS_EMBEDDING_ANNDATA_ZARR_ZIP: "obsEmbedding.anndata.zarr.zip",
100
- OBS_SPOTS_ANNDATA_ZARR_ZIP: "obsSpots.anndata.zarr.zip",
101
- OBS_POINTS_ANNDATA_ZARR_ZIP: "obsPoints.anndata.zarr.zip",
102
- OBS_LOCATIONS_ANNDATA_ZARR_ZIP: "obsLocations.anndata.zarr.zip",
103
- OBS_SEGMENTATIONS_ANNDATA_ZARR_ZIP: "obsSegmentations.anndata.zarr.zip",
104
- OBS_LABELS_ANNDATA_ZARR_ZIP: "obsLabels.anndata.zarr.zip",
105
- FEATURE_LABELS_ANNDATA_ZARR_ZIP: "featureLabels.anndata.zarr.zip",
106
- SAMPLE_EDGES_ANNDATA_ZARR_ZIP: "sampleEdges.anndata.zarr.zip",
107
- SAMPLE_SETS_ANNDATA_ZARR_ZIP: "sampleSets.anndata.zarr.zip",
108
- COMPARISON_METADATA_ANNDATA_ZARR_ZIP: "comparisonMetadata.anndata.zarr.zip",
109
- COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR_ZIP: "comparativeFeatureStats.anndata.zarr.zip",
110
- COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR_ZIP: "comparativeFeatureSetStats.anndata.zarr.zip",
111
- COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR_ZIP: "comparativeObsSetStats.anndata.zarr.zip",
112
- // AnnData - h5ad via reference spec
113
- OBS_FEATURE_MATRIX_ANNDATA_H5AD: "obsFeatureMatrix.anndata.h5ad",
114
- OBS_FEATURE_COLUMNS_ANNDATA_H5AD: "obsFeatureColumns.anndata.h5ad",
115
- OBS_SETS_ANNDATA_H5AD: "obsSets.anndata.h5ad",
116
- OBS_EMBEDDING_ANNDATA_H5AD: "obsEmbedding.anndata.h5ad",
117
- OBS_SPOTS_ANNDATA_H5AD: "obsSpots.anndata.h5ad",
118
- OBS_POINTS_ANNDATA_H5AD: "obsPoints.anndata.h5ad",
119
- OBS_LOCATIONS_ANNDATA_H5AD: "obsLocations.anndata.h5ad",
120
- OBS_SEGMENTATIONS_ANNDATA_H5AD: "obsSegmentations.anndata.h5ad",
121
- OBS_LABELS_ANNDATA_H5AD: "obsLabels.anndata.h5ad",
122
- FEATURE_LABELS_ANNDATA_H5AD: "featureLabels.anndata.h5ad",
123
- SAMPLE_EDGES_ANNDATA_H5AD: "sampleEdges.anndata.h5ad",
124
- SAMPLE_SETS_ANNDATA_H5AD: "sampleSets.anndata.h5ad",
125
- COMPARISON_METADATA_ANNDATA_H5AD: "comparisonMetadata.anndata.h5ad",
126
- COMPARATIVE_FEATURE_STATS_ANNDATA_H5AD: "comparativeFeatureStats.anndata.h5ad",
127
- COMPARATIVE_FEATURE_SET_STATS_ANNDATA_H5AD: "comparativeFeatureSetStats.anndata.h5ad",
128
- COMPARATIVE_OBS_SET_STATS_ANNDATA_H5AD: "comparativeObsSetStats.anndata.h5ad",
129
- // SpatialData
130
- IMAGE_SPATIALDATA_ZARR: "image.spatialdata.zarr",
131
- LABELS_SPATIALDATA_ZARR: "labels.spatialdata.zarr",
132
- SHAPES_SPATIALDATA_ZARR: "shapes.spatialdata.zarr",
133
- OBS_FEATURE_MATRIX_SPATIALDATA_ZARR: "obsFeatureMatrix.spatialdata.zarr",
134
- OBS_SETS_SPATIALDATA_ZARR: "obsSets.spatialdata.zarr",
135
- OBS_SPOTS_SPATIALDATA_ZARR: "obsSpots.spatialdata.zarr",
136
- FEATURE_LABELS_SPATIALDATA_ZARR: "featureLabels.spatialdata.zarr",
137
- OBS_POINTS_SPATIALDATA_ZARR: "obsPoints.spatialdata.zarr",
138
- OBS_EMBEDDING_SPATIALDATA_ZARR: "obsEmbedding.spatialdata.zarr",
139
- // SpatialData - zipped
140
- IMAGE_SPATIALDATA_ZARR_ZIP: "image.spatialdata.zarr.zip",
141
- LABELS_SPATIALDATA_ZARR_ZIP: "labels.spatialdata.zarr.zip",
142
- SHAPES_SPATIALDATA_ZARR_ZIP: "shapes.spatialdata.zarr.zip",
143
- OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP: "obsFeatureMatrix.spatialdata.zarr.zip",
144
- OBS_SETS_SPATIALDATA_ZARR_ZIP: "obsSets.spatialdata.zarr.zip",
145
- OBS_SPOTS_SPATIALDATA_ZARR_ZIP: "obsSpots.spatialdata.zarr.zip",
146
- FEATURE_LABELS_SPATIALDATA_ZARR_ZIP: "featureLabels.spatialdata.zarr.zip",
147
- OBS_POINTS_SPATIALDATA_ZARR_ZIP: "obsPoints.spatialdata.zarr.zip",
148
- OBS_EMBEDDING_SPATIALDATA_ZARR_ZIP: "obsEmbedding.spatialdata.zarr.zip",
149
- // MuData
150
- OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
151
- OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
152
- OBS_EMBEDDING_MUDATA_ZARR: "obsEmbedding.mudata.zarr",
153
- OBS_SPOTS_MUDATA_ZARR: "obsSpots.mudata.zarr",
154
- OBS_POINTS_MUDATA_ZARR: "obsPoints.mudata.zarr",
155
- OBS_LOCATIONS_MUDATA_ZARR: "obsLocations.mudata.zarr",
156
- OBS_SEGMENTATIONS_MUDATA_ZARR: "obsSegmentations.mudata.zarr",
157
- OBS_LABELS_MUDATA_ZARR: "obsLabels.mudata.zarr",
158
- FEATURE_LABELS_MUDATA_ZARR: "featureLabels.mudata.zarr",
159
- GENOMIC_PROFILES_ZARR: "genomic-profiles.zarr",
160
- NEIGHBORHOODS_JSON: "neighborhoods.json",
161
- // OME-TIFF
162
- IMAGE_OME_TIFF: "image.ome-tiff",
163
- OBS_SEGMENTATIONS_OME_TIFF: "obsSegmentations.ome-tiff",
164
- // GLB
165
- OBS_SEGMENTATIONS_GLB: "obsSegmentations.glb",
166
- // Neuroglancer
167
- // Precomputed (mesh) format
168
- OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
169
- OBS_POINTS_NG_ANNOTATIONS: "obsPoints.ng-annotations",
170
- // New file types to support old file types:
171
- // - cells.json
172
- OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
173
- OBS_SEGMENTATIONS_CELLS_JSON: "obsSegmentations.cells.json",
174
- OBS_LOCATIONS_CELLS_JSON: "obsLocations.cells.json",
175
- OBS_LABELS_CELLS_JSON: "obsLabels.cells.json",
176
- // - cell-sets.json
177
- OBS_SETS_CELL_SETS_JSON: "obsSets.cell-sets.json",
178
- // - genes.json
179
- OBS_FEATURE_MATRIX_GENES_JSON: "obsFeatureMatrix.genes.json",
180
- // - clusters.json
181
- OBS_FEATURE_MATRIX_CLUSTERS_JSON: "obsFeatureMatrix.clusters.json",
182
- // - expression-matrix.zarr
183
- OBS_FEATURE_MATRIX_EXPRESSION_MATRIX_ZARR: "obsFeatureMatrix.expression-matrix.zarr",
184
- // - raster.json
185
- IMAGE_RASTER_JSON: "image.raster.json",
186
- OBS_SEGMENTATIONS_RASTER_JSON: "obsSegmentations.raster.json",
187
- // - molecules.json
188
- OBS_LOCATIONS_MOLECULES_JSON: "obsLocations.molecules.json",
189
- OBS_LABELS_MOLECULES_JSON: "obsLabels.molecules.json",
190
- // Legacy joint file types
191
- CELLS_JSON: "cells.json",
192
- CELL_SETS_JSON: "cell-sets.json",
193
- ANNDATA_CELL_SETS_ZARR: "anndata-cell-sets.zarr",
194
- ANNDATA_CELLS_ZARR: "anndata-cells.zarr",
195
- EXPRESSION_MATRIX_ZARR: "expression-matrix.zarr",
196
- MOLECULES_JSON: "molecules.json",
197
- RASTER_JSON: "raster.json",
198
- RASTER_OME_ZARR: "raster.ome-zarr",
199
- CLUSTERS_JSON: "clusters.json",
200
- GENES_JSON: "genes.json",
201
- ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
202
- };
203
- const CoordinationType$2 = {
204
- META_COORDINATION_SCOPES: "metaCoordinationScopes",
205
- META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
206
- DATASET: "dataset",
207
- // Entity types
208
- OBS_TYPE: "obsType",
209
- FEATURE_TYPE: "featureType",
210
- FEATURE_VALUE_TYPE: "featureValueType",
211
- OBS_LABELS_TYPE: "obsLabelsType",
212
- FEATURE_LABELS_TYPE: "featureLabelsType",
213
- // Other types
214
- EMBEDDING_TYPE: "embeddingType",
215
- EMBEDDING_ZOOM: "embeddingZoom",
216
- EMBEDDING_ROTATION: "embeddingRotation",
217
- EMBEDDING_TARGET_X: "embeddingTargetX",
218
- EMBEDDING_TARGET_Y: "embeddingTargetY",
219
- EMBEDDING_TARGET_Z: "embeddingTargetZ",
220
- EMBEDDING_OBS_SET_POLYGONS_VISIBLE: "embeddingObsSetPolygonsVisible",
221
- EMBEDDING_OBS_SET_LABELS_VISIBLE: "embeddingObsSetLabelsVisible",
222
- EMBEDDING_OBS_SET_LABEL_SIZE: "embeddingObsSetLabelSize",
223
- EMBEDDING_OBS_RADIUS: "embeddingObsRadius",
224
- EMBEDDING_OBS_RADIUS_MODE: "embeddingObsRadiusMode",
225
- EMBEDDING_OBS_OPACITY: "embeddingObsOpacity",
226
- EMBEDDING_OBS_OPACITY_MODE: "embeddingObsOpacityMode",
227
- SPATIAL_ZOOM: "spatialZoom",
228
- SPATIAL_ROTATION: "spatialRotation",
229
- SPATIAL_TARGET_X: "spatialTargetX",
230
- SPATIAL_TARGET_Y: "spatialTargetY",
231
- SPATIAL_TARGET_Z: "spatialTargetZ",
232
- SPATIAL_TARGET_T: "spatialTargetT",
233
- SPATIAL_ROTATION_X: "spatialRotationX",
234
- SPATIAL_ROTATION_Y: "spatialRotationY",
235
- SPATIAL_ROTATION_Z: "spatialRotationZ",
236
- SPATIAL_ROTATION_ORBIT: "spatialRotationOrbit",
237
- SPATIAL_ORBIT_AXIS: "spatialOrbitAxis",
238
- SPATIAL_AXIS_FIXED: "spatialAxisFixed",
239
- HEATMAP_ZOOM_X: "heatmapZoomX",
240
- HEATMAP_ZOOM_Y: "heatmapZoomY",
241
- HEATMAP_TARGET_X: "heatmapTargetX",
242
- HEATMAP_TARGET_Y: "heatmapTargetY",
243
- OBS_HIGHLIGHT: "obsHighlight",
244
- OBS_SELECTION: "obsSelection",
245
- OBS_SET_SELECTION: "obsSetSelection",
246
- OBS_SELECTION_MODE: "obsSelectionMode",
247
- OBS_FILTER: "obsFilter",
248
- OBS_SET_FILTER: "obsSetFilter",
249
- OBS_FILTER_MODE: "obsFilterMode",
250
- OBS_SET_HIGHLIGHT: "obsSetHighlight",
251
- OBS_SET_EXPANSION: "obsSetExpansion",
252
- OBS_SET_COLOR: "obsSetColor",
253
- FEATURE_COLOR: "featureColor",
254
- FEATURE_HIGHLIGHT: "featureHighlight",
255
- FEATURE_SELECTION: "featureSelection",
256
- FEATURE_SET_SELECTION: "featureSetSelection",
257
- FEATURE_SELECTION_MODE: "featureSelectionMode",
258
- FEATURE_FILTER: "featureFilter",
259
- FEATURE_SET_FILTER: "featureSetFilter",
260
- FEATURE_FILTER_MODE: "featureFilterMode",
261
- FEATURE_VALUE_COLORMAP: "featureValueColormap",
262
- FEATURE_VALUE_TRANSFORM: "featureValueTransform",
263
- FEATURE_VALUE_COLORMAP_RANGE: "featureValueColormapRange",
264
- FEATURE_AGGREGATION_STRATEGY: "featureAggregationStrategy",
265
- OBS_COLOR_ENCODING: "obsColorEncoding",
266
- SPATIAL_IMAGE_LAYER: "spatialImageLayer",
267
- SPATIAL_SEGMENTATION_LAYER: "spatialSegmentationLayer",
268
- SPATIAL_POINT_LAYER: "spatialPointLayer",
269
- SPATIAL_NEIGHBORHOOD_LAYER: "spatialNeighborhoodLayer",
270
- GENOMIC_ZOOM_X: "genomicZoomX",
271
- GENOMIC_ZOOM_Y: "genomicZoomY",
272
- GENOMIC_TARGET_X: "genomicTargetX",
273
- GENOMIC_TARGET_Y: "genomicTargetY",
274
- ADDITIONAL_OBS_SETS: "additionalObsSets",
275
- // TODO: use obsHighlight rather than moleculeHighlight.
276
- MOLECULE_HIGHLIGHT: "moleculeHighlight",
277
- GATING_FEATURE_SELECTION_X: "gatingFeatureSelectionX",
278
- GATING_FEATURE_SELECTION_Y: "gatingFeatureSelectionY",
279
- FEATURE_VALUE_TRANSFORM_COEFFICIENT: "featureValueTransformCoefficient",
280
- FEATURE_VALUE_POSITIVITY_THRESHOLD: "featureValuePositivityThreshold",
281
- TOOLTIPS_VISIBLE: "tooltipsVisible",
282
- FILE_UID: "fileUid",
283
- IMAGE_LAYER: "imageLayer",
284
- IMAGE_CHANNEL: "imageChannel",
285
- SEGMENTATION_LAYER: "segmentationLayer",
286
- SEGMENTATION_CHANNEL: "segmentationChannel",
287
- SPATIAL_TARGET_C: "spatialTargetC",
288
- SPATIAL_LAYER_VISIBLE: "spatialLayerVisible",
289
- SPATIAL_LAYER_OPACITY: "spatialLayerOpacity",
290
- SPATIAL_LAYER_COLORMAP: "spatialLayerColormap",
291
- SPATIAL_LAYER_TRANSPARENT_COLOR: "spatialLayerTransparentColor",
292
- SPATIAL_LAYER_MODEL_MATRIX: "spatialLayerModelMatrix",
293
- SPATIAL_SEGMENTATION_FILLED: "spatialSegmentationFilled",
294
- SPATIAL_SEGMENTATION_STROKE_WIDTH: "spatialSegmentationStrokeWidth",
295
- SPATIAL_CHANNEL_COLOR: "spatialChannelColor",
296
- SPATIAL_CHANNEL_VISIBLE: "spatialChannelVisible",
297
- SPATIAL_CHANNEL_OPACITY: "spatialChannelOpacity",
298
- SPATIAL_CHANNEL_WINDOW: "spatialChannelWindow",
299
- PHOTOMETRIC_INTERPRETATION: "photometricInterpretation",
300
- // For 3D volume rendering
301
- SPATIAL_RENDERING_MODE: "spatialRenderingMode",
302
- // For whole spatial view
303
- VOLUMETRIC_RENDERING_ALGORITHM: "volumetricRenderingAlgorithm",
304
- // Could be per-image-layer
305
- SPATIAL_TARGET_RESOLUTION: "spatialTargetResolution",
306
- // Per-spatial-layer
307
- SPATIAL_MAX_RESOLUTION: "spatialMaxResolution",
308
- // Per-image-channel (for spatial-accelerated)
309
- SPATIAL_LOD_FACTOR: "spatialLodFactor",
310
- // LOD factor for 3D volume rendering
311
- // For clipping plane sliders
312
- SPATIAL_SLICE_X: "spatialSliceX",
313
- SPATIAL_SLICE_Y: "spatialSliceY",
314
- SPATIAL_SLICE_Z: "spatialSliceZ",
315
- // For spatial spot and point layers
316
- SPOT_LAYER: "spotLayer",
317
- POINT_LAYER: "pointLayer",
318
- SPATIAL_SPOT_RADIUS: "spatialSpotRadius",
319
- // In micrometers?
320
- SPATIAL_SPOT_FILLED: "spatialSpotFilled",
321
- SPATIAL_SPOT_STROKE_WIDTH: "spatialSpotStrokeWidth",
322
- SPATIAL_LAYER_COLOR: "spatialLayerColor",
323
- PIXEL_HIGHLIGHT: "pixelHighlight",
324
- // Per-image-layer
325
- TOOLTIP_CROSSHAIRS_VISIBLE: "tooltipCrosshairsVisible",
326
- LEGEND_VISIBLE: "legendVisible",
327
- SPATIAL_CHANNEL_LABELS_VISIBLE: "spatialChannelLabelsVisible",
328
- SPATIAL_CHANNEL_LABELS_ORIENTATION: "spatialChannelLabelsOrientation",
329
- SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
330
- // Multi-sample / comparative
331
- SAMPLE_TYPE: "sampleType",
332
- SAMPLE_SELECTION: "sampleSelection",
333
- SAMPLE_SET_SELECTION: "sampleSetSelection",
334
- SAMPLE_SELECTION_MODE: "sampleSelectionMode",
335
- SAMPLE_FILTER: "sampleFilter",
336
- SAMPLE_SET_FILTER: "sampleSetFilter",
337
- SAMPLE_FILTER_MODE: "sampleFilterMode",
338
- SAMPLE_SET_COLOR: "sampleSetColor",
339
- SAMPLE_HIGHLIGHT: "sampleHighlight",
340
- EMBEDDING_POINTS_VISIBLE: "embeddingPointsVisible",
341
- EMBEDDING_CONTOURS_VISIBLE: "embeddingContoursVisible",
342
- EMBEDDING_CONTOURS_FILLED: "embeddingContoursFilled",
343
- EMBEDDING_CONTOUR_PERCENTILES: "embeddingContourPercentiles",
344
- CONTOUR_COLOR_ENCODING: "contourColorEncoding",
345
- CONTOUR_COLOR: "contourColor",
346
- // For volcano plot:
347
- FEATURE_POINT_SIGNIFICANCE_THRESHOLD: "featurePointSignificanceThreshold",
348
- FEATURE_LABEL_SIGNIFICANCE_THRESHOLD: "featureLabelSignificanceThreshold",
349
- FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
350
- FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
351
- // Treemap
352
- HIERARCHY_LEVELS: "hierarchyLevels"
353
- };
354
- ({
355
- // For new file types
356
- [FileType$2.OBS_EMBEDDING_CSV]: DataType$2.OBS_EMBEDDING,
357
- [FileType$2.OBS_SPOTS_CSV]: DataType$2.OBS_SPOTS,
358
- [FileType$2.OBS_POINTS_CSV]: DataType$2.OBS_POINTS,
359
- [FileType$2.OBS_LOCATIONS_CSV]: DataType$2.OBS_LOCATIONS,
360
- [FileType$2.OBS_LABELS_CSV]: DataType$2.OBS_LABELS,
361
- [FileType$2.FEATURE_LABELS_CSV]: DataType$2.FEATURE_LABELS,
362
- [FileType$2.SAMPLE_SETS_CSV]: DataType$2.SAMPLE_SETS,
363
- [FileType$2.OBS_FEATURE_MATRIX_CSV]: DataType$2.OBS_FEATURE_MATRIX,
364
- [FileType$2.OBS_SEGMENTATIONS_JSON]: DataType$2.OBS_SEGMENTATIONS,
365
- [FileType$2.OBS_SETS_CSV]: DataType$2.OBS_SETS,
366
- [FileType$2.OBS_SETS_JSON]: DataType$2.OBS_SETS,
367
- [FileType$2.IMAGE_OME_ZARR]: DataType$2.IMAGE,
368
- [FileType$2.OBS_SEGMENTATIONS_OME_ZARR]: DataType$2.OBS_SEGMENTATIONS,
369
- [FileType$2.OBS_FEATURE_MATRIX_ANNDATA_ZARR]: DataType$2.OBS_FEATURE_MATRIX,
370
- [FileType$2.OBS_FEATURE_COLUMNS_ANNDATA_ZARR]: DataType$2.OBS_FEATURE_MATRIX,
371
- [FileType$2.OBS_SETS_ANNDATA_ZARR]: DataType$2.OBS_SETS,
372
- [FileType$2.OBS_EMBEDDING_ANNDATA_ZARR]: DataType$2.OBS_EMBEDDING,
373
- [FileType$2.OBS_SPOTS_ANNDATA_ZARR]: DataType$2.OBS_SPOTS,
374
- [FileType$2.OBS_POINTS_ANNDATA_ZARR]: DataType$2.OBS_POINTS,
375
- [FileType$2.OBS_LOCATIONS_ANNDATA_ZARR]: DataType$2.OBS_LOCATIONS,
376
- [FileType$2.OBS_SEGMENTATIONS_ANNDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
377
- [FileType$2.OBS_LABELS_ANNDATA_ZARR]: DataType$2.OBS_LABELS,
378
- [FileType$2.FEATURE_LABELS_ANNDATA_ZARR]: DataType$2.FEATURE_LABELS,
379
- [FileType$2.SAMPLE_EDGES_ANNDATA_ZARR]: DataType$2.SAMPLE_EDGES,
380
- [FileType$2.SAMPLE_SETS_ANNDATA_ZARR]: DataType$2.SAMPLE_SETS,
381
- [FileType$2.COMPARISON_METADATA_ANNDATA_ZARR]: DataType$2.COMPARISON_METADATA,
382
- [FileType$2.COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR]: DataType$2.FEATURE_STATS,
383
- [FileType$2.COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR]: DataType$2.FEATURE_SET_STATS,
384
- [FileType$2.COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR]: DataType$2.OBS_SET_STATS,
385
- [FileType$2.IMAGE_OME_TIFF]: DataType$2.IMAGE,
386
- [FileType$2.OBS_SEGMENTATIONS_OME_TIFF]: DataType$2.OBS_SEGMENTATIONS,
387
- [FileType$2.OBS_FEATURE_MATRIX_MUDATA_ZARR]: DataType$2.OBS_FEATURE_MATRIX,
388
- [FileType$2.OBS_SETS_MUDATA_ZARR]: DataType$2.OBS_SETS,
389
- [FileType$2.OBS_EMBEDDING_MUDATA_ZARR]: DataType$2.OBS_EMBEDDING,
390
- [FileType$2.OBS_SPOTS_MUDATA_ZARR]: DataType$2.OBS_SPOTS,
391
- [FileType$2.OBS_POINTS_MUDATA_ZARR]: DataType$2.OBS_POINTS,
392
- [FileType$2.OBS_LOCATIONS_MUDATA_ZARR]: DataType$2.OBS_LOCATIONS,
393
- [FileType$2.OBS_SEGMENTATIONS_MUDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
394
- [FileType$2.OBS_LABELS_MUDATA_ZARR]: DataType$2.OBS_LABELS,
395
- [FileType$2.FEATURE_LABELS_MUDATA_ZARR]: DataType$2.FEATURE_LABELS,
396
- [FileType$2.OBS_SEGMENTATIONS_GLB]: DataType$2.OBS_SEGMENTATIONS,
397
- [FileType$2.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType$2.OBS_SEGMENTATIONS,
398
- [FileType$2.OBS_POINTS_NG_ANNOTATIONS]: DataType$2.OBS_POINTS,
399
- [FileType$2.IMAGE_SPATIALDATA_ZARR]: DataType$2.IMAGE,
400
- [FileType$2.LABELS_SPATIALDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
401
- [FileType$2.SHAPES_SPATIALDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
402
- [FileType$2.OBS_SPOTS_SPATIALDATA_ZARR]: DataType$2.OBS_SPOTS,
403
- [FileType$2.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR]: DataType$2.OBS_FEATURE_MATRIX,
404
- [FileType$2.OBS_SETS_SPATIALDATA_ZARR]: DataType$2.OBS_SETS,
405
- [FileType$2.FEATURE_LABELS_SPATIALDATA_ZARR]: DataType$2.FEATURE_LABELS,
406
- [FileType$2.OBS_POINTS_SPATIALDATA_ZARR]: DataType$2.OBS_POINTS,
407
- [FileType$2.OBS_EMBEDDING_SPATIALDATA_ZARR]: DataType$2.OBS_EMBEDDING,
408
- // For new file types to support old file types
409
- [FileType$2.OBS_EMBEDDING_CELLS_JSON]: DataType$2.OBS_EMBEDDING,
410
- [FileType$2.OBS_LOCATIONS_CELLS_JSON]: DataType$2.OBS_LOCATIONS,
411
- [FileType$2.OBS_SEGMENTATIONS_CELLS_JSON]: DataType$2.OBS_SEGMENTATIONS,
412
- [FileType$2.OBS_LABELS_CELLS_JSON]: DataType$2.OBS_LABELS,
413
- [FileType$2.OBS_SETS_CELL_SETS_JSON]: DataType$2.OBS_SETS,
414
- [FileType$2.OBS_FEATURE_MATRIX_GENES_JSON]: DataType$2.OBS_FEATURE_MATRIX,
415
- [FileType$2.OBS_FEATURE_MATRIX_CLUSTERS_JSON]: DataType$2.OBS_FEATURE_MATRIX,
416
- [FileType$2.OBS_FEATURE_MATRIX_EXPRESSION_MATRIX_ZARR]: DataType$2.OBS_FEATURE_MATRIX,
417
- [FileType$2.IMAGE_RASTER_JSON]: DataType$2.IMAGE,
418
- [FileType$2.OBS_SEGMENTATIONS_RASTER_JSON]: DataType$2.OBS_SEGMENTATIONS,
419
- [FileType$2.OBS_LOCATIONS_MOLECULES_JSON]: DataType$2.OBS_LOCATIONS,
420
- [FileType$2.OBS_LABELS_MOLECULES_JSON]: DataType$2.OBS_LABELS,
421
- // For old file types
422
- [FileType$2.GENOMIC_PROFILES_ZARR]: DataType$2.GENOMIC_PROFILES,
423
- [FileType$2.NEIGHBORHOODS_JSON]: DataType$2.NEIGHBORHOODS
424
- });
425
- ({
426
- [DataType$2.OBS_SEGMENTATIONS]: [
427
- CoordinationType$2.FILE_UID,
428
- CoordinationType$2.OBS_TYPE
429
- ],
430
- [DataType$2.OBS_EMBEDDING]: [
431
- CoordinationType$2.OBS_TYPE,
432
- CoordinationType$2.EMBEDDING_TYPE
433
- ],
434
- [DataType$2.OBS_SPOTS]: [
435
- CoordinationType$2.OBS_TYPE
436
- ],
437
- [DataType$2.OBS_POINTS]: [
438
- CoordinationType$2.OBS_TYPE
439
- ],
440
- [DataType$2.OBS_LOCATIONS]: [
441
- CoordinationType$2.OBS_TYPE
442
- ],
443
- [DataType$2.OBS_LABELS]: [
444
- CoordinationType$2.OBS_TYPE,
445
- CoordinationType$2.OBS_LABELS_TYPE
446
- ],
447
- [DataType$2.FEATURE_LABELS]: [
448
- CoordinationType$2.FEATURE_TYPE
449
- ],
450
- [DataType$2.OBS_SETS]: [
451
- CoordinationType$2.OBS_TYPE
452
- ],
453
- [DataType$2.OBS_FEATURE_MATRIX]: [
454
- CoordinationType$2.OBS_TYPE,
455
- CoordinationType$2.FEATURE_TYPE,
456
- CoordinationType$2.FEATURE_VALUE_TYPE
457
- ],
458
- [DataType$2.GENOMIC_PROFILES]: [],
459
- [DataType$2.IMAGE]: [
460
- CoordinationType$2.FILE_UID
461
- ],
462
- [DataType$2.NEIGHBORHOODS]: [],
463
- [DataType$2.SAMPLE_SETS]: [
464
- CoordinationType$2.SAMPLE_TYPE
465
- ],
466
- [DataType$2.SAMPLE_EDGES]: [
467
- CoordinationType$2.OBS_TYPE,
468
- CoordinationType$2.SAMPLE_TYPE
469
- ],
470
- [DataType$2.COMPARISON_METADATA]: [
471
- CoordinationType$2.OBS_TYPE,
472
- CoordinationType$2.SAMPLE_TYPE
473
- ],
474
- [DataType$2.FEATURE_STATS]: [
475
- CoordinationType$2.FEATURE_TYPE
476
- // TODO: should sampleType, obsSetSelection, and/or sampleSetSelection be used here?
477
- ],
478
- [DataType$2.FEATURE_SET_STATS]: [
479
- CoordinationType$2.FEATURE_TYPE
480
- // TODO: should sampleType, obsSetSelection, and/or sampleSetSelection be used here?
481
- ],
482
- [DataType$2.OBS_SET_STATS]: [
483
- CoordinationType$2.OBS_TYPE
484
- // TODO: should sampleType, obsSetSelection, and/or sampleSetSelection be used here?
485
- ]
486
- });
487
- ({
488
- // For AnnData:
489
- [FileType$2.OBS_FEATURE_MATRIX_ANNDATA_ZARR]: {
490
- zip: FileType$2.OBS_FEATURE_MATRIX_ANNDATA_ZARR_ZIP,
491
- h5ad: FileType$2.OBS_FEATURE_MATRIX_ANNDATA_H5AD
492
- },
493
- [FileType$2.OBS_FEATURE_COLUMNS_ANNDATA_ZARR]: {
494
- zip: FileType$2.OBS_FEATURE_COLUMNS_ANNDATA_ZARR_ZIP,
495
- h5ad: FileType$2.OBS_FEATURE_COLUMNS_ANNDATA_H5AD
496
- },
497
- [FileType$2.OBS_SETS_ANNDATA_ZARR]: {
498
- zip: FileType$2.OBS_SETS_ANNDATA_ZARR_ZIP,
499
- h5ad: FileType$2.OBS_SETS_ANNDATA_H5AD
500
- },
501
- [FileType$2.OBS_EMBEDDING_ANNDATA_ZARR]: {
502
- zip: FileType$2.OBS_EMBEDDING_ANNDATA_ZARR_ZIP,
503
- h5ad: FileType$2.OBS_EMBEDDING_ANNDATA_H5AD
504
- },
505
- [FileType$2.OBS_SPOTS_ANNDATA_ZARR]: {
506
- zip: FileType$2.OBS_SPOTS_ANNDATA_ZARR_ZIP,
507
- h5ad: FileType$2.OBS_SPOTS_ANNDATA_H5AD
508
- },
509
- [FileType$2.OBS_POINTS_ANNDATA_ZARR]: {
510
- zip: FileType$2.OBS_POINTS_ANNDATA_ZARR_ZIP,
511
- h5ad: FileType$2.OBS_POINTS_ANNDATA_H5AD
512
- },
513
- [FileType$2.OBS_LOCATIONS_ANNDATA_ZARR]: {
514
- zip: FileType$2.OBS_LOCATIONS_ANNDATA_ZARR_ZIP,
515
- h5ad: FileType$2.OBS_LOCATIONS_ANNDATA_H5AD
516
- },
517
- [FileType$2.OBS_SEGMENTATIONS_ANNDATA_ZARR]: {
518
- zip: FileType$2.OBS_SEGMENTATIONS_ANNDATA_ZARR_ZIP,
519
- h5ad: FileType$2.OBS_SEGMENTATIONS_ANNDATA_H5AD
520
- },
521
- [FileType$2.OBS_LABELS_ANNDATA_ZARR]: {
522
- zip: FileType$2.OBS_LABELS_ANNDATA_ZARR_ZIP,
523
- h5ad: FileType$2.OBS_LABELS_ANNDATA_H5AD
524
- },
525
- [FileType$2.FEATURE_LABELS_ANNDATA_ZARR]: {
526
- zip: FileType$2.FEATURE_LABELS_ANNDATA_ZARR_ZIP,
527
- h5ad: FileType$2.FEATURE_LABELS_ANNDATA_H5AD
528
- },
529
- [FileType$2.SAMPLE_EDGES_ANNDATA_ZARR]: {
530
- zip: FileType$2.SAMPLE_EDGES_ANNDATA_ZARR_ZIP,
531
- h5ad: FileType$2.SAMPLE_EDGES_ANNDATA_H5AD
532
- },
533
- [FileType$2.SAMPLE_SETS_ANNDATA_ZARR]: {
534
- zip: FileType$2.SAMPLE_SETS_ANNDATA_ZARR_ZIP,
535
- h5ad: FileType$2.SAMPLE_SETS_ANNDATA_H5AD
536
- },
537
- [FileType$2.COMPARISON_METADATA_ANNDATA_ZARR]: {
538
- zip: FileType$2.COMPARISON_METADATA_ANNDATA_ZARR_ZIP,
539
- h5ad: FileType$2.COMPARISON_METADATA_ANNDATA_H5AD
540
- },
541
- [FileType$2.COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR]: {
542
- zip: FileType$2.COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR_ZIP,
543
- h5ad: FileType$2.COMPARATIVE_FEATURE_STATS_ANNDATA_H5AD
544
- },
545
- [FileType$2.COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR]: {
546
- zip: FileType$2.COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR_ZIP,
547
- h5ad: FileType$2.COMPARATIVE_FEATURE_SET_STATS_ANNDATA_H5AD
548
- },
549
- [FileType$2.COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR]: {
550
- zip: FileType$2.COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR_ZIP,
551
- h5ad: FileType$2.COMPARATIVE_OBS_SET_STATS_ANNDATA_H5AD
552
- },
553
- // For OME-Zarr:
554
- [FileType$2.IMAGE_OME_ZARR]: {
555
- zip: FileType$2.IMAGE_OME_ZARR_ZIP
556
- },
557
- [FileType$2.OBS_SEGMENTATIONS_OME_ZARR]: {
558
- zip: FileType$2.OBS_SEGMENTATIONS_OME_ZARR_ZIP
559
- },
560
- // For SpatialData:
561
- [FileType$2.IMAGE_SPATIALDATA_ZARR]: {
562
- zip: FileType$2.IMAGE_SPATIALDATA_ZARR_ZIP
563
- },
564
- [FileType$2.LABELS_SPATIALDATA_ZARR]: {
565
- zip: FileType$2.LABELS_SPATIALDATA_ZARR_ZIP
566
- },
567
- [FileType$2.SHAPES_SPATIALDATA_ZARR]: {
568
- zip: FileType$2.SHAPES_SPATIALDATA_ZARR_ZIP
569
- },
570
- [FileType$2.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR]: {
571
- zip: FileType$2.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR_ZIP
572
- },
573
- [FileType$2.OBS_SETS_SPATIALDATA_ZARR]: {
574
- zip: FileType$2.OBS_SETS_SPATIALDATA_ZARR_ZIP
575
- },
576
- [FileType$2.OBS_SPOTS_SPATIALDATA_ZARR]: {
577
- zip: FileType$2.OBS_SPOTS_SPATIALDATA_ZARR_ZIP
578
- },
579
- [FileType$2.FEATURE_LABELS_SPATIALDATA_ZARR]: {
580
- zip: FileType$2.FEATURE_LABELS_SPATIALDATA_ZARR_ZIP
581
- },
582
- [FileType$2.OBS_POINTS_SPATIALDATA_ZARR]: {
583
- zip: FileType$2.OBS_POINTS_SPATIALDATA_ZARR_ZIP
584
- },
585
- [FileType$2.OBS_EMBEDDING_SPATIALDATA_ZARR]: {
586
- zip: FileType$2.OBS_EMBEDDING_SPATIALDATA_ZARR_ZIP
587
- }
588
- });
589
- [
590
- CoordinationType$2.HEATMAP_ZOOM_X,
591
- CoordinationType$2.HEATMAP_ZOOM_Y,
592
- CoordinationType$2.HEATMAP_TARGET_X,
593
- CoordinationType$2.HEATMAP_TARGET_Y,
594
- CoordinationType$2.EMBEDDING_ZOOM,
595
- CoordinationType$2.EMBEDDING_TARGET_X,
596
- CoordinationType$2.EMBEDDING_TARGET_Y,
597
- CoordinationType$2.EMBEDDING_TARGET_Z,
598
- CoordinationType$2.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
599
- CoordinationType$2.EMBEDDING_OBS_SET_LABELS_VISIBLE,
600
- CoordinationType$2.EMBEDDING_OBS_SET_LABEL_SIZE,
601
- CoordinationType$2.EMBEDDING_OBS_RADIUS,
602
- CoordinationType$2.EMBEDDING_OBS_OPACITY,
603
- CoordinationType$2.SPATIAL_ZOOM,
604
- CoordinationType$2.SPATIAL_ROTATION,
605
- CoordinationType$2.SPATIAL_ROTATION_X,
606
- CoordinationType$2.SPATIAL_ROTATION_Y,
607
- CoordinationType$2.SPATIAL_ROTATION_Z,
608
- CoordinationType$2.SPATIAL_ROTATION_ORBIT,
609
- CoordinationType$2.SPATIAL_TARGET_X,
610
- CoordinationType$2.SPATIAL_TARGET_Y,
611
- CoordinationType$2.SPATIAL_TARGET_Z,
612
- CoordinationType$2.SPATIAL_AXIS_FIXED,
613
- CoordinationType$2.SPATIAL_ORBIT_AXIS,
614
- CoordinationType$2.FEATURE_AGGREGATION_STRATEGY
615
- ];
616
- ({
617
- [ViewType$2.NEUROGLANCER]: [
618
- CoordinationType$2.META_COORDINATION_SCOPES,
619
- CoordinationType$2.META_COORDINATION_SCOPES_BY,
620
- CoordinationType$2.DATASET,
621
- CoordinationType$2.SPATIAL_TARGET_X,
622
- CoordinationType$2.SPATIAL_TARGET_Y,
623
- CoordinationType$2.SPATIAL_TARGET_Z,
624
- CoordinationType$2.SPATIAL_ROTATION_X,
625
- CoordinationType$2.SPATIAL_ROTATION_Y,
626
- CoordinationType$2.SPATIAL_ROTATION_Z,
627
- CoordinationType$2.SPATIAL_AXIS_FIXED,
628
- CoordinationType$2.SPATIAL_ROTATION_ORBIT,
629
- CoordinationType$2.SPATIAL_ORBIT_AXIS,
630
- CoordinationType$2.SPATIAL_ZOOM,
631
- CoordinationType$2.OBS_FILTER,
632
- CoordinationType$2.OBS_HIGHLIGHT,
633
- CoordinationType$2.OBS_SET_SELECTION,
634
- CoordinationType$2.OBS_SET_FILTER,
635
- CoordinationType$2.OBS_SET_HIGHLIGHT,
636
- CoordinationType$2.OBS_TYPE,
637
- CoordinationType$2.OBS_SET_COLOR,
638
- CoordinationType$2.OBS_COLOR_ENCODING,
639
- CoordinationType$2.EMBEDDING_TYPE,
640
- CoordinationType$2.ADDITIONAL_OBS_SETS,
641
- CoordinationType$2.TOOLTIPS_VISIBLE,
642
- CoordinationType$2.FILE_UID,
643
- CoordinationType$2.IMAGE_LAYER,
644
- CoordinationType$2.SEGMENTATION_LAYER,
645
- CoordinationType$2.IMAGE_CHANNEL,
646
- CoordinationType$2.SEGMENTATION_CHANNEL,
647
- CoordinationType$2.POINT_LAYER,
648
- CoordinationType$2.FEATURE_COLOR,
649
- CoordinationType$2.FEATURE_FILTER_MODE,
650
- CoordinationType$2.FEATURE_HIGHLIGHT,
651
- CoordinationType$2.FEATURE_SELECTION,
652
- CoordinationType$2.FEATURE_VALUE_COLORMAP,
653
- CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE,
654
- CoordinationType$2.SPATIAL_LAYER_COLOR,
655
- CoordinationType$2.SPATIAL_LAYER_OPACITY,
656
- CoordinationType$2.SPATIAL_LAYER_VISIBLE,
657
- CoordinationType$2.SPATIAL_CHANNEL_COLOR,
658
- CoordinationType$2.SPATIAL_CHANNEL_OPACITY,
659
- CoordinationType$2.SPATIAL_CHANNEL_VISIBLE,
660
- CoordinationType$2.LEGEND_VISIBLE
661
- ],
662
- [ViewType$2.SCATTERPLOT]: [
663
- CoordinationType$2.DATASET,
664
- CoordinationType$2.OBS_TYPE,
665
- CoordinationType$2.FEATURE_TYPE,
666
- CoordinationType$2.FEATURE_VALUE_TYPE,
667
- CoordinationType$2.OBS_LABELS_TYPE,
668
- CoordinationType$2.EMBEDDING_TYPE,
669
- CoordinationType$2.EMBEDDING_ZOOM,
670
- CoordinationType$2.EMBEDDING_ROTATION,
671
- CoordinationType$2.EMBEDDING_TARGET_X,
672
- CoordinationType$2.EMBEDDING_TARGET_Y,
673
- CoordinationType$2.EMBEDDING_TARGET_Z,
674
- CoordinationType$2.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
675
- CoordinationType$2.EMBEDDING_OBS_SET_LABELS_VISIBLE,
676
- CoordinationType$2.EMBEDDING_OBS_SET_LABEL_SIZE,
677
- CoordinationType$2.EMBEDDING_OBS_RADIUS,
678
- CoordinationType$2.EMBEDDING_OBS_RADIUS_MODE,
679
- CoordinationType$2.EMBEDDING_OBS_OPACITY,
680
- CoordinationType$2.EMBEDDING_OBS_OPACITY_MODE,
681
- CoordinationType$2.OBS_FILTER,
682
- CoordinationType$2.OBS_HIGHLIGHT,
683
- CoordinationType$2.OBS_SET_SELECTION,
684
- CoordinationType$2.OBS_SET_FILTER,
685
- CoordinationType$2.OBS_SET_HIGHLIGHT,
686
- CoordinationType$2.OBS_SET_COLOR,
687
- CoordinationType$2.FEATURE_HIGHLIGHT,
688
- CoordinationType$2.FEATURE_SELECTION,
689
- CoordinationType$2.FEATURE_VALUE_COLORMAP,
690
- CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE,
691
- CoordinationType$2.FEATURE_AGGREGATION_STRATEGY,
692
- CoordinationType$2.OBS_COLOR_ENCODING,
693
- CoordinationType$2.ADDITIONAL_OBS_SETS,
694
- CoordinationType$2.TOOLTIPS_VISIBLE,
695
- CoordinationType$2.SAMPLE_TYPE,
696
- CoordinationType$2.SAMPLE_SET_SELECTION,
697
- CoordinationType$2.SAMPLE_SET_FILTER,
698
- CoordinationType$2.SAMPLE_SET_COLOR,
699
- CoordinationType$2.EMBEDDING_POINTS_VISIBLE,
700
- CoordinationType$2.EMBEDDING_CONTOURS_VISIBLE,
701
- CoordinationType$2.EMBEDDING_CONTOURS_FILLED,
702
- CoordinationType$2.EMBEDDING_CONTOUR_PERCENTILES,
703
- CoordinationType$2.CONTOUR_COLOR_ENCODING,
704
- CoordinationType$2.CONTOUR_COLOR
705
- ],
706
- [ViewType$2.DUAL_SCATTERPLOT]: [
707
- CoordinationType$2.DATASET,
708
- CoordinationType$2.OBS_TYPE,
709
- CoordinationType$2.FEATURE_TYPE,
710
- CoordinationType$2.FEATURE_VALUE_TYPE,
711
- CoordinationType$2.OBS_LABELS_TYPE,
712
- CoordinationType$2.EMBEDDING_TYPE,
713
- CoordinationType$2.EMBEDDING_ZOOM,
714
- CoordinationType$2.EMBEDDING_ROTATION,
715
- CoordinationType$2.EMBEDDING_TARGET_X,
716
- CoordinationType$2.EMBEDDING_TARGET_Y,
717
- CoordinationType$2.EMBEDDING_TARGET_Z,
718
- CoordinationType$2.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
719
- CoordinationType$2.EMBEDDING_OBS_SET_LABELS_VISIBLE,
720
- CoordinationType$2.EMBEDDING_OBS_SET_LABEL_SIZE,
721
- CoordinationType$2.EMBEDDING_OBS_RADIUS,
722
- CoordinationType$2.EMBEDDING_OBS_RADIUS_MODE,
723
- CoordinationType$2.EMBEDDING_OBS_OPACITY,
724
- CoordinationType$2.EMBEDDING_OBS_OPACITY_MODE,
725
- CoordinationType$2.OBS_FILTER,
726
- CoordinationType$2.OBS_HIGHLIGHT,
727
- CoordinationType$2.OBS_SET_SELECTION,
728
- CoordinationType$2.OBS_SET_FILTER,
729
- CoordinationType$2.OBS_SET_HIGHLIGHT,
730
- CoordinationType$2.OBS_SET_COLOR,
731
- CoordinationType$2.FEATURE_HIGHLIGHT,
732
- CoordinationType$2.FEATURE_SELECTION,
733
- CoordinationType$2.FEATURE_VALUE_COLORMAP,
734
- CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE,
735
- CoordinationType$2.FEATURE_AGGREGATION_STRATEGY,
736
- CoordinationType$2.OBS_COLOR_ENCODING,
737
- CoordinationType$2.ADDITIONAL_OBS_SETS,
738
- CoordinationType$2.TOOLTIPS_VISIBLE,
739
- CoordinationType$2.SAMPLE_TYPE,
740
- CoordinationType$2.SAMPLE_SET_SELECTION,
741
- CoordinationType$2.SAMPLE_SET_FILTER,
742
- CoordinationType$2.SAMPLE_SET_COLOR,
743
- CoordinationType$2.EMBEDDING_POINTS_VISIBLE,
744
- CoordinationType$2.EMBEDDING_CONTOURS_VISIBLE,
745
- CoordinationType$2.EMBEDDING_CONTOURS_FILLED,
746
- CoordinationType$2.EMBEDDING_CONTOUR_PERCENTILES,
747
- CoordinationType$2.CONTOUR_COLOR_ENCODING,
748
- CoordinationType$2.CONTOUR_COLOR
749
- ],
750
- [ViewType$2.GATING]: [
751
- CoordinationType$2.DATASET,
752
- CoordinationType$2.OBS_TYPE,
753
- CoordinationType$2.FEATURE_TYPE,
754
- CoordinationType$2.FEATURE_VALUE_TYPE,
755
- CoordinationType$2.EMBEDDING_TYPE,
756
- CoordinationType$2.EMBEDDING_ZOOM,
757
- CoordinationType$2.EMBEDDING_ROTATION,
758
- CoordinationType$2.EMBEDDING_TARGET_X,
759
- CoordinationType$2.EMBEDDING_TARGET_Y,
760
- CoordinationType$2.EMBEDDING_TARGET_Z,
761
- CoordinationType$2.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
762
- CoordinationType$2.EMBEDDING_OBS_SET_LABELS_VISIBLE,
763
- CoordinationType$2.EMBEDDING_OBS_SET_LABEL_SIZE,
764
- CoordinationType$2.EMBEDDING_OBS_RADIUS,
765
- CoordinationType$2.EMBEDDING_OBS_RADIUS_MODE,
766
- CoordinationType$2.EMBEDDING_OBS_OPACITY,
767
- CoordinationType$2.EMBEDDING_OBS_OPACITY_MODE,
768
- CoordinationType$2.OBS_FILTER,
769
- CoordinationType$2.OBS_HIGHLIGHT,
770
- CoordinationType$2.OBS_SET_SELECTION,
771
- CoordinationType$2.OBS_SET_HIGHLIGHT,
772
- CoordinationType$2.OBS_SET_COLOR,
773
- CoordinationType$2.FEATURE_HIGHLIGHT,
774
- CoordinationType$2.FEATURE_SELECTION,
775
- CoordinationType$2.FEATURE_VALUE_COLORMAP,
776
- CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE,
777
- CoordinationType$2.OBS_COLOR_ENCODING,
778
- CoordinationType$2.ADDITIONAL_OBS_SETS,
779
- CoordinationType$2.FEATURE_VALUE_TRANSFORM,
780
- CoordinationType$2.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
781
- CoordinationType$2.GATING_FEATURE_SELECTION_X,
782
- CoordinationType$2.GATING_FEATURE_SELECTION_Y
783
- ],
784
- [ViewType$2.SPATIAL]: [
785
- CoordinationType$2.DATASET,
786
- CoordinationType$2.OBS_TYPE,
787
- CoordinationType$2.OBS_LABELS_TYPE,
788
- CoordinationType$2.FEATURE_TYPE,
789
- CoordinationType$2.FEATURE_VALUE_TYPE,
790
- CoordinationType$2.SPATIAL_ZOOM,
791
- CoordinationType$2.SPATIAL_ROTATION,
792
- CoordinationType$2.SPATIAL_IMAGE_LAYER,
793
- CoordinationType$2.SPATIAL_SEGMENTATION_LAYER,
794
- CoordinationType$2.SPATIAL_POINT_LAYER,
795
- CoordinationType$2.SPATIAL_NEIGHBORHOOD_LAYER,
796
- CoordinationType$2.SPATIAL_TARGET_X,
797
- CoordinationType$2.SPATIAL_TARGET_Y,
798
- CoordinationType$2.SPATIAL_TARGET_Z,
799
- CoordinationType$2.SPATIAL_ROTATION_X,
800
- CoordinationType$2.SPATIAL_ROTATION_Y,
801
- CoordinationType$2.SPATIAL_ROTATION_Z,
802
- CoordinationType$2.SPATIAL_ROTATION_ORBIT,
803
- CoordinationType$2.SPATIAL_ORBIT_AXIS,
804
- CoordinationType$2.SPATIAL_AXIS_FIXED,
805
- CoordinationType$2.OBS_FILTER,
806
- CoordinationType$2.OBS_HIGHLIGHT,
807
- CoordinationType$2.OBS_SET_SELECTION,
808
- CoordinationType$2.OBS_SET_FILTER,
809
- CoordinationType$2.OBS_SET_HIGHLIGHT,
810
- CoordinationType$2.OBS_SET_COLOR,
811
- CoordinationType$2.FEATURE_HIGHLIGHT,
812
- CoordinationType$2.FEATURE_SELECTION,
813
- CoordinationType$2.FEATURE_VALUE_COLORMAP,
814
- CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE,
815
- CoordinationType$2.FEATURE_AGGREGATION_STRATEGY,
816
- CoordinationType$2.OBS_COLOR_ENCODING,
817
- CoordinationType$2.ADDITIONAL_OBS_SETS,
818
- CoordinationType$2.MOLECULE_HIGHLIGHT,
819
- CoordinationType$2.TOOLTIPS_VISIBLE,
820
- CoordinationType$2.PHOTOMETRIC_INTERPRETATION
821
- ],
822
- [ViewType$2.SPATIAL_BETA]: [
823
- CoordinationType$2.META_COORDINATION_SCOPES,
824
- CoordinationType$2.META_COORDINATION_SCOPES_BY,
825
- CoordinationType$2.DATASET,
826
- CoordinationType$2.OBS_TYPE,
827
- CoordinationType$2.OBS_LABELS_TYPE,
828
- CoordinationType$2.FEATURE_TYPE,
829
- CoordinationType$2.FEATURE_VALUE_TYPE,
830
- CoordinationType$2.SPATIAL_ZOOM,
831
- CoordinationType$2.SPATIAL_ROTATION,
832
- CoordinationType$2.SPATIAL_POINT_LAYER,
833
- CoordinationType$2.SPATIAL_NEIGHBORHOOD_LAYER,
834
- CoordinationType$2.SPATIAL_TARGET_X,
835
- CoordinationType$2.SPATIAL_TARGET_Y,
836
- CoordinationType$2.SPATIAL_TARGET_Z,
837
- CoordinationType$2.SPATIAL_TARGET_T,
838
- CoordinationType$2.SPATIAL_ROTATION_X,
839
- CoordinationType$2.SPATIAL_ROTATION_Y,
840
- CoordinationType$2.SPATIAL_ROTATION_Z,
841
- CoordinationType$2.SPATIAL_ROTATION_ORBIT,
842
- CoordinationType$2.SPATIAL_ORBIT_AXIS,
843
- CoordinationType$2.SPATIAL_AXIS_FIXED,
844
- CoordinationType$2.OBS_FILTER,
845
- CoordinationType$2.OBS_HIGHLIGHT,
846
- CoordinationType$2.OBS_SET_SELECTION,
847
- CoordinationType$2.OBS_SET_FILTER,
848
- CoordinationType$2.OBS_SET_HIGHLIGHT,
849
- CoordinationType$2.OBS_SET_COLOR,
850
- CoordinationType$2.FEATURE_COLOR,
851
- CoordinationType$2.FEATURE_FILTER_MODE,
852
- CoordinationType$2.FEATURE_HIGHLIGHT,
853
- CoordinationType$2.FEATURE_SELECTION,
854
- CoordinationType$2.FEATURE_VALUE_COLORMAP,
855
- CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE,
856
- CoordinationType$2.FEATURE_AGGREGATION_STRATEGY,
857
- CoordinationType$2.OBS_COLOR_ENCODING,
858
- CoordinationType$2.ADDITIONAL_OBS_SETS,
859
- CoordinationType$2.MOLECULE_HIGHLIGHT,
860
- CoordinationType$2.TOOLTIPS_VISIBLE,
861
- CoordinationType$2.FILE_UID,
862
- CoordinationType$2.SPATIAL_TARGET_C,
863
- CoordinationType$2.SPATIAL_LAYER_VISIBLE,
864
- CoordinationType$2.SPATIAL_LAYER_OPACITY,
865
- CoordinationType$2.SPATIAL_LAYER_COLORMAP,
866
- CoordinationType$2.SPATIAL_LAYER_TRANSPARENT_COLOR,
867
- CoordinationType$2.SPATIAL_LAYER_MODEL_MATRIX,
868
- CoordinationType$2.SPATIAL_CHANNEL_COLOR,
869
- CoordinationType$2.SPATIAL_SEGMENTATION_FILLED,
870
- CoordinationType$2.SPATIAL_SEGMENTATION_STROKE_WIDTH,
871
- CoordinationType$2.IMAGE_LAYER,
872
- CoordinationType$2.SEGMENTATION_LAYER,
873
- CoordinationType$2.IMAGE_CHANNEL,
874
- CoordinationType$2.SEGMENTATION_CHANNEL,
875
- CoordinationType$2.SPATIAL_CHANNEL_VISIBLE,
876
- CoordinationType$2.SPATIAL_CHANNEL_OPACITY,
877
- CoordinationType$2.SPATIAL_CHANNEL_WINDOW,
878
- CoordinationType$2.SPATIAL_RENDERING_MODE,
879
- CoordinationType$2.VOLUMETRIC_RENDERING_ALGORITHM,
880
- CoordinationType$2.SPATIAL_TARGET_RESOLUTION,
881
- CoordinationType$2.SPATIAL_MAX_RESOLUTION,
882
- CoordinationType$2.SPATIAL_SLICE_X,
883
- CoordinationType$2.SPATIAL_SLICE_Y,
884
- CoordinationType$2.SPATIAL_SLICE_Z,
885
- CoordinationType$2.SPOT_LAYER,
886
- CoordinationType$2.POINT_LAYER,
887
- CoordinationType$2.SPATIAL_SPOT_RADIUS,
888
- CoordinationType$2.SPATIAL_SPOT_FILLED,
889
- CoordinationType$2.SPATIAL_SPOT_STROKE_WIDTH,
890
- CoordinationType$2.SPATIAL_LAYER_COLOR,
891
- CoordinationType$2.PIXEL_HIGHLIGHT,
892
- CoordinationType$2.TOOLTIP_CROSSHAIRS_VISIBLE,
893
- CoordinationType$2.LEGEND_VISIBLE,
894
- CoordinationType$2.SPATIAL_CHANNEL_LABELS_VISIBLE,
895
- CoordinationType$2.SPATIAL_CHANNEL_LABELS_ORIENTATION,
896
- CoordinationType$2.SPATIAL_CHANNEL_LABEL_SIZE,
897
- CoordinationType$2.PHOTOMETRIC_INTERPRETATION
898
- ],
899
- [ViewType$2.HEATMAP]: [
900
- CoordinationType$2.DATASET,
901
- CoordinationType$2.OBS_TYPE,
902
- CoordinationType$2.OBS_LABELS_TYPE,
903
- CoordinationType$2.FEATURE_TYPE,
904
- CoordinationType$2.FEATURE_VALUE_TYPE,
905
- CoordinationType$2.HEATMAP_ZOOM_X,
906
- CoordinationType$2.HEATMAP_ZOOM_Y,
907
- CoordinationType$2.HEATMAP_TARGET_X,
908
- CoordinationType$2.HEATMAP_TARGET_Y,
909
- CoordinationType$2.OBS_FILTER,
910
- CoordinationType$2.OBS_HIGHLIGHT,
911
- CoordinationType$2.OBS_SET_SELECTION,
912
- CoordinationType$2.OBS_SET_FILTER,
913
- CoordinationType$2.OBS_SET_HIGHLIGHT,
914
- CoordinationType$2.OBS_SET_COLOR,
915
- CoordinationType$2.FEATURE_FILTER,
916
- CoordinationType$2.FEATURE_HIGHLIGHT,
917
- CoordinationType$2.FEATURE_SELECTION,
918
- CoordinationType$2.FEATURE_VALUE_COLORMAP,
919
- CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE,
920
- CoordinationType$2.OBS_COLOR_ENCODING,
921
- CoordinationType$2.ADDITIONAL_OBS_SETS,
922
- CoordinationType$2.TOOLTIPS_VISIBLE
923
- ],
924
- [ViewType$2.OBS_SETS]: [
925
- CoordinationType$2.DATASET,
926
- CoordinationType$2.OBS_TYPE,
927
- CoordinationType$2.OBS_SET_SELECTION,
928
- CoordinationType$2.OBS_SET_FILTER,
929
- CoordinationType$2.OBS_SET_EXPANSION,
930
- CoordinationType$2.OBS_SET_HIGHLIGHT,
931
- CoordinationType$2.OBS_SET_COLOR,
932
- CoordinationType$2.OBS_COLOR_ENCODING,
933
- CoordinationType$2.ADDITIONAL_OBS_SETS,
934
- CoordinationType$2.FEATURE_SELECTION
935
- ],
936
- [ViewType$2.OBS_SET_SIZES]: [
937
- CoordinationType$2.DATASET,
938
- CoordinationType$2.OBS_TYPE,
939
- CoordinationType$2.OBS_SET_SELECTION,
940
- CoordinationType$2.OBS_SET_FILTER,
941
- CoordinationType$2.OBS_SET_EXPANSION,
942
- CoordinationType$2.OBS_SET_HIGHLIGHT,
943
- CoordinationType$2.OBS_SET_COLOR,
944
- CoordinationType$2.ADDITIONAL_OBS_SETS
945
- ],
946
- [ViewType$2.STATUS]: [
947
- CoordinationType$2.DATASET,
948
- CoordinationType$2.OBS_HIGHLIGHT,
949
- CoordinationType$2.FEATURE_HIGHLIGHT,
950
- CoordinationType$2.OBS_SET_HIGHLIGHT,
951
- CoordinationType$2.MOLECULE_HIGHLIGHT
952
- ],
953
- [ViewType$2.FEATURE_LIST]: [
954
- CoordinationType$2.DATASET,
955
- CoordinationType$2.OBS_TYPE,
956
- CoordinationType$2.FEATURE_TYPE,
957
- CoordinationType$2.FEATURE_VALUE_TYPE,
958
- CoordinationType$2.FEATURE_FILTER,
959
- CoordinationType$2.FEATURE_HIGHLIGHT,
960
- CoordinationType$2.FEATURE_SELECTION,
961
- CoordinationType$2.OBS_COLOR_ENCODING,
962
- CoordinationType$2.OBS_SET_SELECTION
963
- ],
964
- [ViewType$2.OBS_SET_FEATURE_VALUE_DISTRIBUTION]: [
965
- CoordinationType$2.DATASET,
966
- CoordinationType$2.OBS_TYPE,
967
- CoordinationType$2.FEATURE_TYPE,
968
- CoordinationType$2.FEATURE_VALUE_TYPE,
969
- CoordinationType$2.FEATURE_SELECTION,
970
- CoordinationType$2.FEATURE_VALUE_TRANSFORM,
971
- CoordinationType$2.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
972
- CoordinationType$2.FEATURE_AGGREGATION_STRATEGY,
973
- CoordinationType$2.OBS_SET_SELECTION,
974
- CoordinationType$2.OBS_SET_FILTER,
975
- CoordinationType$2.OBS_SET_HIGHLIGHT,
976
- CoordinationType$2.OBS_SET_COLOR,
977
- CoordinationType$2.ADDITIONAL_OBS_SETS,
978
- CoordinationType$2.SAMPLE_TYPE,
979
- CoordinationType$2.SAMPLE_SET_SELECTION,
980
- CoordinationType$2.SAMPLE_SET_COLOR
981
- ],
982
- [ViewType$2.FEATURE_VALUE_HISTOGRAM]: [
983
- CoordinationType$2.DATASET,
984
- CoordinationType$2.OBS_TYPE,
985
- CoordinationType$2.FEATURE_TYPE,
986
- CoordinationType$2.FEATURE_VALUE_TYPE,
987
- CoordinationType$2.FEATURE_SELECTION,
988
- CoordinationType$2.FEATURE_AGGREGATION_STRATEGY,
989
- CoordinationType$2.ADDITIONAL_OBS_SETS,
990
- CoordinationType$2.OBS_SET_COLOR,
991
- CoordinationType$2.OBS_COLOR_ENCODING,
992
- CoordinationType$2.OBS_SET_SELECTION,
993
- CoordinationType$2.OBS_SET_FILTER
994
- ],
995
- [ViewType$2.LAYER_CONTROLLER]: [
996
- CoordinationType$2.DATASET,
997
- CoordinationType$2.OBS_TYPE,
998
- CoordinationType$2.FEATURE_TYPE,
999
- CoordinationType$2.FEATURE_VALUE_TYPE,
1000
- CoordinationType$2.SPATIAL_IMAGE_LAYER,
1001
- CoordinationType$2.SPATIAL_SEGMENTATION_LAYER,
1002
- CoordinationType$2.SPATIAL_POINT_LAYER,
1003
- CoordinationType$2.SPATIAL_NEIGHBORHOOD_LAYER,
1004
- CoordinationType$2.SPATIAL_ZOOM,
1005
- CoordinationType$2.SPATIAL_TARGET_X,
1006
- CoordinationType$2.SPATIAL_TARGET_Y,
1007
- CoordinationType$2.SPATIAL_TARGET_Z,
1008
- CoordinationType$2.SPATIAL_ROTATION_X,
1009
- CoordinationType$2.SPATIAL_ROTATION_Y,
1010
- CoordinationType$2.SPATIAL_ROTATION_Z,
1011
- CoordinationType$2.SPATIAL_ROTATION_ORBIT,
1012
- CoordinationType$2.SPATIAL_ORBIT_AXIS,
1013
- CoordinationType$2.PHOTOMETRIC_INTERPRETATION
1014
- ],
1015
- [ViewType$2.LAYER_CONTROLLER_BETA]: [
1016
- CoordinationType$2.META_COORDINATION_SCOPES,
1017
- CoordinationType$2.META_COORDINATION_SCOPES_BY,
1018
- CoordinationType$2.DATASET,
1019
- CoordinationType$2.OBS_TYPE,
1020
- CoordinationType$2.FEATURE_TYPE,
1021
- CoordinationType$2.FEATURE_VALUE_TYPE,
1022
- CoordinationType$2.SPATIAL_POINT_LAYER,
1023
- CoordinationType$2.SPATIAL_NEIGHBORHOOD_LAYER,
1024
- CoordinationType$2.SPATIAL_ZOOM,
1025
- CoordinationType$2.SPATIAL_TARGET_X,
1026
- CoordinationType$2.SPATIAL_TARGET_Y,
1027
- CoordinationType$2.SPATIAL_TARGET_Z,
1028
- CoordinationType$2.SPATIAL_TARGET_T,
1029
- CoordinationType$2.SPATIAL_ROTATION_X,
1030
- CoordinationType$2.SPATIAL_ROTATION_Y,
1031
- CoordinationType$2.SPATIAL_ROTATION_Z,
1032
- CoordinationType$2.SPATIAL_ROTATION_ORBIT,
1033
- CoordinationType$2.SPATIAL_ORBIT_AXIS,
1034
- CoordinationType$2.FILE_UID,
1035
- CoordinationType$2.SPATIAL_TARGET_C,
1036
- CoordinationType$2.SPATIAL_LAYER_VISIBLE,
1037
- CoordinationType$2.SPATIAL_LAYER_OPACITY,
1038
- CoordinationType$2.SPATIAL_LAYER_COLORMAP,
1039
- CoordinationType$2.SPATIAL_LAYER_TRANSPARENT_COLOR,
1040
- CoordinationType$2.SPATIAL_LAYER_MODEL_MATRIX,
1041
- CoordinationType$2.SPATIAL_CHANNEL_COLOR,
1042
- CoordinationType$2.SPATIAL_SEGMENTATION_FILLED,
1043
- CoordinationType$2.SPATIAL_SEGMENTATION_STROKE_WIDTH,
1044
- CoordinationType$2.IMAGE_CHANNEL,
1045
- CoordinationType$2.IMAGE_LAYER,
1046
- CoordinationType$2.SEGMENTATION_CHANNEL,
1047
- CoordinationType$2.SEGMENTATION_LAYER,
1048
- CoordinationType$2.SPATIAL_CHANNEL_VISIBLE,
1049
- CoordinationType$2.SPATIAL_CHANNEL_OPACITY,
1050
- CoordinationType$2.SPATIAL_CHANNEL_WINDOW,
1051
- CoordinationType$2.PHOTOMETRIC_INTERPRETATION,
1052
- CoordinationType$2.SPATIAL_RENDERING_MODE,
1053
- CoordinationType$2.VOLUMETRIC_RENDERING_ALGORITHM,
1054
- CoordinationType$2.SPATIAL_TARGET_RESOLUTION,
1055
- CoordinationType$2.SPATIAL_MAX_RESOLUTION,
1056
- CoordinationType$2.SPATIAL_SLICE_X,
1057
- CoordinationType$2.SPATIAL_SLICE_Y,
1058
- CoordinationType$2.SPATIAL_SLICE_Z,
1059
- CoordinationType$2.SPOT_LAYER,
1060
- CoordinationType$2.POINT_LAYER,
1061
- CoordinationType$2.SPATIAL_SPOT_RADIUS,
1062
- CoordinationType$2.SPATIAL_SPOT_FILLED,
1063
- CoordinationType$2.SPATIAL_SPOT_STROKE_WIDTH,
1064
- CoordinationType$2.SPATIAL_LAYER_COLOR,
1065
- CoordinationType$2.OBS_COLOR_ENCODING,
1066
- CoordinationType$2.FEATURE_COLOR,
1067
- CoordinationType$2.FEATURE_FILTER_MODE,
1068
- CoordinationType$2.FEATURE_VALUE_COLORMAP,
1069
- CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE,
1070
- CoordinationType$2.FEATURE_SELECTION,
1071
- CoordinationType$2.FEATURE_AGGREGATION_STRATEGY,
1072
- CoordinationType$2.TOOLTIPS_VISIBLE,
1073
- CoordinationType$2.TOOLTIP_CROSSHAIRS_VISIBLE,
1074
- CoordinationType$2.LEGEND_VISIBLE,
1075
- CoordinationType$2.SPATIAL_CHANNEL_LABELS_VISIBLE,
1076
- CoordinationType$2.SPATIAL_CHANNEL_LABELS_ORIENTATION,
1077
- CoordinationType$2.SPATIAL_CHANNEL_LABEL_SIZE
1078
- ],
1079
- [ViewType$2.GENOMIC_PROFILES]: [
1080
- CoordinationType$2.DATASET,
1081
- CoordinationType$2.OBS_TYPE,
1082
- CoordinationType$2.FEATURE_TYPE,
1083
- CoordinationType$2.FEATURE_VALUE_TYPE,
1084
- CoordinationType$2.GENOMIC_ZOOM_X,
1085
- CoordinationType$2.GENOMIC_ZOOM_Y,
1086
- CoordinationType$2.GENOMIC_TARGET_X,
1087
- CoordinationType$2.GENOMIC_TARGET_Y,
1088
- CoordinationType$2.FEATURE_FILTER,
1089
- CoordinationType$2.FEATURE_HIGHLIGHT,
1090
- CoordinationType$2.FEATURE_SELECTION,
1091
- CoordinationType$2.OBS_SET_SELECTION,
1092
- CoordinationType$2.OBS_SET_HIGHLIGHT,
1093
- CoordinationType$2.OBS_SET_COLOR,
1094
- CoordinationType$2.ADDITIONAL_OBS_SETS
1095
- ],
1096
- [ViewType$2.DESCRIPTION]: [
1097
- CoordinationType$2.DATASET,
1098
- CoordinationType$2.SPATIAL_IMAGE_LAYER
1099
- ],
1100
- [ViewType$2.DOT_PLOT]: [
1101
- CoordinationType$2.DATASET,
1102
- CoordinationType$2.OBS_TYPE,
1103
- CoordinationType$2.FEATURE_TYPE,
1104
- CoordinationType$2.FEATURE_VALUE_TYPE,
1105
- CoordinationType$2.FEATURE_SELECTION,
1106
- CoordinationType$2.FEATURE_HIGHLIGHT,
1107
- CoordinationType$2.FEATURE_FILTER,
1108
- CoordinationType$2.FEATURE_VALUE_TRANSFORM,
1109
- CoordinationType$2.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
1110
- CoordinationType$2.FEATURE_VALUE_POSITIVITY_THRESHOLD,
1111
- CoordinationType$2.FEATURE_VALUE_COLORMAP,
1112
- CoordinationType$2.FEATURE_AGGREGATION_STRATEGY,
1113
- CoordinationType$2.OBS_SET_SELECTION,
1114
- CoordinationType$2.OBS_SET_FILTER,
1115
- CoordinationType$2.OBS_SET_HIGHLIGHT,
1116
- CoordinationType$2.OBS_SET_COLOR,
1117
- CoordinationType$2.ADDITIONAL_OBS_SETS,
1118
- CoordinationType$2.SAMPLE_TYPE,
1119
- CoordinationType$2.SAMPLE_SET_SELECTION,
1120
- CoordinationType$2.SAMPLE_SET_FILTER,
1121
- CoordinationType$2.SAMPLE_SET_COLOR
1122
- ],
1123
- higlass: [
1124
- CoordinationType$2.DATASET,
1125
- CoordinationType$2.GENOMIC_ZOOM_X,
1126
- CoordinationType$2.GENOMIC_ZOOM_Y,
1127
- CoordinationType$2.GENOMIC_TARGET_X,
1128
- CoordinationType$2.GENOMIC_TARGET_Y,
1129
- CoordinationType$2.FEATURE_FILTER,
1130
- CoordinationType$2.FEATURE_HIGHLIGHT,
1131
- CoordinationType$2.FEATURE_SELECTION
1132
- ],
1133
- [ViewType$2.FEATURE_BAR_PLOT]: [
1134
- CoordinationType$2.DATASET,
1135
- CoordinationType$2.OBS_TYPE,
1136
- CoordinationType$2.FEATURE_TYPE,
1137
- CoordinationType$2.FEATURE_VALUE_TYPE,
1138
- CoordinationType$2.FEATURE_SELECTION,
1139
- CoordinationType$2.FEATURE_VALUE_TRANSFORM,
1140
- CoordinationType$2.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
1141
- CoordinationType$2.FEATURE_AGGREGATION_STRATEGY,
1142
- CoordinationType$2.OBS_SET_SELECTION,
1143
- CoordinationType$2.OBS_SET_HIGHLIGHT,
1144
- CoordinationType$2.OBS_HIGHLIGHT,
1145
- CoordinationType$2.OBS_SET_COLOR,
1146
- CoordinationType$2.OBS_COLOR_ENCODING,
1147
- CoordinationType$2.ADDITIONAL_OBS_SETS
1148
- ],
1149
- [ViewType$2.VOLCANO_PLOT]: [
1150
- CoordinationType$2.DATASET,
1151
- CoordinationType$2.OBS_TYPE,
1152
- CoordinationType$2.FEATURE_TYPE,
1153
- CoordinationType$2.SAMPLE_TYPE,
1154
- // For selection of case-control sets of samples:
1155
- CoordinationType$2.SAMPLE_SET_SELECTION,
1156
- // For selection of one-vs-others sets of observations:
1157
- CoordinationType$2.OBS_SET_SELECTION,
1158
- // TODO: CoordinationType.FEATURE_SET_SELECTION,
1159
- // TODO: CoordinationType.FEATURE_SET_HIGHLIGHT,
1160
- // TODO: CoordinationType.FEATURE_SET_COLOR,
1161
- CoordinationType$2.FEATURE_HIGHLIGHT,
1162
- CoordinationType$2.FEATURE_SELECTION,
1163
- CoordinationType$2.FEATURE_VALUE_COLORMAP,
1164
- CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE,
1165
- // TODO: CoordinationType.FEATURE_COLOR_ENCODING,
1166
- // TODO: CoordinationType.ADDITIONAL_FEATURE_SETS,
1167
- CoordinationType$2.TOOLTIPS_VISIBLE,
1168
- CoordinationType$2.ADDITIONAL_OBS_SETS,
1169
- CoordinationType$2.OBS_SET_COLOR,
1170
- CoordinationType$2.SAMPLE_SET_COLOR,
1171
- CoordinationType$2.FEATURE_POINT_SIGNIFICANCE_THRESHOLD,
1172
- CoordinationType$2.FEATURE_LABEL_SIGNIFICANCE_THRESHOLD,
1173
- CoordinationType$2.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
1174
- CoordinationType$2.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
1175
- ],
1176
- [ViewType$2.FEATURE_STATS_TABLE]: [
1177
- CoordinationType$2.DATASET,
1178
- CoordinationType$2.OBS_TYPE,
1179
- CoordinationType$2.FEATURE_TYPE,
1180
- CoordinationType$2.SAMPLE_TYPE,
1181
- // For selection of case-control sets of samples:
1182
- CoordinationType$2.SAMPLE_SET_SELECTION,
1183
- // For selection of one-vs-others sets of observations:
1184
- CoordinationType$2.OBS_SET_SELECTION,
1185
- // TODO: CoordinationType.FEATURE_SET_SELECTION,
1186
- // TODO: CoordinationType.FEATURE_SET_HIGHLIGHT,
1187
- // TODO: CoordinationType.FEATURE_SET_COLOR,
1188
- CoordinationType$2.FEATURE_HIGHLIGHT,
1189
- CoordinationType$2.FEATURE_SELECTION,
1190
- CoordinationType$2.FEATURE_VALUE_COLORMAP,
1191
- CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE,
1192
- CoordinationType$2.FEATURE_AGGREGATION_STRATEGY,
1193
- // TODO: CoordinationType.FEATURE_COLOR_ENCODING,
1194
- // TODO: CoordinationType.ADDITIONAL_FEATURE_SETS,
1195
- CoordinationType$2.TOOLTIPS_VISIBLE,
1196
- CoordinationType$2.ADDITIONAL_OBS_SETS,
1197
- CoordinationType$2.OBS_SET_COLOR,
1198
- CoordinationType$2.SAMPLE_SET_COLOR,
1199
- CoordinationType$2.FEATURE_POINT_SIGNIFICANCE_THRESHOLD,
1200
- CoordinationType$2.FEATURE_LABEL_SIGNIFICANCE_THRESHOLD,
1201
- CoordinationType$2.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
1202
- CoordinationType$2.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
1203
- ],
1204
- [ViewType$2.OBS_SET_COMPOSITION_BAR_PLOT]: [
1205
- CoordinationType$2.DATASET,
1206
- CoordinationType$2.OBS_TYPE,
1207
- CoordinationType$2.SAMPLE_TYPE,
1208
- // For selection of case-control sets of samples:
1209
- CoordinationType$2.SAMPLE_SET_SELECTION,
1210
- // For selection of one-vs-others sets of observations:
1211
- CoordinationType$2.OBS_SET_SELECTION,
1212
- CoordinationType$2.ADDITIONAL_OBS_SETS,
1213
- CoordinationType$2.OBS_SET_COLOR,
1214
- CoordinationType$2.SAMPLE_SET_COLOR
1215
- ],
1216
- [ViewType$2.FEATURE_SET_ENRICHMENT_BAR_PLOT]: [
1217
- CoordinationType$2.DATASET,
1218
- CoordinationType$2.OBS_TYPE,
1219
- CoordinationType$2.FEATURE_TYPE,
1220
- CoordinationType$2.SAMPLE_TYPE,
1221
- // For selection of case-control sets of samples:
1222
- CoordinationType$2.SAMPLE_SET_SELECTION,
1223
- // For selection of one-vs-others sets of observations:
1224
- CoordinationType$2.OBS_SET_SELECTION,
1225
- CoordinationType$2.ADDITIONAL_OBS_SETS,
1226
- CoordinationType$2.OBS_SET_COLOR,
1227
- CoordinationType$2.SAMPLE_SET_COLOR,
1228
- CoordinationType$2.FEATURE_SELECTION
1229
- ],
1230
- [ViewType$2.LINK_CONTROLLER]: [],
1231
- [ViewType$2.BIOMARKER_SELECT]: [
1232
- CoordinationType$2.DATASET,
1233
- CoordinationType$2.OBS_TYPE,
1234
- CoordinationType$2.SAMPLE_TYPE,
1235
- CoordinationType$2.FEATURE_SELECTION,
1236
- CoordinationType$2.SAMPLE_SET_SELECTION,
1237
- CoordinationType$2.SAMPLE_SET_FILTER,
1238
- CoordinationType$2.OBS_SET_SELECTION,
1239
- CoordinationType$2.OBS_SET_FILTER
1240
- // TODO: create coordination types for internal state of the biomarker selection view?
1241
- ],
1242
- [ViewType$2.BIOMARKER_SELECT_ALT]: [
1243
- CoordinationType$2.DATASET,
1244
- CoordinationType$2.OBS_TYPE,
1245
- CoordinationType$2.SAMPLE_TYPE,
1246
- CoordinationType$2.FEATURE_SELECTION,
1247
- CoordinationType$2.SAMPLE_SET_SELECTION,
1248
- CoordinationType$2.SAMPLE_SET_FILTER,
1249
- CoordinationType$2.OBS_SET_SELECTION,
1250
- CoordinationType$2.OBS_SET_FILTER
1251
- // TODO: create coordination types for internal state of the biomarker selection view?
1252
- ],
1253
- [ViewType$2.COMPARATIVE_HEADING]: [
1254
- CoordinationType$2.DATASET,
1255
- CoordinationType$2.OBS_TYPE,
1256
- CoordinationType$2.SAMPLE_TYPE,
1257
- CoordinationType$2.FEATURE_SELECTION,
1258
- CoordinationType$2.FEATURE_AGGREGATION_STRATEGY,
1259
- CoordinationType$2.SAMPLE_SET_SELECTION,
1260
- CoordinationType$2.SAMPLE_SET_FILTER,
1261
- CoordinationType$2.OBS_SET_SELECTION,
1262
- CoordinationType$2.OBS_SET_FILTER
1263
- ],
1264
- [ViewType$2.SAMPLE_SET_PAIR_MANAGER]: [
1265
- CoordinationType$2.DATASET,
1266
- CoordinationType$2.OBS_TYPE,
1267
- CoordinationType$2.SAMPLE_TYPE,
1268
- CoordinationType$2.SAMPLE_SET_SELECTION,
1269
- CoordinationType$2.SAMPLE_SET_FILTER
1270
- ],
1271
- [ViewType$2.TREEMAP]: [
1272
- CoordinationType$2.DATASET,
1273
- CoordinationType$2.OBS_TYPE,
1274
- CoordinationType$2.FEATURE_TYPE,
1275
- CoordinationType$2.FEATURE_VALUE_TYPE,
1276
- CoordinationType$2.OBS_FILTER,
1277
- CoordinationType$2.OBS_HIGHLIGHT,
1278
- CoordinationType$2.OBS_SET_SELECTION,
1279
- CoordinationType$2.OBS_SET_FILTER,
1280
- CoordinationType$2.OBS_SELECTION,
1281
- CoordinationType$2.OBS_SELECTION_MODE,
1282
- CoordinationType$2.OBS_SET_HIGHLIGHT,
1283
- CoordinationType$2.OBS_SET_COLOR,
1284
- CoordinationType$2.OBS_COLOR_ENCODING,
1285
- CoordinationType$2.ADDITIONAL_OBS_SETS,
1286
- CoordinationType$2.SAMPLE_TYPE,
1287
- CoordinationType$2.SAMPLE_SET_SELECTION,
1288
- CoordinationType$2.SAMPLE_SET_FILTER,
1289
- CoordinationType$2.SAMPLE_SET_COLOR,
1290
- CoordinationType$2.SAMPLE_SELECTION,
1291
- CoordinationType$2.SAMPLE_SELECTION_MODE,
1292
- CoordinationType$2.SAMPLE_FILTER,
1293
- CoordinationType$2.SAMPLE_FILTER_MODE,
1294
- CoordinationType$2.SAMPLE_HIGHLIGHT,
1295
- CoordinationType$2.HIERARCHY_LEVELS
1296
- ]
1297
- });
1298
- function getDefaultExportFromCjs(x) {
1299
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
1300
- }
1301
- var loglevel$1 = { exports: {} };
1302
- var loglevel = loglevel$1.exports;
1303
- var hasRequiredLoglevel;
1304
- function requireLoglevel() {
1305
- if (hasRequiredLoglevel) return loglevel$1.exports;
1306
- hasRequiredLoglevel = 1;
1307
- (function(module) {
1308
- (function(root, definition) {
1309
- if (module.exports) {
1310
- module.exports = definition();
1311
- } else {
1312
- root.log = definition();
1313
- }
1314
- })(loglevel, function() {
1315
- var noop = function() {
1316
- };
1317
- var undefinedType = "undefined";
1318
- var isIE = typeof window !== undefinedType && typeof window.navigator !== undefinedType && /Trident\/|MSIE /.test(window.navigator.userAgent);
1319
- var logMethods = [
1320
- "trace",
1321
- "debug",
1322
- "info",
1323
- "warn",
1324
- "error"
1325
- ];
1326
- var _loggersByName = {};
1327
- var defaultLogger = null;
1328
- function bindMethod(obj, methodName) {
1329
- var method = obj[methodName];
1330
- if (typeof method.bind === "function") {
1331
- return method.bind(obj);
1332
- } else {
1333
- try {
1334
- return Function.prototype.bind.call(method, obj);
1335
- } catch (e) {
1336
- return function() {
1337
- return Function.prototype.apply.apply(method, [obj, arguments]);
1338
- };
1339
- }
1340
- }
1341
- }
1342
- function traceForIE() {
1343
- if (console.log) {
1344
- if (console.log.apply) {
1345
- console.log.apply(console, arguments);
1346
- } else {
1347
- Function.prototype.apply.apply(console.log, [console, arguments]);
1348
- }
1349
- }
1350
- if (console.trace) console.trace();
1351
- }
1352
- function realMethod(methodName) {
1353
- if (methodName === "debug") {
1354
- methodName = "log";
1355
- }
1356
- if (typeof console === undefinedType) {
1357
- return false;
1358
- } else if (methodName === "trace" && isIE) {
1359
- return traceForIE;
1360
- } else if (console[methodName] !== void 0) {
1361
- return bindMethod(console, methodName);
1362
- } else if (console.log !== void 0) {
1363
- return bindMethod(console, "log");
1364
- } else {
1365
- return noop;
1366
- }
1367
- }
1368
- function replaceLoggingMethods() {
1369
- var level = this.getLevel();
1370
- for (var i = 0; i < logMethods.length; i++) {
1371
- var methodName = logMethods[i];
1372
- this[methodName] = i < level ? noop : this.methodFactory(methodName, level, this.name);
1373
- }
1374
- this.log = this.debug;
1375
- if (typeof console === undefinedType && level < this.levels.SILENT) {
1376
- return "No console available for logging";
1377
- }
1378
- }
1379
- function enableLoggingWhenConsoleArrives(methodName) {
1380
- return function() {
1381
- if (typeof console !== undefinedType) {
1382
- replaceLoggingMethods.call(this);
1383
- this[methodName].apply(this, arguments);
1384
- }
1385
- };
1386
- }
1387
- function defaultMethodFactory(methodName, _level, _loggerName) {
1388
- return realMethod(methodName) || enableLoggingWhenConsoleArrives.apply(this, arguments);
1389
- }
1390
- function Logger(name, factory) {
1391
- var self = this;
1392
- var inheritedLevel;
1393
- var defaultLevel;
1394
- var userLevel;
1395
- var storageKey = "loglevel";
1396
- if (typeof name === "string") {
1397
- storageKey += ":" + name;
1398
- } else if (typeof name === "symbol") {
1399
- storageKey = void 0;
1400
- }
1401
- function persistLevelIfPossible(levelNum) {
1402
- var levelName = (logMethods[levelNum] || "silent").toUpperCase();
1403
- if (typeof window === undefinedType || !storageKey) return;
1404
- try {
1405
- window.localStorage[storageKey] = levelName;
1406
- return;
1407
- } catch (ignore) {
1408
- }
1409
- try {
1410
- window.document.cookie = encodeURIComponent(storageKey) + "=" + levelName + ";";
1411
- } catch (ignore) {
1412
- }
1413
- }
1414
- function getPersistedLevel() {
1415
- var storedLevel;
1416
- if (typeof window === undefinedType || !storageKey) return;
1417
- try {
1418
- storedLevel = window.localStorage[storageKey];
1419
- } catch (ignore) {
1420
- }
1421
- if (typeof storedLevel === undefinedType) {
1422
- try {
1423
- var cookie = window.document.cookie;
1424
- var cookieName = encodeURIComponent(storageKey);
1425
- var location = cookie.indexOf(cookieName + "=");
1426
- if (location !== -1) {
1427
- storedLevel = /^([^;]+)/.exec(
1428
- cookie.slice(location + cookieName.length + 1)
1429
- )[1];
1430
- }
1431
- } catch (ignore) {
1432
- }
1433
- }
1434
- if (self.levels[storedLevel] === void 0) {
1435
- storedLevel = void 0;
1436
- }
1437
- return storedLevel;
1438
- }
1439
- function clearPersistedLevel() {
1440
- if (typeof window === undefinedType || !storageKey) return;
1441
- try {
1442
- window.localStorage.removeItem(storageKey);
1443
- } catch (ignore) {
1444
- }
1445
- try {
1446
- window.document.cookie = encodeURIComponent(storageKey) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
1447
- } catch (ignore) {
1448
- }
1449
- }
1450
- function normalizeLevel(input) {
1451
- var level = input;
1452
- if (typeof level === "string" && self.levels[level.toUpperCase()] !== void 0) {
1453
- level = self.levels[level.toUpperCase()];
1454
- }
1455
- if (typeof level === "number" && level >= 0 && level <= self.levels.SILENT) {
1456
- return level;
1457
- } else {
1458
- throw new TypeError("log.setLevel() called with invalid level: " + input);
1459
- }
1460
- }
1461
- self.name = name;
1462
- self.levels = {
1463
- "TRACE": 0,
1464
- "DEBUG": 1,
1465
- "INFO": 2,
1466
- "WARN": 3,
1467
- "ERROR": 4,
1468
- "SILENT": 5
1469
- };
1470
- self.methodFactory = factory || defaultMethodFactory;
1471
- self.getLevel = function() {
1472
- if (userLevel != null) {
1473
- return userLevel;
1474
- } else if (defaultLevel != null) {
1475
- return defaultLevel;
1476
- } else {
1477
- return inheritedLevel;
1478
- }
1479
- };
1480
- self.setLevel = function(level, persist) {
1481
- userLevel = normalizeLevel(level);
1482
- if (persist !== false) {
1483
- persistLevelIfPossible(userLevel);
1484
- }
1485
- return replaceLoggingMethods.call(self);
1486
- };
1487
- self.setDefaultLevel = function(level) {
1488
- defaultLevel = normalizeLevel(level);
1489
- if (!getPersistedLevel()) {
1490
- self.setLevel(level, false);
1491
- }
1492
- };
1493
- self.resetLevel = function() {
1494
- userLevel = null;
1495
- clearPersistedLevel();
1496
- replaceLoggingMethods.call(self);
1497
- };
1498
- self.enableAll = function(persist) {
1499
- self.setLevel(self.levels.TRACE, persist);
1500
- };
1501
- self.disableAll = function(persist) {
1502
- self.setLevel(self.levels.SILENT, persist);
1503
- };
1504
- self.rebuild = function() {
1505
- if (defaultLogger !== self) {
1506
- inheritedLevel = normalizeLevel(defaultLogger.getLevel());
1507
- }
1508
- replaceLoggingMethods.call(self);
1509
- if (defaultLogger === self) {
1510
- for (var childName in _loggersByName) {
1511
- _loggersByName[childName].rebuild();
1512
- }
1513
- }
1514
- };
1515
- inheritedLevel = normalizeLevel(
1516
- defaultLogger ? defaultLogger.getLevel() : "WARN"
1517
- );
1518
- var initialLevel = getPersistedLevel();
1519
- if (initialLevel != null) {
1520
- userLevel = normalizeLevel(initialLevel);
1521
- }
1522
- replaceLoggingMethods.call(self);
1523
- }
1524
- defaultLogger = new Logger();
1525
- defaultLogger.getLogger = function getLogger(name) {
1526
- if (typeof name !== "symbol" && typeof name !== "string" || name === "") {
1527
- throw new TypeError("You must supply a name when creating a logger.");
1528
- }
1529
- var logger = _loggersByName[name];
1530
- if (!logger) {
1531
- logger = _loggersByName[name] = new Logger(
1532
- name,
1533
- defaultLogger.methodFactory
1534
- );
1535
- }
1536
- return logger;
1537
- };
1538
- var _log = typeof window !== undefinedType ? window.log : void 0;
1539
- defaultLogger.noConflict = function() {
1540
- if (typeof window !== undefinedType && window.log === defaultLogger) {
1541
- window.log = _log;
1542
- }
1543
- return defaultLogger;
1544
- };
1545
- defaultLogger.getLoggers = function getLoggers() {
1546
- return _loggersByName;
1547
- };
1548
- defaultLogger["default"] = defaultLogger;
1549
- return defaultLogger;
1550
- });
1551
- })(loglevel$1);
1552
- return loglevel$1.exports;
1553
- }
1554
- var loglevelExports = requireLoglevel();
1555
- const log = /* @__PURE__ */ getDefaultExportFromCjs(loglevelExports);
1556
- const ViewType$1 = {
1557
- GENES: [
1558
- "genes",
1559
- "This view type was renamed to featureList in schema version 1.0.15."
1560
- ],
1561
- CELL_SETS: [
1562
- "cellSets",
1563
- "This view type was renamed to obsSets in schema version 1.0.15."
1564
- ],
1565
- CELL_SET_SIZES: [
1566
- "cellSetSizes",
1567
- "This view type was renamed to obsSetSizes in schema version 1.0.15."
1568
- ],
1569
- CELL_SET_EXPRESSION: [
1570
- "cellSetExpression",
1571
- "This view type was renamed to obsSetFeatureValueDistribution in schema version 1.0.15."
1572
- ],
1573
- EXPRESSION_HISTOGRAM: [
1574
- "expressionHistogram",
1575
- "This view type was renamed to featureValueHistogram in schema version 1.0.15."
1576
- ]
1577
- };
1578
- const DataType$1 = {
1579
- CELLS: [
1580
- "cells",
1581
- "This data type was removed. Associated file types were re-implemented as joint file types. See obsEmbedding instead."
1582
- ],
1583
- CELL_SETS: [
1584
- "cell-sets",
1585
- "This data type was removed. Associated file types were re-implemented as joint file types. See obsSets instead."
1586
- ],
1587
- EXPRESSION_MATRIX: [
1588
- "expression-matrix",
1589
- "This data type was removed. Associated file types were re-implemented as joint file types. See obsFeatureMatrix instead."
1590
- ],
1591
- MOLECULES: [
1592
- "molecules",
1593
- "This data type was removed. Associated file types were re-implemented as joint file types. See obsLocations instead."
1594
- ],
1595
- RASTER: [
1596
- "raster",
1597
- "This data type was removed. Associated file types were re-implemented as joint file types. See image and obsSegmentations instead."
1598
- ]
1599
- };
1600
- const FileType$1 = {};
1601
- function makeChangeMessage(newTypeName, newVersion) {
1602
- return [
1603
- `This coordination type was changed to ${newTypeName} in view config schema version ${newVersion}`,
1604
- newVersion,
1605
- newTypeName
1606
- ];
1607
- }
1608
- const CoordinationType$1 = {
1609
- SPATIAL_LAYERS: [
1610
- "spatialLayers",
1611
- "This coordination type was split into multiple coordination types in view config schema version 1.0.1",
1612
- "1.0.1",
1613
- "multiple"
1614
- // Not used for spatialLayers (since it was split into multiple).
1615
- ],
1616
- // Spatial layers
1617
- SPATIAL_RASTER_LAYERS: [
1618
- "spatialRasterLayers",
1619
- ...makeChangeMessage("spatialImageLayer", "1.0.11")
1620
- ],
1621
- SPATIAL_CELLS_LAYER: [
1622
- "spatialCellsLayer",
1623
- ...makeChangeMessage("spatialSegmentationLayer", "1.0.11")
1624
- ],
1625
- SPATIAL_MOLECULES_LAYER: [
1626
- "spatialMoleculesLayer",
1627
- ...makeChangeMessage("spatialPointLayer", "1.0.11")
1628
- ],
1629
- SPATIAL_NEIGHBORHOODS_LAYER: [
1630
- "spatialNeighborhoodsLayer",
1631
- ...makeChangeMessage("spatialNeighborhoodLayer", "1.0.11")
1632
- ],
1633
- // Cell -> Obs
1634
- EMBEDDING_CELL_SET_POLYGONS_VISIBLE: [
1635
- "embeddingCellSetPolygonsVisible",
1636
- ...makeChangeMessage("embeddingObsSetPolygonsVisible", "1.0.11")
1637
- ],
1638
- EMBEDDING_CELL_SET_LABELS_VISIBLE: [
1639
- "embeddingCellSetLabelsVisible",
1640
- ...makeChangeMessage("embeddingObsSetLabelsVisible", "1.0.11")
1641
- ],
1642
- EMBEDDING_CELL_SET_LABEL_SIZE: [
1643
- "embeddingCellSetLabelSize",
1644
- ...makeChangeMessage("embeddingObsSetLabelSize", "1.0.11")
1645
- ],
1646
- EMBEDDING_CELL_RADIUS: [
1647
- "embeddingCellRadius",
1648
- ...makeChangeMessage("embeddingObsRadius", "1.0.11")
1649
- ],
1650
- EMBEDDING_CELL_RADIUS_MODE: [
1651
- "embeddingCellRadiusMode",
1652
- ...makeChangeMessage("embeddingObsRadiusMode", "1.0.11")
1653
- ],
1654
- EMBEDDING_CELL_OPACITY: [
1655
- "embeddingCellOpacity",
1656
- ...makeChangeMessage("embeddingObsOpacity", "1.0.11")
1657
- ],
1658
- EMBEDDING_CELL_OPACITY_MODE: [
1659
- "embeddingCellOpacityMode",
1660
- ...makeChangeMessage("embeddingObsOpacityMode", "1.0.11")
1661
- ],
1662
- CELL_FILTER: [
1663
- "cellFilter",
1664
- ...makeChangeMessage("obsFilter", "1.0.11")
1665
- ],
1666
- CELL_HIGHLIGHT: [
1667
- "cellHighlight",
1668
- ...makeChangeMessage("obsHighlight", "1.0.11")
1669
- ],
1670
- CELL_SET_SELECTION: [
1671
- "cellSetSelection",
1672
- ...makeChangeMessage("obsSetSelection", "1.0.11")
1673
- ],
1674
- CELL_SET_HIGHLIGHT: [
1675
- "cellSetHighlight",
1676
- ...makeChangeMessage("obsSetHighlight", "1.0.11")
1677
- ],
1678
- CELL_SET_COLOR: [
1679
- "cellSetColor",
1680
- ...makeChangeMessage("obsSetColor", "1.0.11")
1681
- ],
1682
- CELL_COLOR_ENCODING: [
1683
- "cellColorEncoding",
1684
- ...makeChangeMessage("obsColorEncoding", "1.0.11")
1685
- ],
1686
- ADDITIONAL_CELL_SETS: [
1687
- "additionalCellSets",
1688
- ...makeChangeMessage("additionalObsSets", "1.0.11")
1689
- ],
1690
- // Gene -> Feature
1691
- GENE_FILTER: [
1692
- "geneFilter",
1693
- ...makeChangeMessage("featureFilter", "1.0.11")
1694
- ],
1695
- GENE_HIGHLIGHT: [
1696
- "geneHighlight",
1697
- ...makeChangeMessage("featureHighlight", "1.0.11")
1698
- ],
1699
- GENE_SELECTION: [
1700
- "geneSelection",
1701
- ...makeChangeMessage("featureSelection", "1.0.11")
1702
- ],
1703
- GENE_EXPRESSION_COLORMAP: [
1704
- "geneExpressionColormap",
1705
- ...makeChangeMessage("featureValueColormap", "1.0.11")
1706
- ],
1707
- GENE_EXPRESSION_TRANSFORM: [
1708
- "geneExpressionTransform",
1709
- ...makeChangeMessage("featureValueTransform", "1.0.11")
1710
- ],
1711
- GENE_EXPRESSION_COLORMAP_RANGE: [
1712
- "geneExpressionColormapRange",
1713
- ...makeChangeMessage("featureValueColormapRange", "1.0.11")
1714
- ]
1715
- };
1716
- function makeConstantWithDeprecationMessage(currObj, oldObj) {
1717
- const handler = {
1718
- get(obj, prop) {
1719
- const oldKeys = Object.keys(oldObj);
1720
- const propKey = String(prop);
1721
- if (oldKeys.includes(propKey)) {
1722
- log.warn(`Notice about the constant mapping ${propKey}: '${oldObj[propKey][0]}':
1723
- ${oldObj[propKey][1]}`);
1724
- return oldObj[propKey];
1725
- }
1726
- return obj[prop];
1727
- }
1728
- };
1729
- const objWithMessage = new Proxy(currObj, handler);
1730
- return objWithMessage;
1731
- }
1732
- const ViewType = makeConstantWithDeprecationMessage(
1733
- ViewType$2,
1734
- ViewType$1
1735
- );
1736
- const DataType = makeConstantWithDeprecationMessage(
1737
- DataType$2,
1738
- DataType$1
1739
- );
1740
- const FileType = makeConstantWithDeprecationMessage(
1741
- FileType$2,
1742
- FileType$1
1743
- );
1744
- const CoordinationType = makeConstantWithDeprecationMessage(
1745
- CoordinationType$2,
1746
- CoordinationType$1
1747
- );
1748
- export {
1749
- CoordinationType,
1750
- DataType,
1751
- FileType,
1752
- CoordinationType$1 as OldCoordinationType,
1753
- ViewType
1754
- };