@vitessce/all 3.5.6 → 3.5.7
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/{deflate-35fbdf1d.js → deflate-04bafa55.js} +1 -1
- package/dist/{higlass-6360c0eb.js → higlass-4fa163b9.js} +1 -1
- package/dist/{index-91aca3e4.js → index-0b46e436.js} +2 -2
- package/dist/{index-7925c6be.js → index-1a4d9e84.js} +781 -89
- package/dist/index.js +1 -1
- package/dist/{jpeg-8b9a25d4.js → jpeg-6c54524a.js} +1 -1
- package/dist/{lerc-34155be5.js → lerc-df637713.js} +1 -1
- package/dist/{lzw-bc73fdec.js → lzw-bb4fcd5c.js} +1 -1
- package/dist/{packbits-2a588df1.js → packbits-8de5f515.js} +1 -1
- package/dist/{raw-f68bddd1.js → raw-13d1e148.js} +1 -1
- package/dist/{troika-three-text.esm-2879f126.js → troika-three-text.esm-a4aeebaf.js} +1 -1
- package/dist/{webimage-1743d05f.js → webimage-3d32244e.js} +1 -1
- package/dist-tsc/Vitessce.d.ts.map +1 -1
- package/dist-tsc/Vitessce.js +2 -1
- package/dist-tsc/base-plugins.d.ts +1 -1
- package/dist-tsc/base-plugins.d.ts.map +1 -1
- package/dist-tsc/base-plugins.js +7 -3
- package/package.json +29 -28
- package/src/Vitessce.tsx +2 -1
- package/src/base-plugins.ts +7 -0
package/dist/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { b4, b2, b0, b3, b1, a$, b5 } from "./index-
|
1
|
+
import { b4, b2, b0, b3, b1, a$, b5 } from "./index-1a4d9e84.js";
|
2
2
|
import { useComplexCoordination, useComplexCoordinationSecondary, useCoordination, useCoordinationScopes, useCoordinationScopesBy, useGridItemSize, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, usePageModeView } from "@vitessce/vit-s";
|
3
3
|
import "react";
|
4
4
|
import "react-dom";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-68f84e2a.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-1a4d9e84.js";
|
3
3
|
import "react";
|
4
4
|
import "@vitessce/vit-s";
|
5
5
|
import "react-dom";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { aB as UniformsUtils, aV as MeshDepthMaterial, aW as RGBADepthPacking, aX as MeshDistanceMaterial, aY as ShaderChunk, T as Texture, Z as LinearFilter, aw as InstancedBufferGeometry, au as Sphere, at as Box3, aH as BackSide, a4 as DoubleSide, aZ as InstancedBufferAttribute, V as Vector2, aD as Vector4, h as Color, aJ as Matrix3, a7 as Mesh, ao as FrontSide, a_ as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, y as MeshBasicMaterial, k as Matrix4, b as Vector3 } from "./index-
|
1
|
+
import { aB as UniformsUtils, aV as MeshDepthMaterial, aW as RGBADepthPacking, aX as MeshDistanceMaterial, aY as ShaderChunk, T as Texture, Z as LinearFilter, aw as InstancedBufferGeometry, au as Sphere, at as Box3, aH as BackSide, a4 as DoubleSide, aZ as InstancedBufferAttribute, V as Vector2, aD as Vector4, h as Color, aJ as Matrix3, a7 as Mesh, ao as FrontSide, a_ as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, y as MeshBasicMaterial, k as Matrix4, b as Vector3 } from "./index-1a4d9e84.js";
|
2
2
|
import "react";
|
3
3
|
import "@vitessce/vit-s";
|
4
4
|
import "react-dom";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Vitessce.d.ts","sourceRoot":"","sources":["../src/Vitessce.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Vitessce.d.ts","sourceRoot":"","sources":["../src/Vitessce.tsx"],"names":[],"mappings":"AAkBA,wBAAgB,QAAQ,CAAC,KAAK,EAAE,GAAG,2CAmElC"}
|
package/dist-tsc/Vitessce.js
CHANGED
@@ -2,6 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
/* eslint-disable max-len */
|
3
3
|
import { useMemo } from 'react';
|
4
4
|
import { VitS, logConfig, } from '@vitessce/vit-s';
|
5
|
+
import { log } from '@vitessce/globals';
|
5
6
|
import { upgradeAndParse, } from '@vitessce/schemas';
|
6
7
|
import { baseViewTypes, baseFileTypes, baseJointFileTypes, baseCoordinationTypes, baseAsyncFunctions, } from './base-plugins.js';
|
7
8
|
export function Vitessce(props) {
|
@@ -18,7 +19,7 @@ export function Vitessce(props) {
|
|
18
19
|
return [validConfig, true];
|
19
20
|
}
|
20
21
|
catch (e) {
|
21
|
-
|
22
|
+
log.error(e);
|
22
23
|
return [
|
23
24
|
{
|
24
25
|
title: 'Config validation or upgrade failed.',
|
@@ -1053,6 +1053,6 @@ export declare const baseCoordinationTypes: (PluginCoordinationType<z.ZodNullabl
|
|
1053
1053
|
color?: number[] | undefined;
|
1054
1054
|
}>;
|
1055
1055
|
})[];
|
1056
|
-
}>>> | PluginCoordinationType<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>> | PluginCoordinationType<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["BlackIsZero", "RGB"]>>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["2D", "3D"]>>> | PluginCoordinationType<z.ZodEnum<["maximumIntensityProjection", "additive"]>> | PluginCoordinationType<z.ZodEnum<["vertical", "horizontal"]>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["sampleSelection", "sampleSetSelection"]>>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["sampleFilter", "sampleSetFilter"]>>> | PluginCoordinationType<z.ZodEnum<["cellSetSelection", "sampleSetSelection", "contourColor"]>>)[];
|
1056
|
+
}>>> | PluginCoordinationType<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>> | PluginCoordinationType<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["BlackIsZero", "RGB"]>>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["2D", "3D"]>>> | PluginCoordinationType<z.ZodEnum<["maximumIntensityProjection", "additive"]>> | PluginCoordinationType<z.ZodEnum<["vertical", "horizontal"]>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["sampleSelection", "sampleSetSelection"]>>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["sampleFilter", "sampleSetFilter"]>>> | PluginCoordinationType<z.ZodEnum<["cellSetSelection", "sampleSetSelection", "contourColor"]>> | PluginCoordinationType<z.ZodNullable<z.ZodArray<z.ZodEnum<["sampleSet", "obsSet"]>, "many">>>)[];
|
1057
1057
|
export declare const baseAsyncFunctions: PluginAsyncFunction[];
|
1058
1058
|
//# sourceMappingURL=base-plugins.d.ts.map
|
@@ -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,
|
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,EA8CF,MAAM,mBAAmB,CAAC;AA4J3B,eAAO,MAAM,aAAa,kBAuBzB,CAAC;AA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kzBAwelD,CAAC;AAEF,eAAO,MAAM,kBAAkB,uBAK9B,CAAC"}
|
package/dist-tsc/base-plugins.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FileType, DataType, ViewType, CoordinationType, AsyncFunctionType, COMPONENT_COORDINATION_TYPES, ALT_ZARR_STORE_TYPES, } from '@vitessce/constants-internal';
|
2
2
|
import { PluginFileType, PluginJointFileType, PluginViewType, PluginCoordinationType, PluginAsyncFunction, } from '@vitessce/plugins';
|
3
|
-
import { z, obsEmbeddingCsvSchema, obsSetsCsvSchema, obsSpotsCsvSchema, obsPointsCsvSchema, obsLocationsCsvSchema, obsLabelsCsvSchema, featureLabelsCsvSchema, sampleSetsCsvSchema, obsSetsAnndataSchema, obsEmbeddingAnndataSchema, obsSpotsAnndataSchema, obsPointsAnndataSchema, obsLocationsAnndataSchema, obsLabelsAnndataSchema, obsFeatureMatrixAnndataSchema, obsFeatureColumnsAnndataSchema, obsSegmentationsAnndataSchema, featureLabelsAnndataSchema, sampleEdgesAnndataSchema, rasterJsonSchema, anndataZarrSchema, anndataH5adSchema, spatialdataZarrSchema, anndataCellsZarrSchema, anndataCellSetsZarrSchema, anndataExpressionMatrixZarrSchema, cellsJsonSchema, imageOmeZarrSchema, imageOmeTiffSchema, imageSpatialdataSchema, obsSegmentationsOmeTiffSchema, obsSegmentationsOmeZarrSchema, obsSegmentationsSpatialdataSchema, obsFeatureMatrixSpatialdataSchema, obsSpotsSpatialdataSchema, obsSetsSpatialdataSchema, obsSetPath, rgbArray, obsSetsSchema, imageLayerObj, cellsLayerObj, neighborhoodsLayerObj, moleculesLayerObj, meshGlbSchema, } from '@vitessce/schemas';
|
3
|
+
import { z, obsEmbeddingCsvSchema, obsSetsCsvSchema, obsSpotsCsvSchema, obsPointsCsvSchema, obsLocationsCsvSchema, obsLabelsCsvSchema, featureLabelsCsvSchema, sampleSetsCsvSchema, obsSetsAnndataSchema, sampleSetsAnndataSchema, obsEmbeddingAnndataSchema, obsSpotsAnndataSchema, obsPointsAnndataSchema, obsLocationsAnndataSchema, obsLabelsAnndataSchema, obsFeatureMatrixAnndataSchema, obsFeatureColumnsAnndataSchema, obsSegmentationsAnndataSchema, featureLabelsAnndataSchema, sampleEdgesAnndataSchema, rasterJsonSchema, anndataZarrSchema, anndataH5adSchema, spatialdataZarrSchema, anndataCellsZarrSchema, anndataCellSetsZarrSchema, anndataExpressionMatrixZarrSchema, cellsJsonSchema, imageOmeZarrSchema, imageOmeTiffSchema, imageSpatialdataSchema, obsSegmentationsOmeTiffSchema, obsSegmentationsOmeZarrSchema, obsSegmentationsSpatialdataSchema, obsFeatureMatrixSpatialdataSchema, obsSpotsSpatialdataSchema, obsSetsSpatialdataSchema, obsSetPath, rgbArray, obsSetsSchema, imageLayerObj, cellsLayerObj, neighborhoodsLayerObj, moleculesLayerObj, meshGlbSchema, } from '@vitessce/schemas';
|
4
4
|
// Register view type plugins
|
5
5
|
import { DescriptionSubscriber } from '@vitessce/description';
|
6
6
|
import { ObsSetsManagerSubscriber } from '@vitessce/obs-sets-manager';
|
@@ -15,7 +15,7 @@ import { LayerControllerBetaSubscriber } from '@vitessce/layer-controller-beta';
|
|
15
15
|
import { LinkControllerSubscriber } from '@vitessce/link-controller';
|
16
16
|
import { StatusSubscriber } from '@vitessce/status';
|
17
17
|
import { HiGlassSubscriber, GenomicProfilesSubscriber } from '@vitessce/genomic-profiles';
|
18
|
-
import { CellSetExpressionPlotSubscriber, CellSetSizesPlotSubscriber, ExpressionHistogramSubscriber, DotPlotSubscriber, FeatureBarPlotSubscriber, } from '@vitessce/statistical-plots';
|
18
|
+
import { CellSetExpressionPlotSubscriber, CellSetSizesPlotSubscriber, ExpressionHistogramSubscriber, DotPlotSubscriber, FeatureBarPlotSubscriber, TreemapSubscriber, } from '@vitessce/statistical-plots';
|
19
19
|
// Register file type plugins
|
20
20
|
import {
|
21
21
|
// CSV
|
@@ -27,7 +27,7 @@ JsonSource, JsonLoader, ObsSegmentationsJsonLoader, ObsSetsJsonLoader,
|
|
27
27
|
RasterJsonAsImageLoader, RasterJsonAsObsSegmentationsLoader, ClustersJsonAsObsFeatureMatrixLoader, GenesJsonAsObsFeatureMatrixLoader, CellsJsonAsObsLabelsLoader, CellsJsonAsObsEmbeddingLoader, CellsJsonAsObsLocationsLoader, CellsJsonAsObsSegmentationsLoader, MoleculesJsonAsObsLocationsLoader, MoleculesJsonAsObsLabelsLoader, } from '@vitessce/json';
|
28
28
|
import {
|
29
29
|
// AnnData
|
30
|
-
AnnDataSource, ObsFeatureMatrixAnndataLoader, ObsFeatureColumnsAnndataLoader, ObsEmbeddingAnndataLoader, ObsSpotsAnndataLoader, ObsPointsAnndataLoader, ObsLocationsAnndataLoader, ObsSegmentationsAnndataLoader, ObsSetsAnndataLoader, ObsLabelsAnndataLoader, FeatureLabelsAnndataLoader, SampleEdgesAnndataLoader,
|
30
|
+
AnnDataSource, ObsFeatureMatrixAnndataLoader, ObsFeatureColumnsAnndataLoader, ObsEmbeddingAnndataLoader, ObsSpotsAnndataLoader, ObsPointsAnndataLoader, ObsLocationsAnndataLoader, ObsSegmentationsAnndataLoader, ObsSetsAnndataLoader, ObsLabelsAnndataLoader, FeatureLabelsAnndataLoader, SampleEdgesAnndataLoader, SampleSetsAnndataLoader,
|
31
31
|
// MuData
|
32
32
|
MuDataSource,
|
33
33
|
// Legacy
|
@@ -86,6 +86,7 @@ export const baseViewTypes = [
|
|
86
86
|
makeViewType(ViewType.DOT_PLOT, DotPlotSubscriber),
|
87
87
|
makeViewType(ViewType.BIOMARKER_SELECT, BiomarkerSelectSubscriber),
|
88
88
|
makeViewType(ViewType.LINK_CONTROLLER, LinkControllerSubscriber),
|
89
|
+
makeViewType(ViewType.TREEMAP, TreemapSubscriber),
|
89
90
|
];
|
90
91
|
export const baseFileTypes = [
|
91
92
|
// All CSV file types
|
@@ -113,6 +114,7 @@ export const baseFileTypes = [
|
|
113
114
|
...makeZarrFileTypes(FileType.OBS_SEGMENTATIONS_ANNDATA_ZARR, DataType.OBS_SEGMENTATIONS, ObsSegmentationsAnndataLoader, AnnDataSource, obsSegmentationsAnndataSchema),
|
114
115
|
...makeZarrFileTypes(FileType.FEATURE_LABELS_ANNDATA_ZARR, DataType.FEATURE_LABELS, FeatureLabelsAnndataLoader, AnnDataSource, featureLabelsAnndataSchema),
|
115
116
|
...makeZarrFileTypes(FileType.SAMPLE_EDGES_ANNDATA_ZARR, DataType.SAMPLE_EDGES, SampleEdgesAnndataLoader, AnnDataSource, sampleEdgesAnndataSchema),
|
117
|
+
...makeZarrFileTypes(FileType.SAMPLE_SETS_ANNDATA_ZARR, DataType.SAMPLE_SETS, SampleSetsAnndataLoader, AnnDataSource, sampleSetsAnndataSchema),
|
116
118
|
// All MuData file types
|
117
119
|
makeFileType(FileType.OBS_SETS_MUDATA_ZARR, DataType.OBS_SETS, ObsSetsAnndataLoader, MuDataSource, obsSetsAnndataSchema),
|
118
120
|
makeFileType(FileType.OBS_EMBEDDING_MUDATA_ZARR, DataType.OBS_EMBEDDING, ObsEmbeddingAnndataLoader, MuDataSource, obsEmbeddingAnndataSchema),
|
@@ -305,12 +307,14 @@ export const baseCoordinationTypes = [
|
|
305
307
|
path: obsSetPath,
|
306
308
|
color: rgbArray,
|
307
309
|
})).nullable()),
|
310
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_HIGHLIGHT, null, z.string().nullable()),
|
308
311
|
new PluginCoordinationType(CoordinationType.EMBEDDING_POINTS_VISIBLE, true, z.boolean()),
|
309
312
|
new PluginCoordinationType(CoordinationType.EMBEDDING_CONTOURS_VISIBLE, false, z.boolean()),
|
310
313
|
new PluginCoordinationType(CoordinationType.EMBEDDING_CONTOURS_FILLED, true, z.boolean()),
|
311
314
|
new PluginCoordinationType(CoordinationType.EMBEDDING_CONTOUR_PERCENTILES, null, z.array(z.number()).nullable()),
|
312
315
|
new PluginCoordinationType(CoordinationType.CONTOUR_COLOR_ENCODING, 'cellSetSelection', z.enum(['cellSetSelection', 'sampleSetSelection', 'contourColor'])),
|
313
316
|
new PluginCoordinationType(CoordinationType.CONTOUR_COLOR, null, rgbArray.nullable()),
|
317
|
+
new PluginCoordinationType(CoordinationType.HIERARCHY_LEVELS, null, z.array(z.enum(['sampleSet', 'obsSet'])).nullable()),
|
314
318
|
];
|
315
319
|
export const baseAsyncFunctions = [
|
316
320
|
new PluginAsyncFunction(AsyncFunctionType.AUTOCOMPLETE_FEATURE, autocompleteFeature),
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vitessce/all",
|
3
|
-
"version": "3.5.
|
3
|
+
"version": "3.5.7",
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
5
5
|
"homepage": "http://vitessce.io",
|
6
6
|
"repository": {
|
@@ -18,33 +18,34 @@
|
|
18
18
|
"dependencies": {
|
19
19
|
"@material-ui/core": "~4.12.3",
|
20
20
|
"zod": "^3.21.4",
|
21
|
-
"@vitessce/constants-internal": "3.5.
|
22
|
-
"@vitessce/abstract": "3.5.
|
23
|
-
"@vitessce/csv": "3.5.
|
24
|
-
"@vitessce/description": "3.5.
|
25
|
-
"@vitessce/feature-list": "3.5.
|
26
|
-
"@vitessce/genomic-profiles": "3.5.
|
27
|
-
"@vitessce/heatmap": "3.5.
|
28
|
-
"@vitessce/glb": "3.5.
|
29
|
-
"@vitessce/json": "3.5.
|
30
|
-
"@vitessce/layer-controller": "3.5.
|
31
|
-
"@vitessce/layer-controller-beta": "3.5.
|
32
|
-
"@vitessce/link-controller": "3.5.
|
33
|
-
"@vitessce/obs-sets-manager": "3.5.
|
34
|
-
"@vitessce/ome-tiff": "3.5.
|
35
|
-
"@vitessce/plugins": "3.5.
|
36
|
-
"@vitessce/scatterplot-embedding": "3.5.
|
37
|
-
"@vitessce/scatterplot-gating": "3.5.
|
38
|
-
"@vitessce/schemas": "3.5.
|
39
|
-
"@vitessce/spatial": "3.5.
|
40
|
-
"@vitessce/spatial-beta": "3.5.
|
41
|
-
"@vitessce/statistical-plots": "3.5.
|
42
|
-
"@vitessce/status": "3.5.
|
43
|
-
"@vitessce/vit-s": "3.5.
|
44
|
-
"@vitessce/zarr": "3.5.
|
45
|
-
"@vitessce/
|
46
|
-
"@vitessce/spatial-
|
47
|
-
"@vitessce/
|
21
|
+
"@vitessce/constants-internal": "3.5.7",
|
22
|
+
"@vitessce/abstract": "3.5.7",
|
23
|
+
"@vitessce/csv": "3.5.7",
|
24
|
+
"@vitessce/description": "3.5.7",
|
25
|
+
"@vitessce/feature-list": "3.5.7",
|
26
|
+
"@vitessce/genomic-profiles": "3.5.7",
|
27
|
+
"@vitessce/heatmap": "3.5.7",
|
28
|
+
"@vitessce/glb": "3.5.7",
|
29
|
+
"@vitessce/json": "3.5.7",
|
30
|
+
"@vitessce/layer-controller": "3.5.7",
|
31
|
+
"@vitessce/layer-controller-beta": "3.5.7",
|
32
|
+
"@vitessce/link-controller": "3.5.7",
|
33
|
+
"@vitessce/obs-sets-manager": "3.5.7",
|
34
|
+
"@vitessce/ome-tiff": "3.5.7",
|
35
|
+
"@vitessce/plugins": "3.5.7",
|
36
|
+
"@vitessce/scatterplot-embedding": "3.5.7",
|
37
|
+
"@vitessce/scatterplot-gating": "3.5.7",
|
38
|
+
"@vitessce/schemas": "3.5.7",
|
39
|
+
"@vitessce/spatial": "3.5.7",
|
40
|
+
"@vitessce/spatial-beta": "3.5.7",
|
41
|
+
"@vitessce/statistical-plots": "3.5.7",
|
42
|
+
"@vitessce/status": "3.5.7",
|
43
|
+
"@vitessce/vit-s": "3.5.7",
|
44
|
+
"@vitessce/zarr": "3.5.7",
|
45
|
+
"@vitessce/globals": "3.5.7",
|
46
|
+
"@vitessce/spatial-zarr": "3.5.7",
|
47
|
+
"@vitessce/spatial-three": "3.5.7",
|
48
|
+
"@vitessce/biomarker-select": "3.5.7"
|
48
49
|
},
|
49
50
|
"devDependencies": {
|
50
51
|
"@types/react": "^18.0.28",
|
package/src/Vitessce.tsx
CHANGED
@@ -4,6 +4,7 @@ import {
|
|
4
4
|
VitS,
|
5
5
|
logConfig,
|
6
6
|
} from '@vitessce/vit-s';
|
7
|
+
import { log } from '@vitessce/globals';
|
7
8
|
import {
|
8
9
|
upgradeAndParse,
|
9
10
|
} from '@vitessce/schemas';
|
@@ -38,7 +39,7 @@ export function Vitessce(props: any) {
|
|
38
39
|
const validConfig = upgradeAndParse(config, onConfigUpgrade);
|
39
40
|
return [validConfig, true];
|
40
41
|
} catch (e) {
|
41
|
-
|
42
|
+
log.error(e);
|
42
43
|
return [
|
43
44
|
{
|
44
45
|
title: 'Config validation or upgrade failed.',
|
package/src/base-plugins.ts
CHANGED
@@ -31,6 +31,7 @@ import {
|
|
31
31
|
featureLabelsCsvSchema,
|
32
32
|
sampleSetsCsvSchema,
|
33
33
|
obsSetsAnndataSchema,
|
34
|
+
sampleSetsAnndataSchema,
|
34
35
|
obsEmbeddingAnndataSchema,
|
35
36
|
obsSpotsAnndataSchema,
|
36
37
|
obsPointsAnndataSchema,
|
@@ -91,6 +92,7 @@ import {
|
|
91
92
|
ExpressionHistogramSubscriber,
|
92
93
|
DotPlotSubscriber,
|
93
94
|
FeatureBarPlotSubscriber,
|
95
|
+
TreemapSubscriber,
|
94
96
|
} from '@vitessce/statistical-plots';
|
95
97
|
|
96
98
|
// Register file type plugins
|
@@ -139,6 +141,7 @@ import {
|
|
139
141
|
ObsLabelsAnndataLoader,
|
140
142
|
FeatureLabelsAnndataLoader,
|
141
143
|
SampleEdgesAnndataLoader,
|
144
|
+
SampleSetsAnndataLoader,
|
142
145
|
// MuData
|
143
146
|
MuDataSource,
|
144
147
|
// Legacy
|
@@ -242,6 +245,7 @@ export const baseViewTypes = [
|
|
242
245
|
makeViewType(ViewType.DOT_PLOT, DotPlotSubscriber),
|
243
246
|
makeViewType(ViewType.BIOMARKER_SELECT, BiomarkerSelectSubscriber),
|
244
247
|
makeViewType(ViewType.LINK_CONTROLLER, LinkControllerSubscriber),
|
248
|
+
makeViewType(ViewType.TREEMAP, TreemapSubscriber),
|
245
249
|
];
|
246
250
|
|
247
251
|
export const baseFileTypes = [
|
@@ -270,6 +274,7 @@ export const baseFileTypes = [
|
|
270
274
|
...makeZarrFileTypes(FileType.OBS_SEGMENTATIONS_ANNDATA_ZARR, DataType.OBS_SEGMENTATIONS, ObsSegmentationsAnndataLoader, AnnDataSource, obsSegmentationsAnndataSchema),
|
271
275
|
...makeZarrFileTypes(FileType.FEATURE_LABELS_ANNDATA_ZARR, DataType.FEATURE_LABELS, FeatureLabelsAnndataLoader, AnnDataSource, featureLabelsAnndataSchema),
|
272
276
|
...makeZarrFileTypes(FileType.SAMPLE_EDGES_ANNDATA_ZARR, DataType.SAMPLE_EDGES, SampleEdgesAnndataLoader, AnnDataSource, sampleEdgesAnndataSchema),
|
277
|
+
...makeZarrFileTypes(FileType.SAMPLE_SETS_ANNDATA_ZARR, DataType.SAMPLE_SETS, SampleSetsAnndataLoader, AnnDataSource, sampleSetsAnndataSchema),
|
273
278
|
// All MuData file types
|
274
279
|
makeFileType(FileType.OBS_SETS_MUDATA_ZARR, DataType.OBS_SETS, ObsSetsAnndataLoader, MuDataSource, obsSetsAnndataSchema),
|
275
280
|
makeFileType(FileType.OBS_EMBEDDING_MUDATA_ZARR, DataType.OBS_EMBEDDING, ObsEmbeddingAnndataLoader, MuDataSource, obsEmbeddingAnndataSchema),
|
@@ -557,12 +562,14 @@ export const baseCoordinationTypes = [
|
|
557
562
|
color: rgbArray,
|
558
563
|
})).nullable(),
|
559
564
|
),
|
565
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_HIGHLIGHT, null, z.string().nullable()),
|
560
566
|
new PluginCoordinationType(CoordinationType.EMBEDDING_POINTS_VISIBLE, true, z.boolean()),
|
561
567
|
new PluginCoordinationType(CoordinationType.EMBEDDING_CONTOURS_VISIBLE, false, z.boolean()),
|
562
568
|
new PluginCoordinationType(CoordinationType.EMBEDDING_CONTOURS_FILLED, true, z.boolean()),
|
563
569
|
new PluginCoordinationType(CoordinationType.EMBEDDING_CONTOUR_PERCENTILES, null, z.array(z.number()).nullable()),
|
564
570
|
new PluginCoordinationType(CoordinationType.CONTOUR_COLOR_ENCODING, 'cellSetSelection', z.enum(['cellSetSelection', 'sampleSetSelection', 'contourColor'])),
|
565
571
|
new PluginCoordinationType(CoordinationType.CONTOUR_COLOR, null, rgbArray.nullable()),
|
572
|
+
new PluginCoordinationType(CoordinationType.HIERARCHY_LEVELS, null, z.array(z.enum(['sampleSet', 'obsSet'])).nullable()),
|
566
573
|
];
|
567
574
|
|
568
575
|
export const baseAsyncFunctions = [
|