@vitessce/constants 2.0.3 → 3.0.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 +357 -0
- package/dist-tsc/constants-merged.d.ts +5 -0
- package/dist-tsc/constants-merged.d.ts.map +1 -0
- package/dist-tsc/constants-merged.js +26 -0
- package/dist-tsc/constants-old.d.ts +44 -0
- package/dist-tsc/constants-old.d.ts.map +1 -0
- package/dist-tsc/constants-old.js +163 -0
- package/dist-tsc/index.d.ts +3 -0
- package/dist-tsc/index.d.ts.map +1 -0
- package/dist-tsc/index.js +3 -1
- package/package.json +13 -4
- package/src/constants-merged.js +2 -1
- package/src/constants-old.js +31 -25
- package/src/index.js +3 -1
- package/dist/index.mjs +0 -697
package/dist/index.mjs
DELETED
|
@@ -1,697 +0,0 @@
|
|
|
1
|
-
const ViewType$2 = {
|
|
2
|
-
DESCRIPTION: "description",
|
|
3
|
-
STATUS: "status",
|
|
4
|
-
SCATTERPLOT: "scatterplot",
|
|
5
|
-
SPATIAL: "spatial",
|
|
6
|
-
HEATMAP: "heatmap",
|
|
7
|
-
LAYER_CONTROLLER: "layerController",
|
|
8
|
-
GENOMIC_PROFILES: "genomicProfiles",
|
|
9
|
-
GATING: "gating",
|
|
10
|
-
FEATURE_LIST: "featureList",
|
|
11
|
-
OBS_SETS: "obsSets",
|
|
12
|
-
OBS_SET_SIZES: "obsSetSizes",
|
|
13
|
-
OBS_SET_FEATURE_VALUE_DISTRIBUTION: "obsSetFeatureValueDistribution",
|
|
14
|
-
FEATURE_VALUE_HISTOGRAM: "featureValueHistogram"
|
|
15
|
-
};
|
|
16
|
-
const DataType$2 = {
|
|
17
|
-
OBS_LABELS: "obsLabels",
|
|
18
|
-
OBS_EMBEDDING: "obsEmbedding",
|
|
19
|
-
OBS_LOCATIONS: "obsLocations",
|
|
20
|
-
OBS_FEATURE_MATRIX: "obsFeatureMatrix",
|
|
21
|
-
OBS_SETS: "obsSets",
|
|
22
|
-
FEATURE_LABELS: "featureLabels",
|
|
23
|
-
IMAGE: "image",
|
|
24
|
-
OBS_SEGMENTATIONS: "obsSegmentations",
|
|
25
|
-
NEIGHBORHOODS: "neighborhoods",
|
|
26
|
-
GENOMIC_PROFILES: "genomic-profiles"
|
|
27
|
-
};
|
|
28
|
-
const FileType$2 = {
|
|
29
|
-
ANNDATA_ZARR: "anndata.zarr",
|
|
30
|
-
OBS_EMBEDDING_CSV: "obsEmbedding.csv",
|
|
31
|
-
OBS_LOCATIONS_CSV: "obsLocations.csv",
|
|
32
|
-
OBS_LABELS_CSV: "obsLabels.csv",
|
|
33
|
-
FEATURE_LABELS_CSV: "featureLabels.csv",
|
|
34
|
-
OBS_FEATURE_MATRIX_CSV: "obsFeatureMatrix.csv",
|
|
35
|
-
OBS_SEGMENTATIONS_JSON: "obsSegmentations.json",
|
|
36
|
-
OBS_SETS_CSV: "obsSets.csv",
|
|
37
|
-
OBS_SETS_JSON: "obsSets.json",
|
|
38
|
-
IMAGE_OME_ZARR: "image.ome-zarr",
|
|
39
|
-
OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
|
|
40
|
-
OBS_SETS_ANNDATA_ZARR: "obsSets.anndata.zarr",
|
|
41
|
-
OBS_EMBEDDING_ANNDATA_ZARR: "obsEmbedding.anndata.zarr",
|
|
42
|
-
OBS_LOCATIONS_ANNDATA_ZARR: "obsLocations.anndata.zarr",
|
|
43
|
-
OBS_SEGMENTATIONS_ANNDATA_ZARR: "obsSegmentations.anndata.zarr",
|
|
44
|
-
OBS_LABELS_ANNDATA_ZARR: "obsLabels.anndata.zarr",
|
|
45
|
-
FEATURE_LABELS_ANNDATA_ZARR: "featureLabels.anndata.zarr",
|
|
46
|
-
OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
|
|
47
|
-
OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
|
|
48
|
-
OBS_EMBEDDING_MUDATA_ZARR: "obsEmbedding.mudata.zarr",
|
|
49
|
-
OBS_LOCATIONS_MUDATA_ZARR: "obsLocations.mudata.zarr",
|
|
50
|
-
OBS_SEGMENTATIONS_MUDATA_ZARR: "obsSegmentations.mudata.zarr",
|
|
51
|
-
OBS_LABELS_MUDATA_ZARR: "obsLabels.mudata.zarr",
|
|
52
|
-
FEATURE_LABELS_MUDATA_ZARR: "featureLabels.mudata.zarr",
|
|
53
|
-
GENOMIC_PROFILES_ZARR: "genomic-profiles.zarr",
|
|
54
|
-
NEIGHBORHOODS_JSON: "neighborhoods.json",
|
|
55
|
-
OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
|
|
56
|
-
OBS_SEGMENTATIONS_CELLS_JSON: "obsSegmentations.cells.json",
|
|
57
|
-
OBS_LOCATIONS_CELLS_JSON: "obsLocations.cells.json",
|
|
58
|
-
OBS_LABELS_CELLS_JSON: "obsLabels.cells.json",
|
|
59
|
-
OBS_SETS_CELL_SETS_JSON: "obsSets.cell-sets.json",
|
|
60
|
-
OBS_FEATURE_MATRIX_GENES_JSON: "obsFeatureMatrix.genes.json",
|
|
61
|
-
OBS_FEATURE_MATRIX_CLUSTERS_JSON: "obsFeatureMatrix.clusters.json",
|
|
62
|
-
OBS_FEATURE_MATRIX_EXPRESSION_MATRIX_ZARR: "obsFeatureMatrix.expression-matrix.zarr",
|
|
63
|
-
IMAGE_RASTER_JSON: "image.raster.json",
|
|
64
|
-
OBS_SEGMENTATIONS_RASTER_JSON: "obsSegmentations.raster.json",
|
|
65
|
-
OBS_LOCATIONS_MOLECULES_JSON: "obsLocations.molecules.json",
|
|
66
|
-
OBS_LABELS_MOLECULES_JSON: "obsLabels.molecules.json",
|
|
67
|
-
CELLS_JSON: "cells.json",
|
|
68
|
-
CELL_SETS_JSON: "cell-sets.json",
|
|
69
|
-
ANNDATA_CELL_SETS_ZARR: "anndata-cell-sets.zarr",
|
|
70
|
-
ANNDATA_CELLS_ZARR: "anndata-cells.zarr",
|
|
71
|
-
EXPRESSION_MATRIX_ZARR: "expression-matrix.zarr",
|
|
72
|
-
MOLECULES_JSON: "molecules.json",
|
|
73
|
-
RASTER_JSON: "raster.json",
|
|
74
|
-
RASTER_OME_ZARR: "raster.ome-zarr",
|
|
75
|
-
CLUSTERS_JSON: "clusters.json",
|
|
76
|
-
GENES_JSON: "genes.json",
|
|
77
|
-
ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
|
|
78
|
-
};
|
|
79
|
-
const CoordinationType$2 = {
|
|
80
|
-
DATASET: "dataset",
|
|
81
|
-
OBS_TYPE: "obsType",
|
|
82
|
-
FEATURE_TYPE: "featureType",
|
|
83
|
-
FEATURE_VALUE_TYPE: "featureValueType",
|
|
84
|
-
OBS_LABELS_TYPE: "obsLabelsType",
|
|
85
|
-
EMBEDDING_TYPE: "embeddingType",
|
|
86
|
-
EMBEDDING_ZOOM: "embeddingZoom",
|
|
87
|
-
EMBEDDING_ROTATION: "embeddingRotation",
|
|
88
|
-
EMBEDDING_TARGET_X: "embeddingTargetX",
|
|
89
|
-
EMBEDDING_TARGET_Y: "embeddingTargetY",
|
|
90
|
-
EMBEDDING_TARGET_Z: "embeddingTargetZ",
|
|
91
|
-
EMBEDDING_OBS_SET_POLYGONS_VISIBLE: "embeddingObsSetPolygonsVisible",
|
|
92
|
-
EMBEDDING_OBS_SET_LABELS_VISIBLE: "embeddingObsSetLabelsVisible",
|
|
93
|
-
EMBEDDING_OBS_SET_LABEL_SIZE: "embeddingObsSetLabelSize",
|
|
94
|
-
EMBEDDING_OBS_RADIUS: "embeddingObsRadius",
|
|
95
|
-
EMBEDDING_OBS_RADIUS_MODE: "embeddingObsRadiusMode",
|
|
96
|
-
EMBEDDING_OBS_OPACITY: "embeddingObsOpacity",
|
|
97
|
-
EMBEDDING_OBS_OPACITY_MODE: "embeddingObsOpacityMode",
|
|
98
|
-
SPATIAL_ZOOM: "spatialZoom",
|
|
99
|
-
SPATIAL_ROTATION: "spatialRotation",
|
|
100
|
-
SPATIAL_TARGET_X: "spatialTargetX",
|
|
101
|
-
SPATIAL_TARGET_Y: "spatialTargetY",
|
|
102
|
-
SPATIAL_TARGET_Z: "spatialTargetZ",
|
|
103
|
-
SPATIAL_ROTATION_X: "spatialRotationX",
|
|
104
|
-
SPATIAL_ROTATION_Y: "spatialRotationY",
|
|
105
|
-
SPATIAL_ROTATION_Z: "spatialRotationZ",
|
|
106
|
-
SPATIAL_ROTATION_ORBIT: "spatialRotationOrbit",
|
|
107
|
-
SPATIAL_ORBIT_AXIS: "spatialOrbitAxis",
|
|
108
|
-
SPATIAL_AXIS_FIXED: "spatialAxisFixed",
|
|
109
|
-
HEATMAP_ZOOM_X: "heatmapZoomX",
|
|
110
|
-
HEATMAP_ZOOM_Y: "heatmapZoomY",
|
|
111
|
-
HEATMAP_TARGET_X: "heatmapTargetX",
|
|
112
|
-
HEATMAP_TARGET_Y: "heatmapTargetY",
|
|
113
|
-
OBS_FILTER: "obsFilter",
|
|
114
|
-
OBS_HIGHLIGHT: "obsHighlight",
|
|
115
|
-
OBS_SET_SELECTION: "obsSetSelection",
|
|
116
|
-
OBS_SET_HIGHLIGHT: "obsSetHighlight",
|
|
117
|
-
OBS_SET_COLOR: "obsSetColor",
|
|
118
|
-
FEATURE_FILTER: "featureFilter",
|
|
119
|
-
FEATURE_HIGHLIGHT: "featureHighlight",
|
|
120
|
-
FEATURE_SELECTION: "featureSelection",
|
|
121
|
-
FEATURE_VALUE_COLORMAP: "featureValueColormap",
|
|
122
|
-
FEATURE_VALUE_TRANSFORM: "featureValueTransform",
|
|
123
|
-
FEATURE_VALUE_COLORMAP_RANGE: "featureValueColormapRange",
|
|
124
|
-
OBS_COLOR_ENCODING: "obsColorEncoding",
|
|
125
|
-
SPATIAL_IMAGE_LAYER: "spatialImageLayer",
|
|
126
|
-
SPATIAL_SEGMENTATION_LAYER: "spatialSegmentationLayer",
|
|
127
|
-
SPATIAL_POINT_LAYER: "spatialPointLayer",
|
|
128
|
-
SPATIAL_NEIGHBORHOOD_LAYER: "spatialNeighborhoodLayer",
|
|
129
|
-
GENOMIC_ZOOM_X: "genomicZoomX",
|
|
130
|
-
GENOMIC_ZOOM_Y: "genomicZoomY",
|
|
131
|
-
GENOMIC_TARGET_X: "genomicTargetX",
|
|
132
|
-
GENOMIC_TARGET_Y: "genomicTargetY",
|
|
133
|
-
ADDITIONAL_OBS_SETS: "additionalObsSets",
|
|
134
|
-
MOLECULE_HIGHLIGHT: "moleculeHighlight",
|
|
135
|
-
GATING_FEATURE_SELECTION_X: "gatingFeatureSelectionX",
|
|
136
|
-
GATING_FEATURE_SELECTION_Y: "gatingFeatureSelectionY",
|
|
137
|
-
FEATURE_VALUE_TRANSFORM_COEFFICIENT: "featureValueTransformCoefficient"
|
|
138
|
-
};
|
|
139
|
-
({
|
|
140
|
-
[FileType$2.OBS_EMBEDDING_CSV]: DataType$2.OBS_EMBEDDING,
|
|
141
|
-
[FileType$2.OBS_LOCATIONS_CSV]: DataType$2.OBS_LOCATIONS,
|
|
142
|
-
[FileType$2.OBS_LABELS_CSV]: DataType$2.OBS_LABELS,
|
|
143
|
-
[FileType$2.FEATURE_LABELS_CSV]: DataType$2.FEATURE_LABELS,
|
|
144
|
-
[FileType$2.OBS_FEATURE_MATRIX_CSV]: DataType$2.OBS_FEATURE_MATRIX,
|
|
145
|
-
[FileType$2.OBS_SEGMENTATIONS_JSON]: DataType$2.OBS_SEGMENTATIONS,
|
|
146
|
-
[FileType$2.OBS_SETS_CSV]: DataType$2.OBS_SETS,
|
|
147
|
-
[FileType$2.OBS_SETS_JSON]: DataType$2.OBS_SETS,
|
|
148
|
-
[FileType$2.IMAGE_OME_ZARR]: DataType$2.IMAGE,
|
|
149
|
-
[FileType$2.OBS_FEATURE_MATRIX_ANNDATA_ZARR]: DataType$2.OBS_FEATURE_MATRIX,
|
|
150
|
-
[FileType$2.OBS_SETS_ANNDATA_ZARR]: DataType$2.OBS_SETS,
|
|
151
|
-
[FileType$2.OBS_EMBEDDING_ANNDATA_ZARR]: DataType$2.OBS_EMBEDDING,
|
|
152
|
-
[FileType$2.OBS_LOCATIONS_ANNDATA_ZARR]: DataType$2.OBS_LOCATIONS,
|
|
153
|
-
[FileType$2.OBS_SEGMENTATIONS_ANNDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
|
|
154
|
-
[FileType$2.OBS_LABELS_ANNDATA_ZARR]: DataType$2.OBS_LABELS,
|
|
155
|
-
[FileType$2.FEATURE_LABELS_ANNDATA_ZARR]: DataType$2.FEATURE_LABELS,
|
|
156
|
-
[FileType$2.OBS_FEATURE_MATRIX_MUDATA_ZARR]: DataType$2.OBS_FEATURE_MATRIX,
|
|
157
|
-
[FileType$2.OBS_SETS_MUDATA_ZARR]: DataType$2.OBS_SETS,
|
|
158
|
-
[FileType$2.OBS_EMBEDDING_MUDATA_ZARR]: DataType$2.OBS_EMBEDDING,
|
|
159
|
-
[FileType$2.OBS_LOCATIONS_MUDATA_ZARR]: DataType$2.OBS_LOCATIONS,
|
|
160
|
-
[FileType$2.OBS_SEGMENTATIONS_MUDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
|
|
161
|
-
[FileType$2.OBS_LABELS_MUDATA_ZARR]: DataType$2.OBS_LABELS,
|
|
162
|
-
[FileType$2.FEATURE_LABELS_MUDATA_ZARR]: DataType$2.FEATURE_LABELS,
|
|
163
|
-
[FileType$2.OBS_EMBEDDING_CELLS_JSON]: DataType$2.OBS_EMBEDDING,
|
|
164
|
-
[FileType$2.OBS_LOCATIONS_CELLS_JSON]: DataType$2.OBS_LOCATIONS,
|
|
165
|
-
[FileType$2.OBS_SEGMENTATIONS_CELLS_JSON]: DataType$2.OBS_SEGMENTATIONS,
|
|
166
|
-
[FileType$2.OBS_LABELS_CELLS_JSON]: DataType$2.OBS_LABELS,
|
|
167
|
-
[FileType$2.OBS_SETS_CELL_SETS_JSON]: DataType$2.OBS_SETS,
|
|
168
|
-
[FileType$2.OBS_FEATURE_MATRIX_GENES_JSON]: DataType$2.OBS_FEATURE_MATRIX,
|
|
169
|
-
[FileType$2.OBS_FEATURE_MATRIX_CLUSTERS_JSON]: DataType$2.OBS_FEATURE_MATRIX,
|
|
170
|
-
[FileType$2.OBS_FEATURE_MATRIX_EXPRESSION_MATRIX_ZARR]: DataType$2.OBS_FEATURE_MATRIX,
|
|
171
|
-
[FileType$2.IMAGE_RASTER_JSON]: DataType$2.IMAGE,
|
|
172
|
-
[FileType$2.OBS_SEGMENTATIONS_RASTER_JSON]: DataType$2.OBS_SEGMENTATIONS,
|
|
173
|
-
[FileType$2.OBS_LOCATIONS_MOLECULES_JSON]: DataType$2.OBS_LOCATIONS,
|
|
174
|
-
[FileType$2.OBS_LABELS_MOLECULES_JSON]: DataType$2.OBS_LABELS,
|
|
175
|
-
[FileType$2.GENOMIC_PROFILES_ZARR]: DataType$2.GENOMIC_PROFILES,
|
|
176
|
-
[FileType$2.NEIGHBORHOODS_JSON]: DataType$2.NEIGHBORHOODS
|
|
177
|
-
});
|
|
178
|
-
({
|
|
179
|
-
[DataType$2.OBS_SEGMENTATIONS]: [
|
|
180
|
-
CoordinationType$2.OBS_TYPE
|
|
181
|
-
],
|
|
182
|
-
[DataType$2.OBS_EMBEDDING]: [
|
|
183
|
-
CoordinationType$2.OBS_TYPE,
|
|
184
|
-
CoordinationType$2.EMBEDDING_TYPE
|
|
185
|
-
],
|
|
186
|
-
[DataType$2.OBS_LOCATIONS]: [
|
|
187
|
-
CoordinationType$2.OBS_TYPE
|
|
188
|
-
],
|
|
189
|
-
[DataType$2.OBS_LABELS]: [
|
|
190
|
-
CoordinationType$2.OBS_TYPE,
|
|
191
|
-
CoordinationType$2.OBS_LABELS_TYPE
|
|
192
|
-
],
|
|
193
|
-
[DataType$2.FEATURE_LABELS]: [
|
|
194
|
-
CoordinationType$2.FEATURE_TYPE
|
|
195
|
-
],
|
|
196
|
-
[DataType$2.OBS_SETS]: [
|
|
197
|
-
CoordinationType$2.OBS_TYPE
|
|
198
|
-
],
|
|
199
|
-
[DataType$2.OBS_FEATURE_MATRIX]: [
|
|
200
|
-
CoordinationType$2.OBS_TYPE,
|
|
201
|
-
CoordinationType$2.FEATURE_TYPE,
|
|
202
|
-
CoordinationType$2.FEATURE_VALUE_TYPE
|
|
203
|
-
],
|
|
204
|
-
[DataType$2.GENOMIC_PROFILES]: [],
|
|
205
|
-
[DataType$2.IMAGE]: [],
|
|
206
|
-
[DataType$2.NEIGHBORHOODS]: []
|
|
207
|
-
});
|
|
208
|
-
({
|
|
209
|
-
[CoordinationType$2.OBS_TYPE]: "cell",
|
|
210
|
-
[CoordinationType$2.FEATURE_TYPE]: "gene",
|
|
211
|
-
[CoordinationType$2.FEATURE_VALUE_TYPE]: "expression",
|
|
212
|
-
[CoordinationType$2.OBS_LABELS_TYPE]: null,
|
|
213
|
-
[CoordinationType$2.EMBEDDING_ZOOM]: null,
|
|
214
|
-
[CoordinationType$2.EMBEDDING_ROTATION]: 0,
|
|
215
|
-
[CoordinationType$2.EMBEDDING_TARGET_X]: null,
|
|
216
|
-
[CoordinationType$2.EMBEDDING_TARGET_Y]: null,
|
|
217
|
-
[CoordinationType$2.EMBEDDING_TARGET_Z]: 0,
|
|
218
|
-
[CoordinationType$2.EMBEDDING_OBS_SET_POLYGONS_VISIBLE]: false,
|
|
219
|
-
[CoordinationType$2.EMBEDDING_OBS_SET_LABELS_VISIBLE]: false,
|
|
220
|
-
[CoordinationType$2.EMBEDDING_OBS_SET_LABEL_SIZE]: 14,
|
|
221
|
-
[CoordinationType$2.EMBEDDING_OBS_RADIUS]: 1,
|
|
222
|
-
[CoordinationType$2.EMBEDDING_OBS_RADIUS_MODE]: "auto",
|
|
223
|
-
[CoordinationType$2.EMBEDDING_OBS_OPACITY]: 1,
|
|
224
|
-
[CoordinationType$2.EMBEDDING_OBS_OPACITY_MODE]: "auto",
|
|
225
|
-
[CoordinationType$2.SPATIAL_ZOOM]: null,
|
|
226
|
-
[CoordinationType$2.SPATIAL_ROTATION]: 0,
|
|
227
|
-
[CoordinationType$2.SPATIAL_TARGET_X]: null,
|
|
228
|
-
[CoordinationType$2.SPATIAL_TARGET_Y]: null,
|
|
229
|
-
[CoordinationType$2.SPATIAL_TARGET_Z]: null,
|
|
230
|
-
[CoordinationType$2.SPATIAL_ROTATION_X]: null,
|
|
231
|
-
[CoordinationType$2.SPATIAL_ROTATION_Y]: null,
|
|
232
|
-
[CoordinationType$2.SPATIAL_ROTATION_Z]: null,
|
|
233
|
-
[CoordinationType$2.SPATIAL_AXIS_FIXED]: false,
|
|
234
|
-
[CoordinationType$2.SPATIAL_ROTATION_ORBIT]: 0,
|
|
235
|
-
[CoordinationType$2.SPATIAL_ORBIT_AXIS]: "Y",
|
|
236
|
-
[CoordinationType$2.SPATIAL_IMAGE_LAYER]: null,
|
|
237
|
-
[CoordinationType$2.SPATIAL_SEGMENTATION_LAYER]: null,
|
|
238
|
-
[CoordinationType$2.SPATIAL_POINT_LAYER]: null,
|
|
239
|
-
[CoordinationType$2.SPATIAL_NEIGHBORHOOD_LAYER]: null,
|
|
240
|
-
[CoordinationType$2.HEATMAP_ZOOM_X]: 0,
|
|
241
|
-
[CoordinationType$2.HEATMAP_ZOOM_Y]: 0,
|
|
242
|
-
[CoordinationType$2.HEATMAP_TARGET_X]: 0,
|
|
243
|
-
[CoordinationType$2.HEATMAP_TARGET_Y]: 0,
|
|
244
|
-
[CoordinationType$2.FEATURE_VALUE_COLORMAP]: "plasma",
|
|
245
|
-
[CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE]: [0, 1],
|
|
246
|
-
[CoordinationType$2.FEATURE_VALUE_TRANSFORM]: null,
|
|
247
|
-
[CoordinationType$2.FEATURE_VALUE_TRANSFORM_COEFFICIENT]: 1,
|
|
248
|
-
[CoordinationType$2.FEATURE_FILTER]: null,
|
|
249
|
-
[CoordinationType$2.FEATURE_HIGHLIGHT]: null,
|
|
250
|
-
[CoordinationType$2.FEATURE_SELECTION]: null,
|
|
251
|
-
[CoordinationType$2.OBS_FILTER]: null,
|
|
252
|
-
[CoordinationType$2.OBS_HIGHLIGHT]: null,
|
|
253
|
-
[CoordinationType$2.OBS_SET_SELECTION]: null,
|
|
254
|
-
[CoordinationType$2.OBS_SET_HIGHLIGHT]: null,
|
|
255
|
-
[CoordinationType$2.OBS_SET_COLOR]: null,
|
|
256
|
-
[CoordinationType$2.OBS_COLOR_ENCODING]: "cellSetSelection",
|
|
257
|
-
[CoordinationType$2.GENOMIC_ZOOM_X]: 0,
|
|
258
|
-
[CoordinationType$2.GENOMIC_ZOOM_Y]: 0,
|
|
259
|
-
[CoordinationType$2.GENOMIC_TARGET_X]: 15499999995e-1,
|
|
260
|
-
[CoordinationType$2.GENOMIC_TARGET_Y]: 15499999995e-1,
|
|
261
|
-
[CoordinationType$2.ADDITIONAL_OBS_SETS]: null,
|
|
262
|
-
[CoordinationType$2.MOLECULE_HIGHLIGHT]: null,
|
|
263
|
-
[CoordinationType$2.GATING_FEATURE_SELECTION_X]: null,
|
|
264
|
-
[CoordinationType$2.GATING_FEATURE_SELECTION_Y]: null
|
|
265
|
-
});
|
|
266
|
-
[
|
|
267
|
-
CoordinationType$2.HEATMAP_ZOOM_X,
|
|
268
|
-
CoordinationType$2.HEATMAP_ZOOM_Y,
|
|
269
|
-
CoordinationType$2.HEATMAP_TARGET_X,
|
|
270
|
-
CoordinationType$2.HEATMAP_TARGET_Y,
|
|
271
|
-
CoordinationType$2.EMBEDDING_ZOOM,
|
|
272
|
-
CoordinationType$2.EMBEDDING_TARGET_X,
|
|
273
|
-
CoordinationType$2.EMBEDDING_TARGET_Y,
|
|
274
|
-
CoordinationType$2.EMBEDDING_TARGET_Z,
|
|
275
|
-
CoordinationType$2.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
|
|
276
|
-
CoordinationType$2.EMBEDDING_OBS_SET_LABELS_VISIBLE,
|
|
277
|
-
CoordinationType$2.EMBEDDING_OBS_SET_LABEL_SIZE,
|
|
278
|
-
CoordinationType$2.EMBEDDING_OBS_RADIUS,
|
|
279
|
-
CoordinationType$2.EMBEDDING_OBS_OPACITY
|
|
280
|
-
];
|
|
281
|
-
({
|
|
282
|
-
[ViewType$2.SCATTERPLOT]: [
|
|
283
|
-
CoordinationType$2.DATASET,
|
|
284
|
-
CoordinationType$2.OBS_TYPE,
|
|
285
|
-
CoordinationType$2.FEATURE_TYPE,
|
|
286
|
-
CoordinationType$2.FEATURE_VALUE_TYPE,
|
|
287
|
-
CoordinationType$2.OBS_LABELS_TYPE,
|
|
288
|
-
CoordinationType$2.EMBEDDING_TYPE,
|
|
289
|
-
CoordinationType$2.EMBEDDING_ZOOM,
|
|
290
|
-
CoordinationType$2.EMBEDDING_ROTATION,
|
|
291
|
-
CoordinationType$2.EMBEDDING_TARGET_X,
|
|
292
|
-
CoordinationType$2.EMBEDDING_TARGET_Y,
|
|
293
|
-
CoordinationType$2.EMBEDDING_TARGET_Z,
|
|
294
|
-
CoordinationType$2.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
|
|
295
|
-
CoordinationType$2.EMBEDDING_OBS_SET_LABELS_VISIBLE,
|
|
296
|
-
CoordinationType$2.EMBEDDING_OBS_SET_LABEL_SIZE,
|
|
297
|
-
CoordinationType$2.EMBEDDING_OBS_RADIUS,
|
|
298
|
-
CoordinationType$2.EMBEDDING_OBS_RADIUS_MODE,
|
|
299
|
-
CoordinationType$2.EMBEDDING_OBS_OPACITY,
|
|
300
|
-
CoordinationType$2.EMBEDDING_OBS_OPACITY_MODE,
|
|
301
|
-
CoordinationType$2.OBS_FILTER,
|
|
302
|
-
CoordinationType$2.OBS_HIGHLIGHT,
|
|
303
|
-
CoordinationType$2.OBS_SET_SELECTION,
|
|
304
|
-
CoordinationType$2.OBS_SET_HIGHLIGHT,
|
|
305
|
-
CoordinationType$2.OBS_SET_COLOR,
|
|
306
|
-
CoordinationType$2.FEATURE_HIGHLIGHT,
|
|
307
|
-
CoordinationType$2.FEATURE_SELECTION,
|
|
308
|
-
CoordinationType$2.FEATURE_VALUE_COLORMAP,
|
|
309
|
-
CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE,
|
|
310
|
-
CoordinationType$2.OBS_COLOR_ENCODING,
|
|
311
|
-
CoordinationType$2.ADDITIONAL_OBS_SETS
|
|
312
|
-
],
|
|
313
|
-
[ViewType$2.GATING]: [
|
|
314
|
-
CoordinationType$2.DATASET,
|
|
315
|
-
CoordinationType$2.OBS_TYPE,
|
|
316
|
-
CoordinationType$2.FEATURE_TYPE,
|
|
317
|
-
CoordinationType$2.FEATURE_VALUE_TYPE,
|
|
318
|
-
CoordinationType$2.EMBEDDING_TYPE,
|
|
319
|
-
CoordinationType$2.EMBEDDING_ZOOM,
|
|
320
|
-
CoordinationType$2.EMBEDDING_ROTATION,
|
|
321
|
-
CoordinationType$2.EMBEDDING_TARGET_X,
|
|
322
|
-
CoordinationType$2.EMBEDDING_TARGET_Y,
|
|
323
|
-
CoordinationType$2.EMBEDDING_TARGET_Z,
|
|
324
|
-
CoordinationType$2.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
|
|
325
|
-
CoordinationType$2.EMBEDDING_OBS_SET_LABELS_VISIBLE,
|
|
326
|
-
CoordinationType$2.EMBEDDING_OBS_SET_LABEL_SIZE,
|
|
327
|
-
CoordinationType$2.EMBEDDING_OBS_RADIUS,
|
|
328
|
-
CoordinationType$2.EMBEDDING_OBS_RADIUS_MODE,
|
|
329
|
-
CoordinationType$2.EMBEDDING_OBS_OPACITY,
|
|
330
|
-
CoordinationType$2.EMBEDDING_OBS_OPACITY_MODE,
|
|
331
|
-
CoordinationType$2.OBS_FILTER,
|
|
332
|
-
CoordinationType$2.OBS_HIGHLIGHT,
|
|
333
|
-
CoordinationType$2.OBS_SET_SELECTION,
|
|
334
|
-
CoordinationType$2.OBS_SET_HIGHLIGHT,
|
|
335
|
-
CoordinationType$2.OBS_SET_COLOR,
|
|
336
|
-
CoordinationType$2.FEATURE_HIGHLIGHT,
|
|
337
|
-
CoordinationType$2.FEATURE_SELECTION,
|
|
338
|
-
CoordinationType$2.FEATURE_VALUE_COLORMAP,
|
|
339
|
-
CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE,
|
|
340
|
-
CoordinationType$2.OBS_COLOR_ENCODING,
|
|
341
|
-
CoordinationType$2.ADDITIONAL_OBS_SETS,
|
|
342
|
-
CoordinationType$2.FEATURE_VALUE_TRANSFORM,
|
|
343
|
-
CoordinationType$2.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
344
|
-
CoordinationType$2.GATING_FEATURE_SELECTION_X,
|
|
345
|
-
CoordinationType$2.GATING_FEATURE_SELECTION_Y
|
|
346
|
-
],
|
|
347
|
-
[ViewType$2.SPATIAL]: [
|
|
348
|
-
CoordinationType$2.DATASET,
|
|
349
|
-
CoordinationType$2.OBS_TYPE,
|
|
350
|
-
CoordinationType$2.OBS_LABELS_TYPE,
|
|
351
|
-
CoordinationType$2.FEATURE_TYPE,
|
|
352
|
-
CoordinationType$2.FEATURE_VALUE_TYPE,
|
|
353
|
-
CoordinationType$2.SPATIAL_ZOOM,
|
|
354
|
-
CoordinationType$2.SPATIAL_ROTATION,
|
|
355
|
-
CoordinationType$2.SPATIAL_IMAGE_LAYER,
|
|
356
|
-
CoordinationType$2.SPATIAL_SEGMENTATION_LAYER,
|
|
357
|
-
CoordinationType$2.SPATIAL_POINT_LAYER,
|
|
358
|
-
CoordinationType$2.SPATIAL_NEIGHBORHOOD_LAYER,
|
|
359
|
-
CoordinationType$2.SPATIAL_TARGET_X,
|
|
360
|
-
CoordinationType$2.SPATIAL_TARGET_Y,
|
|
361
|
-
CoordinationType$2.SPATIAL_TARGET_Z,
|
|
362
|
-
CoordinationType$2.SPATIAL_ROTATION_X,
|
|
363
|
-
CoordinationType$2.SPATIAL_ROTATION_Y,
|
|
364
|
-
CoordinationType$2.SPATIAL_ROTATION_Z,
|
|
365
|
-
CoordinationType$2.SPATIAL_ROTATION_ORBIT,
|
|
366
|
-
CoordinationType$2.SPATIAL_ORBIT_AXIS,
|
|
367
|
-
CoordinationType$2.SPATIAL_AXIS_FIXED,
|
|
368
|
-
CoordinationType$2.OBS_FILTER,
|
|
369
|
-
CoordinationType$2.OBS_HIGHLIGHT,
|
|
370
|
-
CoordinationType$2.OBS_SET_SELECTION,
|
|
371
|
-
CoordinationType$2.OBS_SET_HIGHLIGHT,
|
|
372
|
-
CoordinationType$2.OBS_SET_COLOR,
|
|
373
|
-
CoordinationType$2.FEATURE_HIGHLIGHT,
|
|
374
|
-
CoordinationType$2.FEATURE_SELECTION,
|
|
375
|
-
CoordinationType$2.FEATURE_VALUE_COLORMAP,
|
|
376
|
-
CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE,
|
|
377
|
-
CoordinationType$2.OBS_COLOR_ENCODING,
|
|
378
|
-
CoordinationType$2.ADDITIONAL_OBS_SETS,
|
|
379
|
-
CoordinationType$2.MOLECULE_HIGHLIGHT
|
|
380
|
-
],
|
|
381
|
-
[ViewType$2.HEATMAP]: [
|
|
382
|
-
CoordinationType$2.DATASET,
|
|
383
|
-
CoordinationType$2.OBS_TYPE,
|
|
384
|
-
CoordinationType$2.OBS_LABELS_TYPE,
|
|
385
|
-
CoordinationType$2.FEATURE_TYPE,
|
|
386
|
-
CoordinationType$2.FEATURE_VALUE_TYPE,
|
|
387
|
-
CoordinationType$2.HEATMAP_ZOOM_X,
|
|
388
|
-
CoordinationType$2.HEATMAP_ZOOM_Y,
|
|
389
|
-
CoordinationType$2.HEATMAP_TARGET_X,
|
|
390
|
-
CoordinationType$2.HEATMAP_TARGET_Y,
|
|
391
|
-
CoordinationType$2.OBS_FILTER,
|
|
392
|
-
CoordinationType$2.OBS_HIGHLIGHT,
|
|
393
|
-
CoordinationType$2.OBS_SET_SELECTION,
|
|
394
|
-
CoordinationType$2.OBS_SET_HIGHLIGHT,
|
|
395
|
-
CoordinationType$2.OBS_SET_COLOR,
|
|
396
|
-
CoordinationType$2.FEATURE_FILTER,
|
|
397
|
-
CoordinationType$2.FEATURE_HIGHLIGHT,
|
|
398
|
-
CoordinationType$2.FEATURE_SELECTION,
|
|
399
|
-
CoordinationType$2.FEATURE_VALUE_COLORMAP,
|
|
400
|
-
CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE,
|
|
401
|
-
CoordinationType$2.OBS_COLOR_ENCODING,
|
|
402
|
-
CoordinationType$2.ADDITIONAL_OBS_SETS
|
|
403
|
-
],
|
|
404
|
-
[ViewType$2.OBS_SETS]: [
|
|
405
|
-
CoordinationType$2.DATASET,
|
|
406
|
-
CoordinationType$2.OBS_TYPE,
|
|
407
|
-
CoordinationType$2.OBS_SET_SELECTION,
|
|
408
|
-
CoordinationType$2.OBS_SET_HIGHLIGHT,
|
|
409
|
-
CoordinationType$2.OBS_SET_COLOR,
|
|
410
|
-
CoordinationType$2.OBS_COLOR_ENCODING,
|
|
411
|
-
CoordinationType$2.ADDITIONAL_OBS_SETS,
|
|
412
|
-
CoordinationType$2.FEATURE_SELECTION
|
|
413
|
-
],
|
|
414
|
-
[ViewType$2.OBS_SET_SIZES]: [
|
|
415
|
-
CoordinationType$2.DATASET,
|
|
416
|
-
CoordinationType$2.OBS_TYPE,
|
|
417
|
-
CoordinationType$2.OBS_SET_SELECTION,
|
|
418
|
-
CoordinationType$2.OBS_SET_HIGHLIGHT,
|
|
419
|
-
CoordinationType$2.OBS_SET_COLOR,
|
|
420
|
-
CoordinationType$2.ADDITIONAL_OBS_SETS
|
|
421
|
-
],
|
|
422
|
-
[ViewType$2.STATUS]: [
|
|
423
|
-
CoordinationType$2.DATASET,
|
|
424
|
-
CoordinationType$2.OBS_HIGHLIGHT,
|
|
425
|
-
CoordinationType$2.FEATURE_HIGHLIGHT,
|
|
426
|
-
CoordinationType$2.OBS_SET_HIGHLIGHT,
|
|
427
|
-
CoordinationType$2.MOLECULE_HIGHLIGHT
|
|
428
|
-
],
|
|
429
|
-
[ViewType$2.FEATURE_LIST]: [
|
|
430
|
-
CoordinationType$2.DATASET,
|
|
431
|
-
CoordinationType$2.OBS_TYPE,
|
|
432
|
-
CoordinationType$2.FEATURE_TYPE,
|
|
433
|
-
CoordinationType$2.FEATURE_VALUE_TYPE,
|
|
434
|
-
CoordinationType$2.FEATURE_FILTER,
|
|
435
|
-
CoordinationType$2.FEATURE_HIGHLIGHT,
|
|
436
|
-
CoordinationType$2.FEATURE_SELECTION,
|
|
437
|
-
CoordinationType$2.OBS_COLOR_ENCODING,
|
|
438
|
-
CoordinationType$2.OBS_SET_SELECTION
|
|
439
|
-
],
|
|
440
|
-
[ViewType$2.OBS_SET_FEATURE_VALUE_DISTRIBUTION]: [
|
|
441
|
-
CoordinationType$2.DATASET,
|
|
442
|
-
CoordinationType$2.OBS_TYPE,
|
|
443
|
-
CoordinationType$2.FEATURE_TYPE,
|
|
444
|
-
CoordinationType$2.FEATURE_VALUE_TYPE,
|
|
445
|
-
CoordinationType$2.FEATURE_SELECTION,
|
|
446
|
-
CoordinationType$2.FEATURE_VALUE_TRANSFORM,
|
|
447
|
-
CoordinationType$2.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
448
|
-
CoordinationType$2.OBS_SET_SELECTION,
|
|
449
|
-
CoordinationType$2.OBS_SET_HIGHLIGHT,
|
|
450
|
-
CoordinationType$2.OBS_SET_COLOR,
|
|
451
|
-
CoordinationType$2.ADDITIONAL_OBS_SETS
|
|
452
|
-
],
|
|
453
|
-
[ViewType$2.FEATURE_VALUE_HISTOGRAM]: [
|
|
454
|
-
CoordinationType$2.DATASET,
|
|
455
|
-
CoordinationType$2.OBS_TYPE,
|
|
456
|
-
CoordinationType$2.FEATURE_TYPE,
|
|
457
|
-
CoordinationType$2.FEATURE_VALUE_TYPE,
|
|
458
|
-
CoordinationType$2.FEATURE_SELECTION
|
|
459
|
-
],
|
|
460
|
-
[ViewType$2.LAYER_CONTROLLER]: [
|
|
461
|
-
CoordinationType$2.DATASET,
|
|
462
|
-
CoordinationType$2.OBS_TYPE,
|
|
463
|
-
CoordinationType$2.FEATURE_TYPE,
|
|
464
|
-
CoordinationType$2.FEATURE_VALUE_TYPE,
|
|
465
|
-
CoordinationType$2.SPATIAL_IMAGE_LAYER,
|
|
466
|
-
CoordinationType$2.SPATIAL_SEGMENTATION_LAYER,
|
|
467
|
-
CoordinationType$2.SPATIAL_POINT_LAYER,
|
|
468
|
-
CoordinationType$2.SPATIAL_NEIGHBORHOOD_LAYER,
|
|
469
|
-
CoordinationType$2.SPATIAL_ZOOM,
|
|
470
|
-
CoordinationType$2.SPATIAL_TARGET_X,
|
|
471
|
-
CoordinationType$2.SPATIAL_TARGET_Y,
|
|
472
|
-
CoordinationType$2.SPATIAL_TARGET_Z,
|
|
473
|
-
CoordinationType$2.SPATIAL_ROTATION_X,
|
|
474
|
-
CoordinationType$2.SPATIAL_ROTATION_Y,
|
|
475
|
-
CoordinationType$2.SPATIAL_ROTATION_Z,
|
|
476
|
-
CoordinationType$2.SPATIAL_ROTATION_ORBIT,
|
|
477
|
-
CoordinationType$2.SPATIAL_ORBIT_AXIS
|
|
478
|
-
],
|
|
479
|
-
[ViewType$2.GENOMIC_PROFILES]: [
|
|
480
|
-
CoordinationType$2.DATASET,
|
|
481
|
-
CoordinationType$2.OBS_TYPE,
|
|
482
|
-
CoordinationType$2.FEATURE_TYPE,
|
|
483
|
-
CoordinationType$2.FEATURE_VALUE_TYPE,
|
|
484
|
-
CoordinationType$2.GENOMIC_ZOOM_X,
|
|
485
|
-
CoordinationType$2.GENOMIC_ZOOM_Y,
|
|
486
|
-
CoordinationType$2.GENOMIC_TARGET_X,
|
|
487
|
-
CoordinationType$2.GENOMIC_TARGET_Y,
|
|
488
|
-
CoordinationType$2.FEATURE_FILTER,
|
|
489
|
-
CoordinationType$2.FEATURE_HIGHLIGHT,
|
|
490
|
-
CoordinationType$2.FEATURE_SELECTION,
|
|
491
|
-
CoordinationType$2.OBS_SET_SELECTION,
|
|
492
|
-
CoordinationType$2.OBS_SET_HIGHLIGHT,
|
|
493
|
-
CoordinationType$2.OBS_SET_COLOR,
|
|
494
|
-
CoordinationType$2.ADDITIONAL_OBS_SETS
|
|
495
|
-
],
|
|
496
|
-
[ViewType$2.DESCRIPTION]: [
|
|
497
|
-
CoordinationType$2.DATASET,
|
|
498
|
-
CoordinationType$2.SPATIAL_IMAGE_LAYER
|
|
499
|
-
],
|
|
500
|
-
higlass: [
|
|
501
|
-
CoordinationType$2.DATASET,
|
|
502
|
-
CoordinationType$2.GENOMIC_ZOOM_X,
|
|
503
|
-
CoordinationType$2.GENOMIC_ZOOM_Y,
|
|
504
|
-
CoordinationType$2.GENOMIC_TARGET_X,
|
|
505
|
-
CoordinationType$2.GENOMIC_TARGET_Y,
|
|
506
|
-
CoordinationType$2.FEATURE_FILTER,
|
|
507
|
-
CoordinationType$2.FEATURE_HIGHLIGHT,
|
|
508
|
-
CoordinationType$2.FEATURE_SELECTION
|
|
509
|
-
]
|
|
510
|
-
});
|
|
511
|
-
const ViewType$1 = {
|
|
512
|
-
GENES: [
|
|
513
|
-
"genes",
|
|
514
|
-
"This view type was renamed to featureList in schema version 1.0.15."
|
|
515
|
-
],
|
|
516
|
-
CELL_SETS: [
|
|
517
|
-
"cellSets",
|
|
518
|
-
"This view type was renamed to obsSets in schema version 1.0.15."
|
|
519
|
-
],
|
|
520
|
-
CELL_SET_SIZES: [
|
|
521
|
-
"cellSetSizes",
|
|
522
|
-
"This view type was renamed to obsSetSizes in schema version 1.0.15."
|
|
523
|
-
],
|
|
524
|
-
CELL_SET_EXPRESSION: [
|
|
525
|
-
"cellSetExpression",
|
|
526
|
-
"This view type was renamed to obsSetFeatureValueDistribution in schema version 1.0.15."
|
|
527
|
-
],
|
|
528
|
-
EXPRESSION_HISTOGRAM: [
|
|
529
|
-
"expressionHistogram",
|
|
530
|
-
"This view type was renamed to featureValueHistogram in schema version 1.0.15."
|
|
531
|
-
]
|
|
532
|
-
};
|
|
533
|
-
const DataType$1 = {
|
|
534
|
-
CELLS: [
|
|
535
|
-
"cells",
|
|
536
|
-
"This data type was removed. Associated file types were re-implemented as joint file types. See obsEmbedding instead."
|
|
537
|
-
],
|
|
538
|
-
CELL_SETS: [
|
|
539
|
-
"cell-sets",
|
|
540
|
-
"This data type was removed. Associated file types were re-implemented as joint file types. See obsSets instead."
|
|
541
|
-
],
|
|
542
|
-
EXPRESSION_MATRIX: [
|
|
543
|
-
"expression-matrix",
|
|
544
|
-
"This data type was removed. Associated file types were re-implemented as joint file types. See obsFeatureMatrix instead."
|
|
545
|
-
],
|
|
546
|
-
MOLECULES: [
|
|
547
|
-
"molecules",
|
|
548
|
-
"This data type was removed. Associated file types were re-implemented as joint file types. See obsLocations instead."
|
|
549
|
-
],
|
|
550
|
-
RASTER: [
|
|
551
|
-
"raster",
|
|
552
|
-
"This data type was removed. Associated file types were re-implemented as joint file types. See image and obsSegmentations instead."
|
|
553
|
-
]
|
|
554
|
-
};
|
|
555
|
-
const FileType$1 = {};
|
|
556
|
-
function makeChangeMessage(newTypeName, newVersion) {
|
|
557
|
-
return `This coordination type was changed to ${newTypeName} in view config schema version ${newVersion}`;
|
|
558
|
-
}
|
|
559
|
-
const CoordinationType$1 = {
|
|
560
|
-
SPATIAL_LAYERS: [
|
|
561
|
-
"spatialLayers",
|
|
562
|
-
"This coordination type was split into multiple coordination types in view config schema version 1.0.1"
|
|
563
|
-
],
|
|
564
|
-
SPATIAL_RASTER_LAYERS: [
|
|
565
|
-
"spatialRasterLayers",
|
|
566
|
-
makeChangeMessage("spatialImageLayer", "1.0.11")
|
|
567
|
-
],
|
|
568
|
-
SPATIAL_CELLS_LAYER: [
|
|
569
|
-
"spatialCellsLayer",
|
|
570
|
-
makeChangeMessage("spatialSegmentationLayer", "1.0.11")
|
|
571
|
-
],
|
|
572
|
-
SPATIAL_MOLECULES_LAYER: [
|
|
573
|
-
"spatialMoleculesLayer",
|
|
574
|
-
makeChangeMessage("spatialPointLayer", "1.0.11")
|
|
575
|
-
],
|
|
576
|
-
SPATIAL_NEIGHBORHOODS_LAYER: [
|
|
577
|
-
"spatialNeighborhoodsLayer",
|
|
578
|
-
makeChangeMessage("spatialNeighborhoodLayer", "1.0.11")
|
|
579
|
-
],
|
|
580
|
-
EMBEDDING_CELL_SET_POLYGONS_VISIBLE: [
|
|
581
|
-
"embeddingCellSetPolygonsVisible",
|
|
582
|
-
makeChangeMessage("embeddingObsSetPolygonsVisible", "1.0.11")
|
|
583
|
-
],
|
|
584
|
-
EMBEDDING_CELL_SET_LABELS_VISIBLE: [
|
|
585
|
-
"embeddingCellSetLabelsVisible",
|
|
586
|
-
makeChangeMessage("embeddingObsSetLabelsVisible", "1.0.11")
|
|
587
|
-
],
|
|
588
|
-
EMBEDDING_CELL_SET_LABEL_SIZE: [
|
|
589
|
-
"embeddingCellSetLabelSize",
|
|
590
|
-
makeChangeMessage("embeddingObsSetLabelSize", "1.0.11")
|
|
591
|
-
],
|
|
592
|
-
EMBEDDING_CELL_RADIUS: [
|
|
593
|
-
"embeddingCellRadius",
|
|
594
|
-
makeChangeMessage("embeddingObsRadius", "1.0.11")
|
|
595
|
-
],
|
|
596
|
-
EMBEDDING_CELL_RADIUS_MODE: [
|
|
597
|
-
"embeddingCellRadiusMode",
|
|
598
|
-
makeChangeMessage("embeddingObsRadiusMode", "1.0.11")
|
|
599
|
-
],
|
|
600
|
-
EMBEDDING_CELL_OPACITY: [
|
|
601
|
-
"embeddingCellOpacity",
|
|
602
|
-
makeChangeMessage("embeddingObsOpacity", "1.0.11")
|
|
603
|
-
],
|
|
604
|
-
EMBEDDING_CELL_OPACITY_MODE: [
|
|
605
|
-
"embeddingCellOpacityMode",
|
|
606
|
-
makeChangeMessage("embeddingObsOpacityMode", "1.0.11")
|
|
607
|
-
],
|
|
608
|
-
CELL_FILTER: [
|
|
609
|
-
"cellFilter",
|
|
610
|
-
makeChangeMessage("obsFilter", "1.0.11")
|
|
611
|
-
],
|
|
612
|
-
CELL_HIGHLIGHT: [
|
|
613
|
-
"cellHighlight",
|
|
614
|
-
makeChangeMessage("obsHighlight", "1.0.11")
|
|
615
|
-
],
|
|
616
|
-
CELL_SET_SELECTION: [
|
|
617
|
-
"cellSetSelection",
|
|
618
|
-
makeChangeMessage("obsSetSelection", "1.0.11")
|
|
619
|
-
],
|
|
620
|
-
CELL_SET_HIGHLIGHT: [
|
|
621
|
-
"cellSetHighlight",
|
|
622
|
-
makeChangeMessage("obsSetHighlight", "1.0.11")
|
|
623
|
-
],
|
|
624
|
-
CELL_SET_COLOR: [
|
|
625
|
-
"cellSetColor",
|
|
626
|
-
makeChangeMessage("obsSetColor", "1.0.11")
|
|
627
|
-
],
|
|
628
|
-
CELL_COLOR_ENCODING: [
|
|
629
|
-
"cellColorEncoding",
|
|
630
|
-
makeChangeMessage("obsColorEncoding", "1.0.11")
|
|
631
|
-
],
|
|
632
|
-
ADDITIONAL_CELL_SETS: [
|
|
633
|
-
"additionalCellSets",
|
|
634
|
-
makeChangeMessage("additionalObsSets", "1.0.11")
|
|
635
|
-
],
|
|
636
|
-
GENE_FILTER: [
|
|
637
|
-
"geneFilter",
|
|
638
|
-
makeChangeMessage("featureFilter", "1.0.11")
|
|
639
|
-
],
|
|
640
|
-
GENE_HIGHLIGHT: [
|
|
641
|
-
"geneHighlight",
|
|
642
|
-
makeChangeMessage("featureHighlight", "1.0.11")
|
|
643
|
-
],
|
|
644
|
-
GENE_SELECTION: [
|
|
645
|
-
"geneSelection",
|
|
646
|
-
makeChangeMessage("featureSelection", "1.0.11")
|
|
647
|
-
],
|
|
648
|
-
GENE_EXPRESSION_COLORMAP: [
|
|
649
|
-
"geneExpressionColormap",
|
|
650
|
-
makeChangeMessage("featureValueColormap", "1.0.11")
|
|
651
|
-
],
|
|
652
|
-
GENE_EXPRESSION_TRANSFORM: [
|
|
653
|
-
"geneExpressionTransform",
|
|
654
|
-
makeChangeMessage("featureValueTransform", "1.0.11")
|
|
655
|
-
],
|
|
656
|
-
GENE_EXPRESSION_COLORMAP_RANGE: [
|
|
657
|
-
"geneExpressionColormapRange",
|
|
658
|
-
makeChangeMessage("featureValueColormapRange", "1.0.11")
|
|
659
|
-
]
|
|
660
|
-
};
|
|
661
|
-
function makeConstantWithDeprecationMessage(currObj, oldObj) {
|
|
662
|
-
const handler = {
|
|
663
|
-
get(obj, prop) {
|
|
664
|
-
const oldKeys = Object.keys(oldObj);
|
|
665
|
-
if (oldKeys.includes(prop)) {
|
|
666
|
-
console.warn(`Notice about the constant mapping ${prop}: '${oldObj[prop][0]}':
|
|
667
|
-
${oldObj[prop][1]}`);
|
|
668
|
-
return oldObj[prop];
|
|
669
|
-
}
|
|
670
|
-
return obj[prop];
|
|
671
|
-
}
|
|
672
|
-
};
|
|
673
|
-
const objWithMessage = new Proxy(currObj, handler);
|
|
674
|
-
return objWithMessage;
|
|
675
|
-
}
|
|
676
|
-
const ViewType = makeConstantWithDeprecationMessage(
|
|
677
|
-
ViewType$2,
|
|
678
|
-
ViewType$1
|
|
679
|
-
);
|
|
680
|
-
const DataType = makeConstantWithDeprecationMessage(
|
|
681
|
-
DataType$2,
|
|
682
|
-
DataType$1
|
|
683
|
-
);
|
|
684
|
-
const FileType = makeConstantWithDeprecationMessage(
|
|
685
|
-
FileType$2,
|
|
686
|
-
FileType$1
|
|
687
|
-
);
|
|
688
|
-
const CoordinationType = makeConstantWithDeprecationMessage(
|
|
689
|
-
CoordinationType$2,
|
|
690
|
-
CoordinationType$1
|
|
691
|
-
);
|
|
692
|
-
export {
|
|
693
|
-
CoordinationType,
|
|
694
|
-
DataType,
|
|
695
|
-
FileType,
|
|
696
|
-
ViewType
|
|
697
|
-
};
|