@vitessce/all 3.6.3 → 3.6.5

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 CHANGED
@@ -1,4 +1,4 @@
1
- import { bL, bJ, bH, bK, bI, bG, bM } from "./index-CbSllawi.js";
1
+ import { bL, bJ, bH, bK, bI, bG, bM } from "./index-BdXLWi-Y.js";
2
2
  import { useComplexCoordination, useComplexCoordinationSecondary, useCoordination, useCoordinationScopes, useCoordinationScopesBy, useGridItemSize, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, usePageModeView } from "@vitessce/vit-s";
3
3
  export {
4
4
  bL as PluginAsyncFunction,
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-CbSllawi.js";
1
+ import { aP as BaseDecoder } from "./index-BdXLWi-Y.js";
2
2
  const dctZigZag = new Int32Array([
3
3
  0,
4
4
  1,
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-CbSllawi.js";
2
+ import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-BdXLWi-Y.js";
3
3
  var LercDecode = { exports: {} };
4
4
  var hasRequiredLercDecode;
5
5
  function requireLercDecode() {
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-CbSllawi.js";
1
+ import { aP as BaseDecoder } from "./index-BdXLWi-Y.js";
2
2
  const MIN_BITS = 9;
3
3
  const CLEAR_CODE = 256;
4
4
  const EOI_CODE = 257;
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-CbSllawi.js";
1
+ import { aP as BaseDecoder } from "./index-BdXLWi-Y.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-CbSllawi.js";
1
+ import { aP as BaseDecoder } from "./index-BdXLWi-Y.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { bA as MeshDistanceMaterial, bB as MeshDepthMaterial, bC as RGBADepthPacking, aB as UniformsUtils, bD as ShaderChunk, aw as InstancedBufferGeometry, av as Sphere, au as Box3, aH as BackSide, a9 as DoubleSide, ad as Mesh, as as FrontSide, aa as MeshBasicMaterial, i as Color, c as Vector3, k as Matrix4, d as Vector2, aJ as Matrix3, aD as Vector4, T as Texture, a1 as LinearFilter, bE as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bF as InstancedBufferAttribute } from "./index-CbSllawi.js";
1
+ import { bA as MeshDistanceMaterial, bB as MeshDepthMaterial, bC as RGBADepthPacking, aB as UniformsUtils, bD as ShaderChunk, aw as InstancedBufferGeometry, av as Sphere, au as Box3, aH as BackSide, a9 as DoubleSide, ad as Mesh, as as FrontSide, aa as MeshBasicMaterial, i as Color, c as Vector3, k as Matrix4, d as Vector2, aJ as Matrix3, aD as Vector4, T as Texture, a1 as LinearFilter, bE as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bF as InstancedBufferAttribute } from "./index-BdXLWi-Y.js";
2
2
  function workerBootstrap() {
3
3
  var modules = /* @__PURE__ */ Object.create(null);
4
4
  function registerModule(ref, callback) {
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-CbSllawi.js";
1
+ import { aP as BaseDecoder } from "./index-BdXLWi-Y.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
@@ -49,6 +49,13 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
49
49
  featureFilterPath?: string | undefined;
50
50
  initialFeatureFilterPath?: string | undefined;
51
51
  }>>;
52
+ obsFeatureColumns: z.ZodOptional<z.ZodArray<z.ZodObject<{
53
+ path: z.ZodString;
54
+ }, "strip", z.ZodTypeAny, {
55
+ path: string;
56
+ }, {
57
+ path: string;
58
+ }>, "many">>;
52
59
  obsSets: z.ZodOptional<z.ZodArray<z.ZodObject<{
53
60
  name: z.ZodString;
54
61
  path: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -146,6 +153,9 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
146
153
  featureFilterPath?: string | undefined;
147
154
  initialFeatureFilterPath?: string | undefined;
148
155
  } | undefined;
156
+ obsFeatureColumns?: {
157
+ path: string;
158
+ }[] | undefined;
149
159
  obsSets?: {
150
160
  path: (string | string[]) & (string | string[] | undefined);
151
161
  name: string;
@@ -195,6 +205,9 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
195
205
  featureFilterPath?: string | undefined;
196
206
  initialFeatureFilterPath?: string | undefined;
197
207
  } | undefined;
208
+ obsFeatureColumns?: {
209
+ path: string;
210
+ }[] | undefined;
198
211
  obsSets?: {
199
212
  path: (string | string[]) & (string | string[] | undefined);
200
213
  name: string;
@@ -250,6 +263,19 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
250
263
  tablePath?: string | undefined;
251
264
  coordinateSystem?: string | undefined;
252
265
  }>>;
266
+ shapes: z.ZodOptional<z.ZodObject<{
267
+ path: z.ZodString;
268
+ tablePath: z.ZodOptional<z.ZodString>;
269
+ coordinateSystem: z.ZodOptional<z.ZodString>;
270
+ }, "strip", z.ZodTypeAny, {
271
+ path: string;
272
+ tablePath?: string | undefined;
273
+ coordinateSystem?: string | undefined;
274
+ }, {
275
+ path: string;
276
+ tablePath?: string | undefined;
277
+ coordinateSystem?: string | undefined;
278
+ }>>;
253
279
  obsFeatureMatrix: z.ZodOptional<z.ZodObject<{
254
280
  path: z.ZodString;
255
281
  featureFilterPath: z.ZodOptional<z.ZodString>;
@@ -326,6 +352,11 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
326
352
  tablePath?: string | undefined;
327
353
  coordinateSystem?: string | undefined;
328
354
  } | undefined;
355
+ shapes?: {
356
+ path: string;
357
+ tablePath?: string | undefined;
358
+ coordinateSystem?: string | undefined;
359
+ } | undefined;
329
360
  obsFeatureMatrix?: {
330
361
  path: string;
331
362
  featureFilterPath?: string | undefined;
@@ -358,6 +389,11 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
358
389
  tablePath?: string | undefined;
359
390
  coordinateSystem?: string | undefined;
360
391
  } | undefined;
392
+ shapes?: {
393
+ path: string;
394
+ tablePath?: string | undefined;
395
+ coordinateSystem?: string | undefined;
396
+ } | undefined;
361
397
  obsFeatureMatrix?: {
362
398
  path: string;
363
399
  featureFilterPath?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"base-plugins.d.ts","sourceRoot":"","sources":["../src/base-plugins.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,CAAC,EAkDF,MAAM,mBAAmB,CAAC;AAuK3B,eAAO,MAAM,aAAa,kBA8BzB,CAAC;AAEF,eAAO,MAAM,aAAa,wDA2EzB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA6ErB,CAAC;gCAEW,CAAC;;;yBAGJ,CAAC;gCAEe,CAAC;;;;;;;;;iBAIuD,CAAC;;;;iBAEjD,CAAC;;;;;;;YAMgB,CAAC;;;YAC3D,CAAF;;;;;;;YAKiH,CAAC;;;YAEnF,CAAC;;;;;;;YAQ5B,CAAC;;;YAGD,CAAD;;;;;;;;;;;;;;YAQmF,CAAC;;;YAE1D,CAAC;;;;;;;;YAS1B,CAAH;;;;YAGkC,CAAC;;;;;;;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AC;cAEP,CAAF;eACgB,CAAC;;;;;;;;;;;;;;;;;;;aAgCd,CAAC;cAEF,CAAD;eAEU,CAAC;;;;;;;;;;;;;;;;;;;aAiB0B,CAAC;cACjB,CAAC;eAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kzBA4gB9D,CAAC;AAEF,eAAO,MAAM,kBAAkB,uBAK9B,CAAC"}
@@ -37,7 +37,7 @@ import {
37
37
  // OME
38
38
  OmeZarrLoader, OmeZarrAsObsSegmentationsLoader,
39
39
  // SpatialData
40
- SpatialDataTableSource, SpatialDataShapesSource, SpatialDataImageLoader, SpatialDataLabelsLoader, SpatialDataObsSpotsLoader, SpatialDataObsSetsLoader, } from '@vitessce/spatial-zarr';
40
+ SpatialDataTableSource, SpatialDataShapesSource, SpatialDataImageLoader, SpatialDataLabelsLoader, SpatialDataObsSpotsLoader, SpatialDataObsSegmentationsLoader, SpatialDataObsSetsLoader, } from '@vitessce/spatial-zarr';
41
41
  import { OmeTiffAsObsSegmentationsLoader, OmeTiffLoader, OmeTiffSource, } from '@vitessce/ome-tiff';
42
42
  import { GlbSource, GlbLoader, } from '@vitessce/glb';
43
43
  // Joint file types
@@ -144,11 +144,8 @@ export const baseFileTypes = [
144
144
  makeFileType(FileType.OBS_SEGMENTATIONS_OME_TIFF, DataType.OBS_SEGMENTATIONS, OmeTiffAsObsSegmentationsLoader, OmeTiffSource, obsSegmentationsOmeTiffSchema),
145
145
  // SpatialData file types
146
146
  makeFileType(FileType.IMAGE_SPATIALDATA_ZARR, DataType.IMAGE, SpatialDataImageLoader, ZarrDataSource, imageSpatialdataSchema),
147
- // TODO: create a new loader for labels that returns obsSegmentations with obsSegmentationsType: 'bitmask'
148
147
  makeFileType(FileType.LABELS_SPATIALDATA_ZARR, DataType.OBS_SEGMENTATIONS, SpatialDataLabelsLoader, ZarrDataSource, obsSegmentationsSpatialdataSchema),
149
- // TODO: create a new loader for shapes that returns obsSegmentations with obsSegmentationsType: 'polygon' (or switch this to 'shape' everywhere?)
150
- // TODO: create a new source for GeoPandas tables?
151
- makeFileType(FileType.SHAPES_SPATIALDATA_ZARR, DataType.OBS_SEGMENTATIONS, ObsSegmentationsAnndataLoader, SpatialDataShapesSource, obsSegmentationsSpatialdataSchema),
148
+ makeFileType(FileType.SHAPES_SPATIALDATA_ZARR, DataType.OBS_SEGMENTATIONS, SpatialDataObsSegmentationsLoader, SpatialDataShapesSource, obsSegmentationsSpatialdataSchema),
152
149
  makeFileType(FileType.OBS_SPOTS_SPATIALDATA_ZARR, DataType.OBS_SPOTS, SpatialDataObsSpotsLoader, SpatialDataShapesSource, obsSpotsSpatialdataSchema),
153
150
  makeFileType(FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR, DataType.OBS_FEATURE_MATRIX, ObsFeatureMatrixAnndataLoader, SpatialDataTableSource, obsFeatureMatrixSpatialdataSchema),
154
151
  makeFileType(FileType.OBS_SETS_SPATIALDATA_ZARR, DataType.OBS_SETS, SpatialDataObsSetsLoader, SpatialDataTableSource, obsSetsSpatialdataSchema),
@@ -175,6 +172,7 @@ export const baseJointFileTypes = [
175
172
  new PluginJointFileType(FileType.ANNDATA_ZARR_ZIP, expandAnndataZarr, anndataZarrSchema),
176
173
  new PluginJointFileType(FileType.ANNDATA_H5AD, expandAnndataZarr, anndataH5adSchema),
177
174
  new PluginJointFileType(FileType.SPATIALDATA_ZARR, expandSpatialdataZarr, spatialdataZarrSchema),
175
+ new PluginJointFileType(FileType.SPATIALDATA_ZARR_ZIP, expandSpatialdataZarr, spatialdataZarrSchema),
178
176
  // For legacy file types:
179
177
  new PluginJointFileType(FileType.ANNDATA_CELLS_ZARR, expandAnndataCellsZarr, anndataCellsZarrSchema),
180
178
  new PluginJointFileType(FileType.ANNDATA_CELL_SETS_ZARR, expandAnndataCellSetsZarr, anndataCellSetsZarrSchema),
@@ -1 +1 @@
1
- {"version":3,"file":"joint-file-types.d.ts","sourceRoot":"","sources":["../src/joint-file-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AA6B7D,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,SAqN7E;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC;;;;;;;;UAhP1E,MAAM;kBACE,GAAG;;;;;;;UADX,MAAM;kBACE,GAAG;;;;;;;UADX,MAAM;kBACE,GAAG;KA6UlB"}
1
+ {"version":3,"file":"joint-file-types.d.ts","sourceRoot":"","sources":["../src/joint-file-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AA6B7D,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,SAsO7E;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC;;;;;;;;UAjQ1E,MAAM;kBACE,GAAG;;;;;;;UADX,MAAM;kBACE,GAAG;;;;;;;UADX,MAAM;kBACE,GAAG;KA8WlB"}
@@ -55,6 +55,23 @@ export function expandAnndataZarr(fileDef) {
55
55
  featureValueType: baseFileDef.coordinationValues.featureValueType,
56
56
  },
57
57
  }] : []),
58
+ // obsFeatureColumns
59
+ ...(options.obsFeatureColumns ? [{
60
+ ...baseFileDef,
61
+ fileType: getFileType(FileType.OBS_FEATURE_COLUMNS_ANNDATA_ZARR),
62
+ options: {
63
+ ...sharedOptions,
64
+ obsFeatureColumns: options.obsFeatureColumns,
65
+ },
66
+ coordinationValues: {
67
+ ...extraCoordinationValues,
68
+ obsType: baseFileDef.coordinationValues.obsType,
69
+ // TODO: allow providing a featureType that is scoped to each `obsFeatureColumns` item
70
+ // (rather than always using the featureType from the file definition).
71
+ featureType: baseFileDef.coordinationValues.featureType,
72
+ featureValueType: baseFileDef.coordinationValues.featureValueType,
73
+ },
74
+ }] : []),
58
75
  // obsSets
59
76
  ...(options.obsSets ? [{
60
77
  ...baseFileDef,
@@ -225,6 +242,7 @@ export function expandAnndataZarr(fileDef) {
225
242
  ];
226
243
  }
227
244
  export function expandSpatialdataZarr(fileDef) {
245
+ const getFileType = createGetFileType(fileDef.fileType);
228
246
  const baseFileDef = {
229
247
  url: fileDef.url,
230
248
  requestInit: fileDef.requestInit,
@@ -248,7 +266,7 @@ export function expandSpatialdataZarr(fileDef) {
248
266
  // TODO: handle multiple obsFeatureMatrix?
249
267
  ...(options.obsFeatureMatrix ? [{
250
268
  ...baseFileDef,
251
- fileType: FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR,
269
+ fileType: getFileType(FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR),
252
270
  options: options.obsFeatureMatrix,
253
271
  coordinationValues: {
254
272
  ...extraCoordinationValues,
@@ -261,7 +279,7 @@ export function expandSpatialdataZarr(fileDef) {
261
279
  // TODO: handle multiple obsSets?
262
280
  ...(options.obsSets ? [{
263
281
  ...baseFileDef,
264
- fileType: FileType.OBS_SETS_SPATIALDATA_ZARR,
282
+ fileType: getFileType(FileType.OBS_SETS_SPATIALDATA_ZARR),
265
283
  options: options.obsSets,
266
284
  coordinationValues: {
267
285
  ...extraCoordinationValues,
@@ -272,7 +290,7 @@ export function expandSpatialdataZarr(fileDef) {
272
290
  // TODO: handle multiple obsSpots?
273
291
  ...(options.obsSpots ? [{
274
292
  ...baseFileDef,
275
- fileType: FileType.OBS_SPOTS_SPATIALDATA_ZARR,
293
+ fileType: getFileType(FileType.OBS_SPOTS_SPATIALDATA_ZARR),
276
294
  options: {
277
295
  coordinateSystem: defaultCoordinateSystem,
278
296
  ...options.obsSpots,
@@ -288,10 +306,10 @@ export function expandSpatialdataZarr(fileDef) {
288
306
  // TODO: featureLabels
289
307
  // TODO: obsEmbedding
290
308
  // image
291
- // TODO: handle multiple images
309
+ // TODO: handle multiple image elements?
292
310
  ...(options.image ? [{
293
311
  ...baseFileDef,
294
- fileType: FileType.IMAGE_SPATIALDATA_ZARR,
312
+ fileType: getFileType(FileType.IMAGE_SPATIALDATA_ZARR),
295
313
  options: {
296
314
  coordinateSystem: defaultCoordinateSystem,
297
315
  ...options.image,
@@ -306,7 +324,7 @@ export function expandSpatialdataZarr(fileDef) {
306
324
  // TODO: handle multiple labels?
307
325
  ...(options.labels ? [{
308
326
  ...baseFileDef,
309
- fileType: FileType.LABELS_SPATIALDATA_ZARR,
327
+ fileType: getFileType(FileType.LABELS_SPATIALDATA_ZARR),
310
328
  options: {
311
329
  coordinateSystem: defaultCoordinateSystem,
312
330
  ...options.labels,
@@ -317,5 +335,20 @@ export function expandSpatialdataZarr(fileDef) {
317
335
  // TODO: fileUid?
318
336
  },
319
337
  }] : []),
338
+ // shapes
339
+ // TODO: handle multiple shape elements?
340
+ ...(options.shapes ? [{
341
+ ...baseFileDef,
342
+ fileType: getFileType(FileType.SHAPES_SPATIALDATA_ZARR),
343
+ options: {
344
+ coordinateSystem: defaultCoordinateSystem,
345
+ ...options.shapes,
346
+ },
347
+ coordinationValues: {
348
+ ...extraCoordinationValues,
349
+ obsType: baseFileDef.coordinationValues.obsType,
350
+ // TODO: fileUid?
351
+ },
352
+ }] : []),
320
353
  ];
321
354
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/all",
3
- "version": "3.6.3",
3
+ "version": "3.6.5",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -17,36 +17,36 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "zod": "^3.21.4",
20
- "@vitessce/styles": "3.6.3",
21
- "@vitessce/constants-internal": "3.6.3",
22
- "@vitessce/abstract": "3.6.3",
23
- "@vitessce/csv": "3.6.3",
24
- "@vitessce/description": "3.6.3",
25
- "@vitessce/feature-list": "3.6.3",
26
- "@vitessce/genomic-profiles": "3.6.3",
27
- "@vitessce/heatmap": "3.6.3",
28
- "@vitessce/glb": "3.6.3",
29
- "@vitessce/json": "3.6.3",
30
- "@vitessce/layer-controller": "3.6.3",
31
- "@vitessce/layer-controller-beta": "3.6.3",
32
- "@vitessce/link-controller": "3.6.3",
33
- "@vitessce/obs-sets-manager": "3.6.3",
34
- "@vitessce/ome-tiff": "3.6.3",
35
- "@vitessce/plugins": "3.6.3",
36
- "@vitessce/scatterplot-embedding": "3.6.3",
37
- "@vitessce/scatterplot-gating": "3.6.3",
38
- "@vitessce/schemas": "3.6.3",
39
- "@vitessce/spatial": "3.6.3",
40
- "@vitessce/spatial-beta": "3.6.3",
41
- "@vitessce/statistical-plots": "3.6.3",
42
- "@vitessce/status": "3.6.3",
43
- "@vitessce/vit-s": "3.6.3",
44
- "@vitessce/zarr": "3.6.3",
45
- "@vitessce/globals": "3.6.3",
46
- "@vitessce/spatial-zarr": "3.6.3",
47
- "@vitessce/spatial-three": "3.6.3",
48
- "@vitessce/biomarker-select": "3.6.3",
49
- "@vitessce/neuroglancer": "3.6.3"
20
+ "@vitessce/styles": "3.6.5",
21
+ "@vitessce/constants-internal": "3.6.5",
22
+ "@vitessce/abstract": "3.6.5",
23
+ "@vitessce/csv": "3.6.5",
24
+ "@vitessce/description": "3.6.5",
25
+ "@vitessce/feature-list": "3.6.5",
26
+ "@vitessce/genomic-profiles": "3.6.5",
27
+ "@vitessce/heatmap": "3.6.5",
28
+ "@vitessce/glb": "3.6.5",
29
+ "@vitessce/json": "3.6.5",
30
+ "@vitessce/layer-controller": "3.6.5",
31
+ "@vitessce/layer-controller-beta": "3.6.5",
32
+ "@vitessce/link-controller": "3.6.5",
33
+ "@vitessce/obs-sets-manager": "3.6.5",
34
+ "@vitessce/ome-tiff": "3.6.5",
35
+ "@vitessce/plugins": "3.6.5",
36
+ "@vitessce/scatterplot-embedding": "3.6.5",
37
+ "@vitessce/scatterplot-gating": "3.6.5",
38
+ "@vitessce/schemas": "3.6.5",
39
+ "@vitessce/spatial": "3.6.5",
40
+ "@vitessce/spatial-beta": "3.6.5",
41
+ "@vitessce/statistical-plots": "3.6.5",
42
+ "@vitessce/status": "3.6.5",
43
+ "@vitessce/vit-s": "3.6.5",
44
+ "@vitessce/zarr": "3.6.5",
45
+ "@vitessce/globals": "3.6.5",
46
+ "@vitessce/spatial-zarr": "3.6.5",
47
+ "@vitessce/spatial-three": "3.6.5",
48
+ "@vitessce/biomarker-select": "3.6.5",
49
+ "@vitessce/neuroglancer": "3.6.5"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/react": "^18.0.28",
@@ -173,6 +173,7 @@ import {
173
173
  SpatialDataImageLoader,
174
174
  SpatialDataLabelsLoader,
175
175
  SpatialDataObsSpotsLoader,
176
+ SpatialDataObsSegmentationsLoader,
176
177
  SpatialDataObsSetsLoader,
177
178
  } from '@vitessce/spatial-zarr';
178
179
 
@@ -319,11 +320,8 @@ export const baseFileTypes = [
319
320
  makeFileType(FileType.OBS_SEGMENTATIONS_OME_TIFF, DataType.OBS_SEGMENTATIONS, OmeTiffAsObsSegmentationsLoader, OmeTiffSource, obsSegmentationsOmeTiffSchema),
320
321
  // SpatialData file types
321
322
  makeFileType(FileType.IMAGE_SPATIALDATA_ZARR, DataType.IMAGE, SpatialDataImageLoader, ZarrDataSource, imageSpatialdataSchema),
322
- // TODO: create a new loader for labels that returns obsSegmentations with obsSegmentationsType: 'bitmask'
323
323
  makeFileType(FileType.LABELS_SPATIALDATA_ZARR, DataType.OBS_SEGMENTATIONS, SpatialDataLabelsLoader, ZarrDataSource, obsSegmentationsSpatialdataSchema),
324
- // TODO: create a new loader for shapes that returns obsSegmentations with obsSegmentationsType: 'polygon' (or switch this to 'shape' everywhere?)
325
- // TODO: create a new source for GeoPandas tables?
326
- makeFileType(FileType.SHAPES_SPATIALDATA_ZARR, DataType.OBS_SEGMENTATIONS, ObsSegmentationsAnndataLoader, SpatialDataShapesSource, obsSegmentationsSpatialdataSchema),
324
+ makeFileType(FileType.SHAPES_SPATIALDATA_ZARR, DataType.OBS_SEGMENTATIONS, SpatialDataObsSegmentationsLoader, SpatialDataShapesSource, obsSegmentationsSpatialdataSchema),
327
325
  makeFileType(FileType.OBS_SPOTS_SPATIALDATA_ZARR, DataType.OBS_SPOTS, SpatialDataObsSpotsLoader, SpatialDataShapesSource, obsSpotsSpatialdataSchema),
328
326
  makeFileType(FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR, DataType.OBS_FEATURE_MATRIX, ObsFeatureMatrixAnndataLoader, SpatialDataTableSource, obsFeatureMatrixSpatialdataSchema),
329
327
  makeFileType(FileType.OBS_SETS_SPATIALDATA_ZARR, DataType.OBS_SETS, SpatialDataObsSetsLoader, SpatialDataTableSource, obsSetsSpatialdataSchema),
@@ -352,6 +350,7 @@ export const baseJointFileTypes = [
352
350
  new PluginJointFileType(FileType.ANNDATA_ZARR_ZIP, expandAnndataZarr, anndataZarrSchema),
353
351
  new PluginJointFileType(FileType.ANNDATA_H5AD, expandAnndataZarr, anndataH5adSchema),
354
352
  new PluginJointFileType(FileType.SPATIALDATA_ZARR, expandSpatialdataZarr, spatialdataZarrSchema),
353
+ new PluginJointFileType(FileType.SPATIALDATA_ZARR_ZIP, expandSpatialdataZarr, spatialdataZarrSchema),
355
354
  // For legacy file types:
356
355
  new PluginJointFileType(FileType.ANNDATA_CELLS_ZARR, expandAnndataCellsZarr, anndataCellsZarrSchema),
357
356
  new PluginJointFileType(FileType.ANNDATA_CELL_SETS_ZARR, expandAnndataCellSetsZarr, anndataCellSetsZarrSchema),
@@ -67,6 +67,23 @@ export function expandAnndataZarr(fileDef: z.infer<typeof latestFileDefSchema>)
67
67
  featureValueType: baseFileDef.coordinationValues.featureValueType,
68
68
  },
69
69
  }] : []),
70
+ // obsFeatureColumns
71
+ ...(options.obsFeatureColumns ? [{
72
+ ...baseFileDef,
73
+ fileType: getFileType(FileType.OBS_FEATURE_COLUMNS_ANNDATA_ZARR),
74
+ options: {
75
+ ...sharedOptions,
76
+ obsFeatureColumns: options.obsFeatureColumns,
77
+ },
78
+ coordinationValues: {
79
+ ...extraCoordinationValues,
80
+ obsType: baseFileDef.coordinationValues.obsType,
81
+ // TODO: allow providing a featureType that is scoped to each `obsFeatureColumns` item
82
+ // (rather than always using the featureType from the file definition).
83
+ featureType: baseFileDef.coordinationValues.featureType,
84
+ featureValueType: baseFileDef.coordinationValues.featureValueType,
85
+ },
86
+ }] : []),
70
87
  // obsSets
71
88
  ...(options.obsSets ? [{
72
89
  ...baseFileDef,
@@ -244,6 +261,7 @@ export function expandAnndataZarr(fileDef: z.infer<typeof latestFileDefSchema>)
244
261
  }
245
262
 
246
263
  export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchema>) {
264
+ const getFileType = createGetFileType(fileDef.fileType);
247
265
  const baseFileDef: BaseFileDef = {
248
266
  url: fileDef.url,
249
267
  requestInit: fileDef.requestInit,
@@ -267,7 +285,7 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
267
285
  // TODO: handle multiple obsFeatureMatrix?
268
286
  ...(options.obsFeatureMatrix ? [{
269
287
  ...baseFileDef,
270
- fileType: FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR,
288
+ fileType: getFileType(FileType.OBS_FEATURE_MATRIX_SPATIALDATA_ZARR),
271
289
  options: options.obsFeatureMatrix,
272
290
  coordinationValues: {
273
291
  ...extraCoordinationValues,
@@ -280,7 +298,7 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
280
298
  // TODO: handle multiple obsSets?
281
299
  ...(options.obsSets ? [{
282
300
  ...baseFileDef,
283
- fileType: FileType.OBS_SETS_SPATIALDATA_ZARR,
301
+ fileType: getFileType(FileType.OBS_SETS_SPATIALDATA_ZARR),
284
302
  options: options.obsSets,
285
303
  coordinationValues: {
286
304
  ...extraCoordinationValues,
@@ -291,7 +309,7 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
291
309
  // TODO: handle multiple obsSpots?
292
310
  ...(options.obsSpots ? [{
293
311
  ...baseFileDef,
294
- fileType: FileType.OBS_SPOTS_SPATIALDATA_ZARR,
312
+ fileType: getFileType(FileType.OBS_SPOTS_SPATIALDATA_ZARR),
295
313
  options: {
296
314
  coordinateSystem: defaultCoordinateSystem,
297
315
  ...options.obsSpots,
@@ -307,10 +325,10 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
307
325
  // TODO: featureLabels
308
326
  // TODO: obsEmbedding
309
327
  // image
310
- // TODO: handle multiple images
328
+ // TODO: handle multiple image elements?
311
329
  ...(options.image ? [{
312
330
  ...baseFileDef,
313
- fileType: FileType.IMAGE_SPATIALDATA_ZARR,
331
+ fileType: getFileType(FileType.IMAGE_SPATIALDATA_ZARR),
314
332
  options: {
315
333
  coordinateSystem: defaultCoordinateSystem,
316
334
  ...options.image,
@@ -325,7 +343,7 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
325
343
  // TODO: handle multiple labels?
326
344
  ...(options.labels ? [{
327
345
  ...baseFileDef,
328
- fileType: FileType.LABELS_SPATIALDATA_ZARR,
346
+ fileType: getFileType(FileType.LABELS_SPATIALDATA_ZARR),
329
347
  options: {
330
348
  coordinateSystem: defaultCoordinateSystem,
331
349
  ...options.labels,
@@ -336,5 +354,20 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
336
354
  // TODO: fileUid?
337
355
  },
338
356
  }] : []),
357
+ // shapes
358
+ // TODO: handle multiple shape elements?
359
+ ...(options.shapes ? [{
360
+ ...baseFileDef,
361
+ fileType: getFileType(FileType.SHAPES_SPATIALDATA_ZARR),
362
+ options: {
363
+ coordinateSystem: defaultCoordinateSystem,
364
+ ...options.shapes,
365
+ },
366
+ coordinationValues: {
367
+ ...extraCoordinationValues,
368
+ obsType: baseFileDef.coordinationValues.obsType,
369
+ // TODO: fileUid?
370
+ },
371
+ }] : []),
339
372
  ];
340
373
  }