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