@vitessce/vit-s 3.0.0 → 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.
Files changed (105) hide show
  1. package/dist/index.js +28348 -25624
  2. package/dist-tsc/VitS.d.ts +7 -2
  3. package/dist-tsc/VitS.d.ts.map +1 -1
  4. package/dist-tsc/VitS.js +43 -23
  5. package/dist-tsc/VitessceGrid.d.ts.map +1 -1
  6. package/dist-tsc/VitessceGrid.js +14 -11
  7. package/dist-tsc/VitessceGrid.test.js +5 -2
  8. package/dist-tsc/Warning.js +2 -2
  9. package/dist-tsc/data/LoaderResult.d.ts +8 -3
  10. package/dist-tsc/data/LoaderResult.d.ts.map +1 -1
  11. package/dist-tsc/data/LoaderResult.js +5 -0
  12. package/dist-tsc/data-hook-utils.d.ts +3 -7
  13. package/dist-tsc/data-hook-utils.d.ts.map +1 -1
  14. package/dist-tsc/data-hook-utils.js +97 -79
  15. package/dist-tsc/data-hooks.d.ts +12 -16
  16. package/dist-tsc/data-hooks.d.ts.map +1 -1
  17. package/dist-tsc/data-hooks.js +140 -127
  18. package/dist-tsc/errors/DataSourceFetchError.js +1 -1
  19. package/dist-tsc/hooks.d.ts +3 -7
  20. package/dist-tsc/hooks.d.ts.map +1 -1
  21. package/dist-tsc/hooks.js +9 -18
  22. package/dist-tsc/index.d.ts +2 -1
  23. package/dist-tsc/index.js +2 -1
  24. package/dist-tsc/mui-utils.d.ts +2 -0
  25. package/dist-tsc/mui-utils.d.ts.map +1 -0
  26. package/dist-tsc/mui-utils.js +44 -0
  27. package/dist-tsc/shared-plot-options/OptionSelect.js +1 -1
  28. package/dist-tsc/shared-plot-options/styles.js +1 -1
  29. package/dist-tsc/state/hooks.d.ts +27 -1
  30. package/dist-tsc/state/hooks.d.ts.map +1 -1
  31. package/dist-tsc/state/hooks.js +61 -21
  32. package/dist-tsc/view-config-utils.d.ts +1 -0
  33. package/dist-tsc/view-config-utils.d.ts.map +1 -1
  34. package/dist-tsc/view-config-utils.js +7 -1
  35. package/dist-tsc/view-config-utils.test.js +1 -0
  36. package/dist-tsc/vitessce-grid-layout/VitessceGridLayout.test.js +1 -1
  37. package/dist-tsc/vitessce-grid-layout/layout-utils.test.js +1 -0
  38. package/package.json +10 -9
  39. package/src/VitS.js +79 -43
  40. package/src/VitessceGrid.js +16 -10
  41. package/src/VitessceGrid.test.jsx +8 -2
  42. package/src/Warning.js +2 -2
  43. package/src/data/LoaderResult.js +5 -0
  44. package/src/data-hook-utils.js +116 -81
  45. package/src/data-hooks.js +148 -129
  46. package/src/errors/DataSourceFetchError.js +1 -1
  47. package/src/hooks.js +11 -21
  48. package/src/index.js +2 -0
  49. package/src/mui-utils.js +52 -0
  50. package/src/shared-plot-options/OptionSelect.js +1 -1
  51. package/src/shared-plot-options/styles.js +1 -1
  52. package/src/state/hooks.js +66 -21
  53. package/src/view-config-utils.js +8 -0
  54. package/src/view-config-utils.test.jsx +1 -0
  55. package/src/vitessce-grid-layout/VitessceGridLayout.test.jsx +1 -1
  56. package/src/vitessce-grid-layout/layout-utils.test.js +1 -0
  57. package/dist-tsc/schemas/config-0.1.0.schema.json +0 -84
  58. package/dist-tsc/schemas/config-1.0.0.schema.json +0 -733
  59. package/dist-tsc/schemas/config-1.0.1.schema.json +0 -909
  60. package/dist-tsc/schemas/config-1.0.10.schema.json +0 -969
  61. package/dist-tsc/schemas/config-1.0.11.schema.json +0 -990
  62. package/dist-tsc/schemas/config-1.0.12.schema.json +0 -997
  63. package/dist-tsc/schemas/config-1.0.13.schema.json +0 -1013
  64. package/dist-tsc/schemas/config-1.0.14.schema.json +0 -1048
  65. package/dist-tsc/schemas/config-1.0.15.schema.json +0 -1048
  66. package/dist-tsc/schemas/config-1.0.16.schema.json +0 -1089
  67. package/dist-tsc/schemas/config-1.0.2.schema.json +0 -910
  68. package/dist-tsc/schemas/config-1.0.3.schema.json +0 -910
  69. package/dist-tsc/schemas/config-1.0.4.schema.json +0 -949
  70. package/dist-tsc/schemas/config-1.0.5.schema.json +0 -949
  71. package/dist-tsc/schemas/config-1.0.6.schema.json +0 -949
  72. package/dist-tsc/schemas/config-1.0.7.schema.json +0 -949
  73. package/dist-tsc/schemas/config-1.0.8.schema.json +0 -965
  74. package/dist-tsc/schemas/config-1.0.9.schema.json +0 -965
  75. package/dist-tsc/schemas/obsSets.schema.d.ts +0 -179
  76. package/dist-tsc/schemas/obsSets.schema.d.ts.map +0 -1
  77. package/dist-tsc/schemas/obsSets.schema.js +0 -195
  78. package/dist-tsc/schemas/obsSetsTabular.schema.d.ts +0 -57
  79. package/dist-tsc/schemas/obsSetsTabular.schema.d.ts.map +0 -1
  80. package/dist-tsc/schemas/obsSetsTabular.schema.js +0 -38
  81. package/dist-tsc/schemas/raster.schema.d.ts +0 -239
  82. package/dist-tsc/schemas/raster.schema.d.ts.map +0 -1
  83. package/dist-tsc/schemas/raster.schema.js +0 -120
  84. package/src/schemas/config-0.1.0.schema.json +0 -85
  85. package/src/schemas/config-1.0.0.schema.json +0 -733
  86. package/src/schemas/config-1.0.1.schema.json +0 -909
  87. package/src/schemas/config-1.0.10.schema.json +0 -969
  88. package/src/schemas/config-1.0.11.schema.json +0 -990
  89. package/src/schemas/config-1.0.12.schema.json +0 -997
  90. package/src/schemas/config-1.0.13.schema.json +0 -1013
  91. package/src/schemas/config-1.0.14.schema.json +0 -1048
  92. package/src/schemas/config-1.0.15.schema.json +0 -1048
  93. package/src/schemas/config-1.0.16.schema.json +0 -1089
  94. package/src/schemas/config-1.0.2.schema.json +0 -911
  95. package/src/schemas/config-1.0.3.schema.json +0 -911
  96. package/src/schemas/config-1.0.4.schema.json +0 -949
  97. package/src/schemas/config-1.0.5.schema.json +0 -949
  98. package/src/schemas/config-1.0.6.schema.json +0 -950
  99. package/src/schemas/config-1.0.7.schema.json +0 -950
  100. package/src/schemas/config-1.0.8.schema.json +0 -966
  101. package/src/schemas/config-1.0.9.schema.json +0 -965
  102. package/src/schemas/obsSets.schema.js +0 -195
  103. package/src/schemas/obsSetsTabular.schema.js +0 -39
  104. package/src/schemas/raster.schema.js +0 -121
  105. package/src/schemas/schema-schema.sh +0 -34
@@ -1,911 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://github.com/vitessce/vitessce/#dataset",
4
- "title": "Vitessce data set",
5
- "type": "object",
6
- "definitions": {
7
- "components": {
8
- "description": "The layout array defines the views, or components, rendered in the grid.",
9
- "type": "array",
10
- "items": {
11
- "type": "object",
12
- "additionalProperties": false,
13
- "required": ["component", "x", "y"],
14
- "properties": {
15
- "component": {
16
- "type": "string",
17
- "description": "Specify a component using a name defined in the component registry."
18
- },
19
- "props": {
20
- "type": "object",
21
- "description": "Extra prop values for the component."
22
- },
23
- "x": { "type": "integer" },
24
- "y": { "type": "integer" },
25
- "w": { "type": "integer" },
26
- "h": { "type": "integer" },
27
- "coordinationScopes": {
28
- "type": "object",
29
- "description": "Component-level coordination scope mappings define which coordination object values a particular component can read and write, for each coordination type.",
30
- "additionalProperties": false,
31
- "required": [],
32
- "properties": {
33
- "dataset": { "type": "string" },
34
- "embeddingType": { "type": "string" },
35
- "embeddingZoom": { "type": "string" },
36
- "embeddingRotation": { "type": "string" },
37
- "embeddingTargetX": { "type": "string" },
38
- "embeddingTargetY": { "type": "string" },
39
- "embeddingTargetZ": { "type": "string" },
40
- "embeddingCellSetPolygonsVisible": { "type": "string" },
41
- "embeddingCellSetLabelsVisible": { "type": "string" },
42
- "embeddingCellSetLabelSize": { "type": "string" },
43
- "embeddingCellRadius": { "type": "string" },
44
- "spatialZoom": { "type": "string" },
45
- "spatialRotation": { "type": "string" },
46
- "spatialTargetX": { "type": "string" },
47
- "spatialTargetY": { "type": "string" },
48
- "spatialTargetZ": { "type": "string" },
49
- "spatialRotationX": { "type": "string" },
50
- "spatialRotationY": { "type": "string" },
51
- "spatialRotationZ": { "type": "string" },
52
- "spatialRotationOrbit": { "type": "string" },
53
- "spatialOrbitAxis": { "type": "string" },
54
- "spatialAxisFixed": { "type": "string" },
55
- "heatmapZoomX": { "type": "string" },
56
- "heatmapZoomY": { "type": "string" },
57
- "heatmapTargetX": { "type": "string" },
58
- "heatmapTargetY": { "type": "string" },
59
- "cellFilter": { "type": "string" },
60
- "cellHighlight": { "type": "string" },
61
- "cellSetSelection": { "type": "string" },
62
- "cellSetHighlight": { "type": "string" },
63
- "cellSetColor": { "type": "string" },
64
- "geneFilter": { "type": "string" },
65
- "geneHighlight": { "type": "string" },
66
- "geneSelection": { "type": "string" },
67
- "geneExpressionTransform": { "type": "string" },
68
- "geneExpressionColormap": { "type": "string" },
69
- "geneExpressionColormapRange": { "type": "string" },
70
- "cellColorEncoding": { "type": "string" },
71
- "spatialRasterLayers": { "type": "string" },
72
- "spatialCellsLayer": { "type": "string" },
73
- "spatialMoleculesLayer": { "type": "string" },
74
- "spatialNeighborhoodsLayer": { "type": "string" },
75
- "genomicZoomX": { "type": "string" },
76
- "genomicZoomY": { "type": "string" },
77
- "genomicTargetX": { "type": "string" },
78
- "genomicTargetY": { "type": "string" },
79
- "additionalCellSets": { "type": "string" },
80
- "moleculeHighlight": { "type": "string" }
81
- }
82
- }
83
- }
84
- }
85
- },
86
- "requestInit": {
87
- "type": "object",
88
- "description": "The properties of this object correspond to the parameters of the JavaScript fetch() function.",
89
- "additionalProperties": false,
90
- "required": [],
91
- "properties": {
92
- "method": {
93
- "type": "string"
94
- },
95
- "headers": {
96
- "type": "object"
97
- },
98
- "body": {
99
- "type": "string"
100
- },
101
- "mode": {
102
- "type": "string"
103
- },
104
- "credentials": {
105
- "type": "string"
106
- },
107
- "cache": {
108
- "type": "string"
109
- },
110
- "redirect": {
111
- "type": "string"
112
- },
113
- "referrer": {
114
- "type": "string"
115
- },
116
- "integrity": {
117
- "type": "string"
118
- }
119
- }
120
- },
121
- "rasterLayer": {
122
- "description": "The properties of this object are the rendering settings for the raster layer.",
123
- "additionalProperties": false,
124
- "required": ["channels", "colormap", "index", "opacity"],
125
- "properties": {
126
- "channels": {
127
- "type": "array",
128
- "items": {
129
- "type": "object",
130
- "additionalProperties": false,
131
- "required": ["selection"],
132
- "properties": {
133
- "color": {
134
- "type": "array",
135
- "items": { "type": "number" },
136
- "description": "The color to use when rendering this channel under the null colormap."
137
- },
138
- "selection": {
139
- "type": "object",
140
- "description": "Determines the channel selection, e.g. some Z and time slice."
141
- },
142
- "slider": {
143
- "type": "array",
144
- "items": { "type": "number" },
145
- "description": "Determines the range for color mapping."
146
- },
147
- "visible": {
148
- "type": "boolean",
149
- "description": "Determines whether this channel of the layer will be rendered in the spatial component."
150
- }
151
- }
152
- }
153
- },
154
- "colormap": {
155
- "oneOf": [
156
- {
157
- "type": "string",
158
- "description": "The name of the colormap to use for this layer."
159
- },
160
- {
161
- "type": "null",
162
- "description": "Use the solid color definitions."
163
- }
164
- ]
165
- },
166
- "transparentColor": {
167
- "oneOf": [
168
- {
169
- "type": "array",
170
- "minItems": 3,
171
- "maxItems": 3,
172
- "items": {
173
- "type": "number",
174
- "description": "One of R G or B (0 - 255)."
175
- },
176
- "description": "Determines the color to be set to opacity 0"
177
- },
178
- {
179
- "type": "null",
180
- "description": "No selection."
181
- }
182
- ]
183
- },
184
- "index": {
185
- "type": "number",
186
- "description": "The index of the layer among the array of layers available in the image file."
187
- },
188
- "opacity": {
189
- "type": "number"
190
- },
191
- "modelMatrix": {
192
- "oneOf": [
193
- {
194
- "type": "array",
195
- "minItems": 16,
196
- "maxItems": 16,
197
- "description": "transformation matrix for this layer"
198
- },
199
- {
200
- "type": "null",
201
- "description": "Use no transformation."
202
- }
203
- ]
204
- },
205
- "domainType": {
206
- "type": "string",
207
- "enum": ["Full", "Min/Max"],
208
- "description": "Determines the extent of the channel slider input element in the layer controller."
209
- },
210
- "resolution": {
211
- "type": "number",
212
- "description": "Resolution of 3D volumetric rendering"
213
- },
214
- "xSlice": {
215
- "oneOf": [
216
- {
217
- "type": "array",
218
- "minItems": 2,
219
- "maxItems": 2,
220
- "description": "Slice bounds"
221
- },
222
- {
223
- "type": "null",
224
- "description": "No slicing"
225
- }
226
- ]
227
- },
228
- "renderingMode": {
229
- "type": "string",
230
- "description": "Rendering mode of 3D volumetric rendering"
231
- },
232
- "ySlice": {
233
- "oneOf": [
234
- {
235
- "type": "array",
236
- "minItems": 2,
237
- "maxItems": 2,
238
- "description": "Slice bounds"
239
- },
240
- {
241
- "type": "null",
242
- "description": "No slicing"
243
- }
244
- ]
245
- },
246
- "zSlice": {
247
- "oneOf": [
248
- {
249
- "type": "array",
250
- "minItems": 2,
251
- "maxItems": 2,
252
- "description": "Slice bounds"
253
- },
254
- {
255
- "type": "null",
256
- "description": "No slicing"
257
- }
258
- ]
259
- },
260
- "type": {
261
- "type": "string",
262
- "enum": ["raster", "bitmask"]
263
- },
264
- "use3d": {
265
- "type": "boolean"
266
- },
267
- "visible": {
268
- "type": "boolean",
269
- "description": "Determines whether this entire layer will be rendered in the spatial component."
270
- }
271
- }
272
- },
273
- "moleculesLayer": {
274
- "type": "object",
275
- "description": "The properties of this object are the rendering settings for the molecules layer.",
276
- "additionalProperties": false,
277
- "required": ["visible", "radius", "opacity"],
278
- "properties": {
279
- "visible": {
280
- "type": "boolean"
281
- },
282
- "radius": {
283
- "type": "number"
284
- },
285
- "opacity": {
286
- "type": "number"
287
- }
288
- }
289
- },
290
- "cellsLayer": {
291
- "type": "object",
292
- "description": "The properties of this object are the rendering settings for the cells layer.",
293
- "additionalProperties": false,
294
- "required": ["visible", "stroked", "radius", "opacity"],
295
- "properties": {
296
- "visible": {
297
- "type": "boolean"
298
- },
299
- "stroked": {
300
- "type": "boolean"
301
- },
302
- "radius": {
303
- "type": "number"
304
- },
305
- "opacity": {
306
- "type": "number"
307
- }
308
- }
309
- },
310
- "neighborhoodsLayer": {
311
- "type": "object",
312
- "description": "The properties of this object are the rendering settings for the neighborhoods layer.",
313
- "additionalProperties": false,
314
- "required": ["visible"],
315
- "properties": {
316
- "visible": {
317
- "type": "boolean"
318
- }
319
- }
320
- },
321
- "spatialRasterLayers": {
322
- "type": "array",
323
- "description": "Array of Spatial Layers",
324
- "items": {
325
- "$ref": "#/definitions/rasterLayer"
326
- }
327
- }
328
- },
329
- "additionalProperties": false,
330
- "required": ["version", "name", "datasets", "layout", "initStrategy"],
331
- "properties": {
332
- "name": { "type": "string" },
333
- "public": { "type": "boolean" },
334
- "description": { "type": "string" },
335
- "datasets": {
336
- "type": "array",
337
- "description": "The datasets array defines groups of files, where the files within each dataset reference the same entities (cells, genes, cell sets, etc).",
338
- "items": {
339
- "type": "object",
340
- "additionalProperties": false,
341
- "required": ["uid", "files"],
342
- "properties": {
343
- "uid": { "type": "string" },
344
- "name": { "type": "string" },
345
- "description": { "type": "string" },
346
- "files": {
347
- "type": "array",
348
- "items": {
349
- "type": "object",
350
- "additionalProperties": false,
351
- "required": ["fileType"],
352
- "properties": {
353
- "name": { "type": "string" },
354
- "type": { "type": "string" },
355
- "fileType": { "type": "string" },
356
- "url": { "type": "string" },
357
- "options": { "oneOf": [
358
- { "type": "object" },
359
- { "type": "array" }
360
- ] },
361
- "requestInit": { "$ref": "#/definitions/requestInit" }
362
- }
363
- }
364
- }
365
- }
366
- }
367
- },
368
- "coordinationSpace": {
369
- "type": "object",
370
- "description": "The coordination space stores the values for each scope of each coordination object.",
371
- "additionalProperties": false,
372
- "required": [],
373
- "properties": {
374
- "dataset": {
375
- "type": "object",
376
- "patternProperties": {
377
- ".": { "type": "string" }
378
- }
379
- },
380
- "embeddingZoom": {
381
- "type": "object",
382
- "patternProperties": {
383
- ".": { "oneOf": [
384
- {
385
- "type": "null",
386
- "description": "If null is provided, value will be automatically set."
387
- },
388
- { "type": "number" }
389
- ]
390
- }
391
- }
392
- },
393
- "embeddingRotation": {
394
- "type": "object",
395
- "patternProperties": {
396
- ".": { "type": "number" }
397
- }
398
- },
399
- "embeddingTargetX": {
400
- "type": "object",
401
- "patternProperties": {
402
- ".": { "oneOf": [
403
- {
404
- "type": "null",
405
- "description": "If null is provided, value will be automatically set."
406
- },
407
- { "type": "number" }
408
- ]
409
- }
410
- }
411
- },
412
- "embeddingTargetY": {
413
- "type": "object",
414
- "patternProperties": {
415
- ".": { "oneOf": [
416
- {
417
- "type": "null",
418
- "description": "If null is provided, value will be automatically set."
419
- },
420
- { "type": "number" }
421
- ]
422
- }
423
- }
424
- },
425
- "embeddingTargetZ": {
426
- "type": "object",
427
- "patternProperties": {
428
- ".": { "type": "number" }
429
- }
430
- },
431
- "embeddingType": {
432
- "type": "object",
433
- "patternProperties": {
434
- ".": { "type": "string" }
435
- }
436
- },
437
- "embeddingCellSetPolygonsVisible": {
438
- "type": "object",
439
- "patternProperties": {
440
- ".": { "type": "boolean" }
441
- }
442
- },
443
- "embeddingCellSetLabelsVisible": {
444
- "type": "object",
445
- "patternProperties": {
446
- ".": { "type": "boolean" }
447
- }
448
- },
449
- "embeddingCellSetLabelSize": {
450
- "type": "object",
451
- "patternProperties": {
452
- ".": { "type": "number" }
453
- }
454
- },
455
- "embeddingCellRadius": {
456
- "type": "object",
457
- "patternProperties": {
458
- ".": { "type": "number" }
459
- }
460
- },
461
- "spatialZoom": {
462
- "type": "object",
463
- "patternProperties": {
464
- ".": { "oneOf": [
465
- {
466
- "type": "null",
467
- "description": "If null is provided, value will be automatically set."
468
- },
469
- { "type": "number" }
470
- ]
471
- }
472
- }
473
- },
474
- "spatialRotation": {
475
- "type": "object",
476
- "patternProperties": {
477
- ".": { "type": "number" }
478
- }
479
- },
480
- "spatialTargetX": {
481
- "type": "object",
482
- "patternProperties": {
483
- ".": { "oneOf": [
484
- {
485
- "type": "null",
486
- "description": "If null is provided, value will be automatically set."
487
- },
488
- { "type": "number" }
489
- ]
490
- }
491
- }
492
- },
493
- "spatialTargetY": {
494
- "type": "object",
495
- "patternProperties": {
496
- ".": { "oneOf": [
497
- {
498
- "type": "null",
499
- "description": "If null is provided, value will be automatically set."
500
- },
501
- { "type": "number" }
502
- ]
503
- }
504
- }
505
- },
506
- "spatialTargetZ": {
507
- "type": "object",
508
- "patternProperties": {
509
- ".": { "oneOf": [
510
- {
511
- "type": "null",
512
- "description": "If null is provided, value will be automatically set."
513
- },
514
- { "type": "number" }
515
- ]
516
- }
517
- }
518
- },
519
- "spatialRotationX": {
520
- "type": "object",
521
- "patternProperties": {
522
- ".": {
523
- "oneOf": [
524
- {
525
- "type": "null",
526
- "description": "If null is provided, value will be automatically set. Only useful for 3D viewing."
527
- },
528
- { "type": "number" }
529
- ]
530
- }
531
- }
532
- },
533
- "spatialRotationY": {
534
- "type": "object",
535
- "patternProperties": {
536
- ".": {
537
- "oneOf": [
538
- {
539
- "type": "null",
540
- "description": "If null is provided, value will be automatically set. Only useful for 3D viewing."
541
- },
542
- { "type": "number" }
543
- ]
544
- }
545
- }
546
- },
547
- "spatialRotationZ": {
548
- "type": "object",
549
- "patternProperties": {
550
- ".": {
551
- "oneOf": [
552
- {
553
- "type": "null",
554
- "description": "If null is provided, value will be automatically set. Only useful for 3D viewing."
555
- },
556
- { "type": "number" }
557
- ]
558
- }
559
- }
560
- },
561
- "spatialRotationOrbit": {
562
- "type": "object",
563
- "patternProperties": {
564
- ".": {
565
- "oneOf": [
566
- {
567
- "type": "null",
568
- "description": "If null is provided, value will be automatically set. Only useful for 3D viewing."
569
- },
570
- { "type": "number" }
571
- ]
572
- }
573
- }
574
- },
575
- "spatialOrbitAxis": {
576
- "type": "object",
577
- "patternProperties": {
578
- ".": {
579
- "oneOf": [
580
- {
581
- "type": "null",
582
- "description": "If null is provided, value will be automatically set. Only useful for 3D viewing."
583
- },
584
- { "type": "string" }
585
- ]
586
- }
587
- }
588
- },
589
- "spatialAxisFixed": {
590
- "type": "object",
591
- "patternProperties": {
592
- ".": {
593
- "oneOf": [
594
- {
595
- "type": "null",
596
- "description": "Whether or not to have a fixed axis for the camera. Only useful for 3D viewing."
597
- },
598
- { "type": "boolean" }
599
- ]
600
- }
601
- }
602
- },
603
- "spatialRasterLayers": {
604
- "type": "object",
605
- "patternProperties": {
606
- ".": {
607
- "oneOf": [
608
- {
609
- "type": "null",
610
- "description": "If null is provided and auto layer initialization is enabled, layers will be automatically initialized."
611
- },
612
- { "$ref": "#/definitions/spatialRasterLayers" }
613
- ]
614
- }
615
- }
616
- },
617
- "spatialCellsLayer": {
618
- "type": "object",
619
- "patternProperties": {
620
- ".": {
621
- "oneOf": [
622
- {
623
- "type": "null",
624
- "description": "If null is provided and auto layer initialization is enabled, layers will be automatically initialized."
625
- },
626
- { "$ref": "#/definitions/cellsLayer" }
627
- ]
628
- }
629
- }
630
- },
631
- "spatialNeighborhoodsLayer": {
632
- "type": "object",
633
- "patternProperties": {
634
- ".": {
635
- "oneOf": [
636
- {
637
- "type": "null",
638
- "description": "If null is provided and auto layer initialization is enabled, layers will be automatically initialized."
639
- },
640
- { "$ref": "#/definitions/neighborhoodsLayer" }
641
- ]
642
- }
643
- }
644
- },
645
- "spatialMoleculesLayer": {
646
- "type": "object",
647
- "patternProperties": {
648
- ".": {
649
- "oneOf": [
650
- {
651
- "type": "null",
652
- "description": "If null is provided and auto layer initialization is enabled, layers will be automatically initialized."
653
- },
654
- { "$ref": "#/definitions/moleculesLayer" }
655
- ]
656
- }
657
- }
658
- },
659
- "heatmapZoomX": {
660
- "type": "object",
661
- "patternProperties": {
662
- ".": { "type": "number" }
663
- }
664
- },
665
- "heatmapZoomY": {
666
- "type": "object",
667
- "patternProperties": {
668
- ".": { "type": "number" }
669
- }
670
- },
671
- "heatmapTargetX": {
672
- "type": "object",
673
- "patternProperties": {
674
- ".": { "type": "number" }
675
- }
676
- },
677
- "heatmapTargetY": {
678
- "type": "object",
679
- "patternProperties": {
680
- ".": { "type": "number" }
681
- }
682
- },
683
- "cellFilter": {
684
- "type": "object",
685
- "patternProperties": {
686
- ".": {
687
- "oneOf": [
688
- {
689
- "type": "null",
690
- "description": "If null is provided, no cells will be filtered out initially."
691
- },
692
- { "type": "array", "items": { "type": "string" } }
693
- ]
694
- }
695
- }
696
- },
697
- "cellHighlight": {
698
- "type": "object",
699
- "patternProperties": {
700
- ".": {
701
- "oneOf": [
702
- {
703
- "type": "null",
704
- "description": "If null is provided, no cell will be highlighted initially."
705
- },
706
- { "type": "string" }
707
- ]
708
- }
709
- }
710
- },
711
- "cellSetSelection": {
712
- "type": "object",
713
- "patternProperties": {
714
- ".": {
715
- "oneOf": [
716
- {
717
- "type": "null",
718
- "description": "If null is provided and auto cell set initialization is enabled, cell set selections will be automatically initialized."
719
- },
720
- { "type": "array" }
721
- ]
722
- }
723
- }
724
- },
725
- "cellSetHighlight": {
726
- "type": "object",
727
- "patternProperties": {
728
- ".": {
729
- "oneOf": [
730
- {
731
- "type": "null",
732
- "description": "If null is provided, no cell sets will be highlighted initially."
733
- },
734
- { "type": "string" }
735
- ]
736
- }
737
- }
738
- },
739
- "cellSetColor": {
740
- "type": "object",
741
- "patternProperties": {
742
- ".": {
743
- "oneOf": [
744
- {
745
- "type": "null",
746
- "description": "If null is provided, cell set colors will be automatically initialized."
747
- },
748
- {
749
- "type": "array",
750
- "items": {
751
- "type": "object",
752
- "additionalProperties": false,
753
- "required": ["path", "color"],
754
- "properties": {
755
- "path": {
756
- "type": "array",
757
- "items": { "type": "string" }
758
- },
759
- "color": {
760
- "type": "array",
761
- "items": { "type": "number" }
762
- }
763
- }
764
- }
765
- }
766
- ]
767
- }
768
- }
769
- },
770
- "cellColorEncoding": {
771
- "type": "object",
772
- "patternProperties": {
773
- ".": { "type": "string" }
774
- }
775
- },
776
- "geneFilter": {
777
- "type": "object",
778
- "patternProperties": {
779
- ".": {
780
- "oneOf": [
781
- {
782
- "type": "null",
783
- "description": "If null is provided, no genes will be filtered out initially."
784
- },
785
- { "type": "array", "items": { "type": "string" } }
786
- ]
787
- }
788
- }
789
- },
790
- "geneHighlight": {
791
- "type": "object",
792
- "patternProperties": {
793
- ".": {
794
- "oneOf": [
795
- {
796
- "type": "null",
797
- "description": "If null is provided, no genes will be highlighted initially."
798
- },
799
- { "type": "string" }
800
- ]
801
- }
802
- }
803
- },
804
- "geneSelection": {
805
- "type": "object",
806
- "patternProperties": {
807
- ".": {
808
- "oneOf": [
809
- {
810
- "type": "null"
811
- },
812
- { "type": "array", "items": { "type": "string" } }
813
- ]
814
- }
815
- }
816
- },
817
- "geneExpressionTransform": {
818
- "type": "object",
819
- "patternProperties": {
820
- ".": {
821
- "oneOf": [
822
- {
823
- "type": "null"
824
- },
825
- { "type": "string", "pattern": "log1p" }
826
- ]
827
- }
828
- }
829
- },
830
- "geneExpressionColormap": {
831
- "type": "object",
832
- "patternProperties": {
833
- ".": { "type": "string" }
834
- }
835
- },
836
- "geneExpressionColormapRange": {
837
- "type": "object",
838
- "patternProperties": {
839
- ".": { "type": "array", "items": { "type": "number" } }
840
- }
841
- },
842
- "genomicZoomX": {
843
- "type": "object",
844
- "patternProperties": {
845
- ".": { "type": "number" }
846
- }
847
- },
848
- "genomicZoomY": {
849
- "type": "object",
850
- "patternProperties": {
851
- ".": { "type": "number" }
852
- }
853
- },
854
- "genomicTargetX": {
855
- "type": "object",
856
- "patternProperties": {
857
- ".": { "type": "number" }
858
- }
859
- },
860
- "genomicTargetY": {
861
- "type": "object",
862
- "patternProperties": {
863
- ".": { "type": "number" }
864
- }
865
- },
866
- "additionalCellSets": {
867
- "type": "object",
868
- "patternProperties": {
869
- ".": {
870
- "oneOf": [
871
- {
872
- "type": "null",
873
- "description": "If null is provided, no cell will be highlighted initially."
874
- },
875
- {
876
- "$ref": "https://github.com/vitessce/vitessce/#cell-sets"
877
- }
878
- ]
879
- }
880
- }
881
- },
882
- "moleculeHighlight": {
883
- "type": "object",
884
- "patternProperties": {
885
- ".": {
886
- "oneOf": [
887
- {
888
- "type": "null",
889
- "description": "If null is provided, no molecule will be highlighted initially."
890
- },
891
- { "type": "string" }
892
- ]
893
- }
894
- }
895
- }
896
- }
897
- },
898
- "layout": { "$ref": "#/definitions/components" },
899
- "initStrategy": {
900
- "type": "string",
901
- "enum": ["none", "auto"],
902
- "description": "The initialization strategy determines how missing coordination objects and coordination scope mappings are initially filled in."
903
- },
904
- "version": {
905
- "type": "string",
906
- "enum": ["1.0.2"],
907
- "description": "The schema version for the view config."
908
- }
909
- }
910
- }
911
-