@vitessce/all 3.6.4 → 3.6.6
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/{ReactNeuroglancer-Cdyy6KYr.js → ReactNeuroglancer-CRsoM-3K.js} +1 -1
- package/dist/{deflate-BSP3an_k.js → deflate-DJ9B6brl.js} +1 -1
- package/dist/{higlass-Cm-4roQO.js → higlass-5knyvxVO.js} +86946 -101122
- package/dist/{index-KG6yVDeM.js → index-DYlK7EWv.js} +4825 -9000
- package/dist/{index-Sx2LvLG6.js → index-pdSpwbGV.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{jpeg-Bh1wXUXT.js → jpeg-DyRJl_kr.js} +1 -1
- package/dist/{lerc-1WB3uddx.js → lerc-CrZZtbeg.js} +1 -1
- package/dist/{lzw-Ct4BzFEq.js → lzw-BUi4QaSY.js} +1 -1
- package/dist/{packbits-BAF4ayoO.js → packbits-CF7Rjdcd.js} +1 -1
- package/dist/{raw-CoeHW2Mx.js → raw-BXkfQzOV.js} +1 -1
- package/dist/{troika-three-text.esm-C7mJ9tlO.js → troika-three-text.esm-CfbCff4s.js} +1 -1
- package/dist/{webimage-BxxoMAns.js → webimage-BUJ4i07y.js} +1 -1
- package/dist-tsc/base-plugins.d.ts +23 -0
- package/dist-tsc/base-plugins.d.ts.map +1 -1
- package/dist-tsc/base-plugins.js +2 -5
- package/dist-tsc/joint-file-types.d.ts.map +1 -1
- package/dist-tsc/joint-file-types.js +16 -1
- package/package.json +31 -31
- package/src/base-plugins.ts +2 -4
- package/src/joint-file-types.ts +16 -1
- package/dist/browser-CwsEWr7C.js +0 -784
- package/dist/gzip-BcpOCWcu.js +0 -27
- package/dist/zlib-ZTk3sZPP.js +0 -27
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, V as VSMShadowMap, b as PCFShadowMap, B as BasicShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, c as Vector3, d as Vector2, C as Clock, W as WebGLRenderer, e as Camera, f as BufferGeometry, M as Material, L as Layers, T as Texture, h as RGBAFormat, U as UnsignedByteType, i as Color, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, E as EventDispatcher, p as MOUSE, q as TOUCH, r as Spherical, Q as Quaternion, s as Ray$1, t as Plane, u as Loader, v as LoaderUtils, F as FileLoader, w as MeshPhysicalMaterial, x as SpotLight, y as PointLight, D as DirectionalLight, I as InstancedMesh, z as Object3D, H as TextureLoader, J as ImageBitmapLoader, K as BufferAttribute, X as InterleavedBuffer, Y as LinearMipmapLinearFilter, Z as NearestMipmapLinearFilter, $ as LinearMipmapNearestFilter, a0 as NearestMipmapNearestFilter, a1 as LinearFilter, a2 as NearestFilter, a3 as RepeatWrapping, a4 as MirroredRepeatWrapping, a5 as ClampToEdgeWrapping, a6 as PointsMaterial, a7 as LineBasicMaterial, a8 as MeshStandardMaterial, a9 as DoubleSide, aa as MeshBasicMaterial, ab as PropertyBinding, ac as SkinnedMesh, ad as Mesh, ae as LineSegments, af as Line$1, ag as LineLoop, ah as Points, ai as MathUtils, aj as Skeleton, ak as InterpolateDiscrete, al as InterpolateLinear, am as AnimationClip, an as Bone, ao as InterleavedBufferAttribute, ap as VectorKeyframeTrack, aq as QuaternionKeyframeTrack, ar as NumberKeyframeTrack, as as FrontSide, at as Interpolant, au as Box3, av as Sphere, aw as InstancedBufferGeometry, ax as Float32BufferAttribute, ay as InstancedInterleavedBuffer, az as WireframeGeometry, aA as ShaderMaterial, aB as UniformsUtils, aC as UniformsLib, aD as Vector4, aE as Line3, aF as SphereGeometry, aG as Triangle, aH as BackSide, aI as jsxRuntimeExports, aJ as Matrix3, aK as CoordinationType, aL as Data3DTexture, aM as RedFormat, aN as FloatType, aO as getImageSize } from "./index-
|
1
|
+
import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, V as VSMShadowMap, b as PCFShadowMap, B as BasicShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, c as Vector3, d as Vector2, C as Clock, W as WebGLRenderer, e as Camera, f as BufferGeometry, M as Material, L as Layers, T as Texture, h as RGBAFormat, U as UnsignedByteType, i as Color, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, E as EventDispatcher, p as MOUSE, q as TOUCH, r as Spherical, Q as Quaternion, s as Ray$1, t as Plane, u as Loader, v as LoaderUtils, F as FileLoader, w as MeshPhysicalMaterial, x as SpotLight, y as PointLight, D as DirectionalLight, I as InstancedMesh, z as Object3D, H as TextureLoader, J as ImageBitmapLoader, K as BufferAttribute, X as InterleavedBuffer, Y as LinearMipmapLinearFilter, Z as NearestMipmapLinearFilter, $ as LinearMipmapNearestFilter, a0 as NearestMipmapNearestFilter, a1 as LinearFilter, a2 as NearestFilter, a3 as RepeatWrapping, a4 as MirroredRepeatWrapping, a5 as ClampToEdgeWrapping, a6 as PointsMaterial, a7 as LineBasicMaterial, a8 as MeshStandardMaterial, a9 as DoubleSide, aa as MeshBasicMaterial, ab as PropertyBinding, ac as SkinnedMesh, ad as Mesh, ae as LineSegments, af as Line$1, ag as LineLoop, ah as Points, ai as MathUtils, aj as Skeleton, ak as InterpolateDiscrete, al as InterpolateLinear, am as AnimationClip, an as Bone, ao as InterleavedBufferAttribute, ap as VectorKeyframeTrack, aq as QuaternionKeyframeTrack, ar as NumberKeyframeTrack, as as FrontSide, at as Interpolant, au as Box3, av as Sphere, aw as InstancedBufferGeometry, ax as Float32BufferAttribute, ay as InstancedInterleavedBuffer, az as WireframeGeometry, aA as ShaderMaterial, aB as UniformsUtils, aC as UniformsLib, aD as Vector4, aE as Line3, aF as SphereGeometry, aG as Triangle, aH as BackSide, aI as jsxRuntimeExports, aJ as Matrix3, aK as CoordinationType, aL as Data3DTexture, aM as RedFormat, aN as FloatType, aO as getImageSize } from "./index-DYlK7EWv.js";
|
2
2
|
import * as React from "react";
|
3
3
|
import React__default, { useReducer, useRef, useEffect, useLayoutEffect, useDebugValue, useState, useMemo, forwardRef } from "react";
|
4
4
|
var constants = { exports: {} };
|
@@ -23637,7 +23637,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
|
|
23637
23637
|
const {
|
23638
23638
|
Text: TextMeshImpl,
|
23639
23639
|
preloadFont
|
23640
|
-
} = suspend(async () => import("./troika-three-text.esm-
|
23640
|
+
} = suspend(async () => import("./troika-three-text.esm-CfbCff4s.js"), []);
|
23641
23641
|
const invalidate2 = useThree(({
|
23642
23642
|
invalidate: invalidate3
|
23643
23643
|
}) => invalidate3);
|
package/dist/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { bL, bJ, bH, bK, bI, bG, bM } from "./index-
|
1
|
+
import { bL, bJ, bH, bK, bI, bG, bM } from "./index-DYlK7EWv.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,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-
|
2
|
+
import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-DYlK7EWv.js";
|
3
3
|
var LercDecode = { exports: {} };
|
4
4
|
var hasRequiredLercDecode;
|
5
5
|
function requireLercDecode() {
|
@@ -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-
|
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-DYlK7EWv.js";
|
2
2
|
function workerBootstrap() {
|
3
3
|
var modules = /* @__PURE__ */ Object.create(null);
|
4
4
|
function registerModule(ref, callback) {
|
@@ -263,6 +263,19 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
|
|
263
263
|
tablePath?: string | undefined;
|
264
264
|
coordinateSystem?: string | undefined;
|
265
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
|
+
}>>;
|
266
279
|
obsFeatureMatrix: z.ZodOptional<z.ZodObject<{
|
267
280
|
path: z.ZodString;
|
268
281
|
featureFilterPath: z.ZodOptional<z.ZodString>;
|
@@ -339,6 +352,11 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
|
|
339
352
|
tablePath?: string | undefined;
|
340
353
|
coordinateSystem?: string | undefined;
|
341
354
|
} | undefined;
|
355
|
+
shapes?: {
|
356
|
+
path: string;
|
357
|
+
tablePath?: string | undefined;
|
358
|
+
coordinateSystem?: string | undefined;
|
359
|
+
} | undefined;
|
342
360
|
obsFeatureMatrix?: {
|
343
361
|
path: string;
|
344
362
|
featureFilterPath?: string | undefined;
|
@@ -371,6 +389,11 @@ export declare const baseJointFileTypes: (PluginJointFileType<z.ZodObject<{
|
|
371
389
|
tablePath?: string | undefined;
|
372
390
|
coordinateSystem?: string | undefined;
|
373
391
|
} | undefined;
|
392
|
+
shapes?: {
|
393
|
+
path: string;
|
394
|
+
tablePath?: string | undefined;
|
395
|
+
coordinateSystem?: string | undefined;
|
396
|
+
} | undefined;
|
374
397
|
obsFeatureMatrix?: {
|
375
398
|
path: string;
|
376
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;
|
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,CA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ACgB,CAAC;;;;;;;;;;;;;;;;;;;aAgCd,CAAC;cAEF,CAAD;eAEU,CAAC;;;;;;;;;;;;;;;;;;;aAiB0B,CAAC;cACjB,CAAC;eAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kzBA4gB9D,CAAC;AAEF,eAAO,MAAM,kBAAkB,uBAK9B,CAAC"}
|
package/dist-tsc/base-plugins.js
CHANGED
@@ -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
|
-
|
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),
|
@@ -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,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;
|
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"}
|
@@ -306,7 +306,7 @@ export function expandSpatialdataZarr(fileDef) {
|
|
306
306
|
// TODO: featureLabels
|
307
307
|
// TODO: obsEmbedding
|
308
308
|
// image
|
309
|
-
// TODO: handle multiple
|
309
|
+
// TODO: handle multiple image elements?
|
310
310
|
...(options.image ? [{
|
311
311
|
...baseFileDef,
|
312
312
|
fileType: getFileType(FileType.IMAGE_SPATIALDATA_ZARR),
|
@@ -335,5 +335,20 @@ export function expandSpatialdataZarr(fileDef) {
|
|
335
335
|
// TODO: fileUid?
|
336
336
|
},
|
337
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
|
+
}] : []),
|
338
353
|
];
|
339
354
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vitessce/all",
|
3
|
-
"version": "3.6.
|
3
|
+
"version": "3.6.6",
|
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.
|
21
|
-
"@vitessce/constants-internal": "3.6.
|
22
|
-
"@vitessce/abstract": "3.6.
|
23
|
-
"@vitessce/csv": "3.6.
|
24
|
-
"@vitessce/description": "3.6.
|
25
|
-
"@vitessce/feature-list": "3.6.
|
26
|
-
"@vitessce/genomic-profiles": "3.6.
|
27
|
-
"@vitessce/heatmap": "3.6.
|
28
|
-
"@vitessce/glb": "3.6.
|
29
|
-
"@vitessce/json": "3.6.
|
30
|
-
"@vitessce/layer-controller": "3.6.
|
31
|
-
"@vitessce/layer-controller-beta": "3.6.
|
32
|
-
"@vitessce/link-controller": "3.6.
|
33
|
-
"@vitessce/obs-sets-manager": "3.6.
|
34
|
-
"@vitessce/ome-tiff": "3.6.
|
35
|
-
"@vitessce/plugins": "3.6.
|
36
|
-
"@vitessce/scatterplot-embedding": "3.6.
|
37
|
-
"@vitessce/scatterplot-gating": "3.6.
|
38
|
-
"@vitessce/schemas": "3.6.
|
39
|
-
"@vitessce/spatial": "3.6.
|
40
|
-
"@vitessce/spatial-beta": "3.6.
|
41
|
-
"@vitessce/statistical-plots": "3.6.
|
42
|
-
"@vitessce/status": "3.6.
|
43
|
-
"@vitessce/vit-s": "3.6.
|
44
|
-
"@vitessce/zarr": "3.6.
|
45
|
-
"@vitessce/globals": "3.6.
|
46
|
-
"@vitessce/spatial-zarr": "3.6.
|
47
|
-
"@vitessce/spatial-three": "3.6.
|
48
|
-
"@vitessce/biomarker-select": "3.6.
|
49
|
-
"@vitessce/neuroglancer": "3.6.
|
20
|
+
"@vitessce/styles": "3.6.6",
|
21
|
+
"@vitessce/constants-internal": "3.6.6",
|
22
|
+
"@vitessce/abstract": "3.6.6",
|
23
|
+
"@vitessce/csv": "3.6.6",
|
24
|
+
"@vitessce/description": "3.6.6",
|
25
|
+
"@vitessce/feature-list": "3.6.6",
|
26
|
+
"@vitessce/genomic-profiles": "3.6.6",
|
27
|
+
"@vitessce/heatmap": "3.6.6",
|
28
|
+
"@vitessce/glb": "3.6.6",
|
29
|
+
"@vitessce/json": "3.6.6",
|
30
|
+
"@vitessce/layer-controller": "3.6.6",
|
31
|
+
"@vitessce/layer-controller-beta": "3.6.6",
|
32
|
+
"@vitessce/link-controller": "3.6.6",
|
33
|
+
"@vitessce/obs-sets-manager": "3.6.6",
|
34
|
+
"@vitessce/ome-tiff": "3.6.6",
|
35
|
+
"@vitessce/plugins": "3.6.6",
|
36
|
+
"@vitessce/scatterplot-embedding": "3.6.6",
|
37
|
+
"@vitessce/scatterplot-gating": "3.6.6",
|
38
|
+
"@vitessce/schemas": "3.6.6",
|
39
|
+
"@vitessce/spatial": "3.6.6",
|
40
|
+
"@vitessce/spatial-beta": "3.6.6",
|
41
|
+
"@vitessce/statistical-plots": "3.6.6",
|
42
|
+
"@vitessce/status": "3.6.6",
|
43
|
+
"@vitessce/vit-s": "3.6.6",
|
44
|
+
"@vitessce/zarr": "3.6.6",
|
45
|
+
"@vitessce/globals": "3.6.6",
|
46
|
+
"@vitessce/spatial-zarr": "3.6.6",
|
47
|
+
"@vitessce/spatial-three": "3.6.6",
|
48
|
+
"@vitessce/biomarker-select": "3.6.6",
|
49
|
+
"@vitessce/neuroglancer": "3.6.6"
|
50
50
|
},
|
51
51
|
"devDependencies": {
|
52
52
|
"@types/react": "^18.0.28",
|
package/src/base-plugins.ts
CHANGED
@@ -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
|
-
|
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),
|
package/src/joint-file-types.ts
CHANGED
@@ -325,7 +325,7 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
|
|
325
325
|
// TODO: featureLabels
|
326
326
|
// TODO: obsEmbedding
|
327
327
|
// image
|
328
|
-
// TODO: handle multiple
|
328
|
+
// TODO: handle multiple image elements?
|
329
329
|
...(options.image ? [{
|
330
330
|
...baseFileDef,
|
331
331
|
fileType: getFileType(FileType.IMAGE_SPATIALDATA_ZARR),
|
@@ -354,5 +354,20 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
|
|
354
354
|
// TODO: fileUid?
|
355
355
|
},
|
356
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
|
+
}] : []),
|
357
372
|
];
|
358
373
|
}
|