@vitessce/vit-s 2.0.2 → 2.0.3

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