@vitessce/all 3.6.2 → 3.6.4
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-CeoyM_6M.js → ReactNeuroglancer-Cdyy6KYr.js} +1 -1
- package/dist/{deflate-DTO-rr8G.js → deflate-BSP3an_k.js} +1 -1
- package/dist/{higlass-BDwTvH9n.js → higlass-Cm-4roQO.js} +1 -1
- package/dist/{index-Dysf8251.js → index-KG6yVDeM.js} +292 -101
- package/dist/{index-BLLQzyXB.js → index-Sx2LvLG6.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{jpeg-C2g1td_K.js → jpeg-Bh1wXUXT.js} +1 -1
- package/dist/{lerc-DiBZtw18.js → lerc-1WB3uddx.js} +1 -1
- package/dist/{lzw-DmDsHkC2.js → lzw-Ct4BzFEq.js} +1 -1
- package/dist/{packbits-B_GD-k-S.js → packbits-BAF4ayoO.js} +1 -1
- package/dist/{raw-C8Sljmcb.js → raw-CoeHW2Mx.js} +1 -1
- package/dist/{troika-three-text.esm-Brh3NnXI.js → troika-three-text.esm-C7mJ9tlO.js} +1 -1
- package/dist/{webimage-CbHUHFQy.js → webimage-BxxoMAns.js} +1 -1
- package/dist-tsc/base-plugins.d.ts +13 -0
- package/dist-tsc/base-plugins.d.ts.map +1 -1
- package/dist-tsc/base-plugins.js +1 -0
- package/dist-tsc/joint-file-types.d.ts.map +1 -1
- package/dist-tsc/joint-file-types.js +23 -5
- package/package.json +31 -31
- package/src/base-plugins.ts +1 -0
- package/src/joint-file-types.ts +23 -5
@@ -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-KG6yVDeM.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-C7mJ9tlO.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-KG6yVDeM.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-KG6yVDeM.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-KG6yVDeM.js";
|
2
2
|
function workerBootstrap() {
|
3
3
|
var modules = /* @__PURE__ */ Object.create(null);
|
4
4
|
function registerModule(ref, callback) {
|
@@ -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;
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kzBA8gB9D,CAAC;AAEF,eAAO,MAAM,kBAAkB,uBAK9B,CAAC"}
|
package/dist-tsc/base-plugins.js
CHANGED
@@ -175,6 +175,7 @@ export const baseJointFileTypes = [
|
|
175
175
|
new PluginJointFileType(FileType.ANNDATA_ZARR_ZIP, expandAnndataZarr, anndataZarrSchema),
|
176
176
|
new PluginJointFileType(FileType.ANNDATA_H5AD, expandAnndataZarr, anndataH5adSchema),
|
177
177
|
new PluginJointFileType(FileType.SPATIALDATA_ZARR, expandSpatialdataZarr, spatialdataZarrSchema),
|
178
|
+
new PluginJointFileType(FileType.SPATIALDATA_ZARR_ZIP, expandSpatialdataZarr, spatialdataZarrSchema),
|
178
179
|
// For legacy file types:
|
179
180
|
new PluginJointFileType(FileType.ANNDATA_CELLS_ZARR, expandAnndataCellsZarr, anndataCellsZarrSchema),
|
180
181
|
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,
|
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;KA+VlB"}
|
@@ -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,
|
@@ -291,7 +309,7 @@ export function expandSpatialdataZarr(fileDef) {
|
|
291
309
|
// TODO: handle multiple images
|
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,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vitessce/all",
|
3
|
-
"version": "3.6.
|
3
|
+
"version": "3.6.4",
|
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.4",
|
21
|
+
"@vitessce/constants-internal": "3.6.4",
|
22
|
+
"@vitessce/abstract": "3.6.4",
|
23
|
+
"@vitessce/csv": "3.6.4",
|
24
|
+
"@vitessce/description": "3.6.4",
|
25
|
+
"@vitessce/feature-list": "3.6.4",
|
26
|
+
"@vitessce/genomic-profiles": "3.6.4",
|
27
|
+
"@vitessce/heatmap": "3.6.4",
|
28
|
+
"@vitessce/glb": "3.6.4",
|
29
|
+
"@vitessce/json": "3.6.4",
|
30
|
+
"@vitessce/layer-controller": "3.6.4",
|
31
|
+
"@vitessce/layer-controller-beta": "3.6.4",
|
32
|
+
"@vitessce/link-controller": "3.6.4",
|
33
|
+
"@vitessce/obs-sets-manager": "3.6.4",
|
34
|
+
"@vitessce/ome-tiff": "3.6.4",
|
35
|
+
"@vitessce/plugins": "3.6.4",
|
36
|
+
"@vitessce/scatterplot-embedding": "3.6.4",
|
37
|
+
"@vitessce/scatterplot-gating": "3.6.4",
|
38
|
+
"@vitessce/schemas": "3.6.4",
|
39
|
+
"@vitessce/spatial": "3.6.4",
|
40
|
+
"@vitessce/spatial-beta": "3.6.4",
|
41
|
+
"@vitessce/statistical-plots": "3.6.4",
|
42
|
+
"@vitessce/status": "3.6.4",
|
43
|
+
"@vitessce/vit-s": "3.6.4",
|
44
|
+
"@vitessce/zarr": "3.6.4",
|
45
|
+
"@vitessce/globals": "3.6.4",
|
46
|
+
"@vitessce/spatial-zarr": "3.6.4",
|
47
|
+
"@vitessce/spatial-three": "3.6.4",
|
48
|
+
"@vitessce/biomarker-select": "3.6.4",
|
49
|
+
"@vitessce/neuroglancer": "3.6.4"
|
50
50
|
},
|
51
51
|
"devDependencies": {
|
52
52
|
"@types/react": "^18.0.28",
|
package/src/base-plugins.ts
CHANGED
@@ -352,6 +352,7 @@ export const baseJointFileTypes = [
|
|
352
352
|
new PluginJointFileType(FileType.ANNDATA_ZARR_ZIP, expandAnndataZarr, anndataZarrSchema),
|
353
353
|
new PluginJointFileType(FileType.ANNDATA_H5AD, expandAnndataZarr, anndataH5adSchema),
|
354
354
|
new PluginJointFileType(FileType.SPATIALDATA_ZARR, expandSpatialdataZarr, spatialdataZarrSchema),
|
355
|
+
new PluginJointFileType(FileType.SPATIALDATA_ZARR_ZIP, expandSpatialdataZarr, spatialdataZarrSchema),
|
355
356
|
// For legacy file types:
|
356
357
|
new PluginJointFileType(FileType.ANNDATA_CELLS_ZARR, expandAnndataCellsZarr, anndataCellsZarrSchema),
|
357
358
|
new PluginJointFileType(FileType.ANNDATA_CELL_SETS_ZARR, expandAnndataCellSetsZarr, anndataCellSetsZarrSchema),
|
package/src/joint-file-types.ts
CHANGED
@@ -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,
|
@@ -310,7 +328,7 @@ export function expandSpatialdataZarr(fileDef: z.infer<typeof latestFileDefSchem
|
|
310
328
|
// TODO: handle multiple images
|
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,
|