@vitessce/all 3.8.10 → 3.9.0

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.
@@ -253,7 +253,15 @@ export const baseCoordinationTypes = [
253
253
  path: obsSetPath,
254
254
  color: rgbArray,
255
255
  })).nullable()),
256
- new PluginCoordinationType(CoordinationType.OBS_COLOR_ENCODING, 'cellSetSelection', z.enum(['geneSelection', 'cellSetSelection', 'spatialChannelColor', 'spatialLayerColor', 'obsLabels'])),
256
+ new PluginCoordinationType(CoordinationType.FEATURE_COLOR, null, z.array(z.object({
257
+ name: z.string(),
258
+ color: rgbArray,
259
+ })).nullable()),
260
+ new PluginCoordinationType(CoordinationType.OBS_COLOR_ENCODING, 'cellSetSelection', z.enum([
261
+ 'geneSelection', 'cellSetSelection', 'spatialChannelColor', 'spatialLayerColor', 'obsLabels',
262
+ // For point coloring.
263
+ 'random', 'randomByFeature',
264
+ ])),
257
265
  new PluginCoordinationType(CoordinationType.FEATURE_FILTER, null, z.array(z.string()).nullable()),
258
266
  new PluginCoordinationType(CoordinationType.FEATURE_HIGHLIGHT, null, z.string().nullable()),
259
267
  new PluginCoordinationType(CoordinationType.FEATURE_SELECTION, null, z.array(z.string()).nullable()),
@@ -267,7 +275,7 @@ export const baseCoordinationTypes = [
267
275
  new PluginCoordinationType(CoordinationType.FEATURE_SET_SELECTION, null, z.array(obsSetPath).nullable()),
268
276
  new PluginCoordinationType(CoordinationType.FEATURE_SELECTION_MODE, null, z.enum(['featureSelection', 'featureSetSelection']).nullable()),
269
277
  new PluginCoordinationType(CoordinationType.FEATURE_SET_FILTER, null, z.array(obsSetPath).nullable()),
270
- new PluginCoordinationType(CoordinationType.FEATURE_FILTER_MODE, null, z.enum(['featureFilter', 'featureSetFilter']).nullable()),
278
+ new PluginCoordinationType(CoordinationType.FEATURE_FILTER_MODE, null, z.enum(['featureFilter', 'featureSetFilter', 'featureSelection']).nullable()),
271
279
  new PluginCoordinationType(CoordinationType.FEATURE_VALUE_TRANSFORM, null, z.enum(['log1p', 'arcsinh']).nullable()),
272
280
  new PluginCoordinationType(CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT, 1, z.number()),
273
281
  new PluginCoordinationType(CoordinationType.FEATURE_VALUE_POSITIVITY_THRESHOLD, 0, z.number()),
@@ -301,6 +309,7 @@ export const baseCoordinationTypes = [
301
309
  new PluginCoordinationType(CoordinationType.SPATIAL_CHANNEL_COLOR, [255, 255, 255], z.array(z.number()).length(3).nullable()),
302
310
  new PluginCoordinationType(CoordinationType.SPATIAL_SEGMENTATION_FILLED, true, z.boolean()),
303
311
  new PluginCoordinationType(CoordinationType.SPATIAL_SEGMENTATION_STROKE_WIDTH, 1.0, z.number()),
312
+ new PluginCoordinationType(CoordinationType.SPATIAL_LOD_FACTOR, 1.0, z.number()),
304
313
  // Reference: https://www.awaresystems.be/imaging/tiff/tifftags/photometricinterpretation.html
305
314
  new PluginCoordinationType(CoordinationType.PHOTOMETRIC_INTERPRETATION, null, z.enum(['BlackIsZero', 'RGB']).nullable()),
306
315
  new PluginCoordinationType(CoordinationType.SPATIAL_RENDERING_MODE, '2D', z.enum(['2D', '3D']).nullable()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/all",
3
- "version": "3.8.10",
3
+ "version": "3.9.0",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -17,38 +17,38 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "zod": "^3.21.4",
20
- "@vitessce/styles": "3.8.10",
21
- "@vitessce/constants-internal": "3.8.10",
22
- "@vitessce/abstract": "3.8.10",
23
- "@vitessce/error": "3.8.10",
24
- "@vitessce/csv": "3.8.10",
25
- "@vitessce/description": "3.8.10",
26
- "@vitessce/feature-list": "3.8.10",
27
- "@vitessce/genomic-profiles": "3.8.10",
28
- "@vitessce/heatmap": "3.8.10",
29
- "@vitessce/glb": "3.8.10",
30
- "@vitessce/json": "3.8.10",
31
- "@vitessce/layer-controller": "3.8.10",
32
- "@vitessce/layer-controller-beta": "3.8.10",
33
- "@vitessce/link-controller": "3.8.10",
34
- "@vitessce/obs-sets-manager": "3.8.10",
35
- "@vitessce/ome-tiff": "3.8.10",
36
- "@vitessce/plugins": "3.8.10",
37
- "@vitessce/scatterplot-embedding": "3.8.10",
38
- "@vitessce/scatterplot-gating": "3.8.10",
39
- "@vitessce/schemas": "3.8.10",
40
- "@vitessce/spatial": "3.8.10",
41
- "@vitessce/spatial-beta": "3.8.10",
42
- "@vitessce/statistical-plots": "3.8.10",
43
- "@vitessce/status": "3.8.10",
44
- "@vitessce/vit-s": "3.8.10",
45
- "@vitessce/zarr": "3.8.10",
46
- "@vitessce/globals": "3.8.10",
47
- "@vitessce/spatial-zarr": "3.8.10",
48
- "@vitessce/spatial-three": "3.8.10",
49
- "@vitessce/spatial-accelerated": "3.8.10",
50
- "@vitessce/biomarker-select": "3.8.10",
51
- "@vitessce/neuroglancer": "3.8.10"
20
+ "@vitessce/styles": "3.9.0",
21
+ "@vitessce/abstract": "3.9.0",
22
+ "@vitessce/constants-internal": "3.9.0",
23
+ "@vitessce/csv": "3.9.0",
24
+ "@vitessce/error": "3.9.0",
25
+ "@vitessce/description": "3.9.0",
26
+ "@vitessce/feature-list": "3.9.0",
27
+ "@vitessce/genomic-profiles": "3.9.0",
28
+ "@vitessce/glb": "3.9.0",
29
+ "@vitessce/json": "3.9.0",
30
+ "@vitessce/heatmap": "3.9.0",
31
+ "@vitessce/link-controller": "3.9.0",
32
+ "@vitessce/layer-controller": "3.9.0",
33
+ "@vitessce/layer-controller-beta": "3.9.0",
34
+ "@vitessce/obs-sets-manager": "3.9.0",
35
+ "@vitessce/ome-tiff": "3.9.0",
36
+ "@vitessce/scatterplot-gating": "3.9.0",
37
+ "@vitessce/scatterplot-embedding": "3.9.0",
38
+ "@vitessce/schemas": "3.9.0",
39
+ "@vitessce/spatial": "3.9.0",
40
+ "@vitessce/spatial-beta": "3.9.0",
41
+ "@vitessce/statistical-plots": "3.9.0",
42
+ "@vitessce/status": "3.9.0",
43
+ "@vitessce/zarr": "3.9.0",
44
+ "@vitessce/vit-s": "3.9.0",
45
+ "@vitessce/globals": "3.9.0",
46
+ "@vitessce/spatial-zarr": "3.9.0",
47
+ "@vitessce/plugins": "3.9.0",
48
+ "@vitessce/spatial-three": "3.9.0",
49
+ "@vitessce/spatial-accelerated": "3.9.0",
50
+ "@vitessce/biomarker-select": "3.9.0",
51
+ "@vitessce/neuroglancer": "3.9.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/react": "^18.0.28",
@@ -480,10 +480,22 @@ export const baseCoordinationTypes = [
480
480
  color: rgbArray,
481
481
  })).nullable(),
482
482
  ),
483
+ new PluginCoordinationType(
484
+ CoordinationType.FEATURE_COLOR,
485
+ null,
486
+ z.array(z.object({
487
+ name: z.string(),
488
+ color: rgbArray,
489
+ })).nullable(),
490
+ ),
483
491
  new PluginCoordinationType(
484
492
  CoordinationType.OBS_COLOR_ENCODING,
485
493
  'cellSetSelection',
486
- z.enum(['geneSelection', 'cellSetSelection', 'spatialChannelColor', 'spatialLayerColor', 'obsLabels']),
494
+ z.enum([
495
+ 'geneSelection', 'cellSetSelection', 'spatialChannelColor', 'spatialLayerColor', 'obsLabels',
496
+ // For point coloring.
497
+ 'random', 'randomByFeature',
498
+ ]),
487
499
  ),
488
500
  new PluginCoordinationType(CoordinationType.FEATURE_FILTER, null, z.array(z.string()).nullable()),
489
501
  new PluginCoordinationType(CoordinationType.FEATURE_HIGHLIGHT, null, z.string().nullable()),
@@ -510,7 +522,7 @@ export const baseCoordinationTypes = [
510
522
  null,
511
523
  z.array(obsSetPath).nullable(),
512
524
  ),
513
- new PluginCoordinationType(CoordinationType.FEATURE_FILTER_MODE, null, z.enum(['featureFilter', 'featureSetFilter']).nullable()),
525
+ new PluginCoordinationType(CoordinationType.FEATURE_FILTER_MODE, null, z.enum(['featureFilter', 'featureSetFilter', 'featureSelection']).nullable()),
514
526
  new PluginCoordinationType(
515
527
  CoordinationType.FEATURE_VALUE_TRANSFORM,
516
528
  null,
@@ -576,6 +588,7 @@ export const baseCoordinationTypes = [
576
588
  new PluginCoordinationType(CoordinationType.SPATIAL_CHANNEL_COLOR, [255, 255, 255], z.array(z.number()).length(3).nullable()),
577
589
  new PluginCoordinationType(CoordinationType.SPATIAL_SEGMENTATION_FILLED, true, z.boolean()),
578
590
  new PluginCoordinationType(CoordinationType.SPATIAL_SEGMENTATION_STROKE_WIDTH, 1.0, z.number()),
591
+ new PluginCoordinationType(CoordinationType.SPATIAL_LOD_FACTOR, 1.0, z.number()),
579
592
  // Reference: https://www.awaresystems.be/imaging/tiff/tifftags/photometricinterpretation.html
580
593
  new PluginCoordinationType(CoordinationType.PHOTOMETRIC_INTERPRETATION, null, z.enum(['BlackIsZero', 'RGB']).nullable()),
581
594
  new PluginCoordinationType(CoordinationType.SPATIAL_RENDERING_MODE, '2D', z.enum(['2D', '3D']).nullable()),