@vitessce/all 3.5.5 → 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-db3c0a2f.js → deflate-04bafa55.js} +1 -1
- package/dist/{higlass-0ef762be.js → higlass-4fa163b9.js} +1 -1
- package/dist/{index-688bbda8.js → index-0b46e436.js} +2 -2
- package/dist/{index-af9740fa.js → index-1a4d9e84.js} +933 -101
- package/dist/index.js +1 -1
- package/dist/{jpeg-7d2f2798.js → jpeg-6c54524a.js} +1 -1
- package/dist/{lerc-85a406f3.js → lerc-df637713.js} +1 -1
- package/dist/{lzw-ab54a798.js → lzw-bb4fcd5c.js} +1 -1
- package/dist/{packbits-bc646376.js → packbits-8de5f515.js} +1 -1
- package/dist/{raw-5c0afb89.js → raw-13d1e148.js} +1 -1
- package/dist/{troika-three-text.esm-37beeb83.js → troika-three-text.esm-a4aeebaf.js} +1 -1
- package/dist/{webimage-14cbc289.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 +3 -3
- package/dist-tsc/base-plugins.d.ts.map +1 -1
- package/dist-tsc/base-plugins.js +22 -4
- package/package.json +29 -28
- package/src/Vitessce.tsx +2 -1
- package/src/base-plugins.ts +37 -1
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.',
|
@@ -885,7 +885,7 @@ export declare const baseCoordinationTypes: (PluginCoordinationType<z.ZodNullabl
|
|
885
885
|
visible: boolean;
|
886
886
|
}, {
|
887
887
|
visible: boolean;
|
888
|
-
}>>> | PluginCoordinationType<z.ZodNullable<z.ZodArray<z.ZodString, "many">>> | PluginCoordinationType<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>> | PluginCoordinationType<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
888
|
+
}>>> | PluginCoordinationType<z.ZodNullable<z.ZodArray<z.ZodString, "many">>> | PluginCoordinationType<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["obsSelection", "obsSetSelection"]>>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["obsFilter", "obsSetFilter"]>>> | PluginCoordinationType<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
889
889
|
path: z.ZodArray<z.ZodString, "many">;
|
890
890
|
color: z.ZodArray<z.ZodNumber, "many">;
|
891
891
|
}, "strip", z.ZodTypeAny, {
|
@@ -894,7 +894,7 @@ export declare const baseCoordinationTypes: (PluginCoordinationType<z.ZodNullabl
|
|
894
894
|
}, {
|
895
895
|
path: string[];
|
896
896
|
color: number[];
|
897
|
-
}>, "many">>> | PluginCoordinationType<z.ZodEnum<["geneSelection", "cellSetSelection", "spatialChannelColor", "spatialLayerColor", "obsLabels"]>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["log1p", "arcsinh"]>>> | PluginCoordinationType<z.ZodArray<z.ZodNumber, "many">> | PluginCoordinationType<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
897
|
+
}>, "many">>> | PluginCoordinationType<z.ZodEnum<["geneSelection", "cellSetSelection", "spatialChannelColor", "spatialLayerColor", "obsLabels"]>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["featureSelection", "featureSetSelection"]>>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["featureFilter", "featureSetFilter"]>>> | PluginCoordinationType<z.ZodNullable<z.ZodEnum<["log1p", "arcsinh"]>>> | PluginCoordinationType<z.ZodArray<z.ZodNumber, "many">> | PluginCoordinationType<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
898
898
|
version: z.ZodLiteral<"0.1.3">;
|
899
899
|
tree: z.ZodArray<z.ZodType<{
|
900
900
|
name: string;
|
@@ -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.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,KA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;;;;;;;;aAYiC,CAAC;cAClC,CAAC;eAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kzBAwelD,CAAC;AAEF,eAAO,MAAM,kBAAkB,uBAK9B,CAAC"}
|
package/dist-tsc/base-plugins.js
CHANGED
@@ -1,10 +1,10 @@
|
|
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';
|
7
|
-
import { EmbeddingScatterplotSubscriber } from '@vitessce/scatterplot-embedding';
|
7
|
+
import { EmbeddingScatterplotSubscriber, DualEmbeddingScatterplotSubscriber, } from '@vitessce/scatterplot-embedding';
|
8
8
|
import { GatingSubscriber } from '@vitessce/scatterplot-gating';
|
9
9
|
import { SpatialSubscriber } from '@vitessce/spatial';
|
10
10
|
import { SpatialBetaSubscriber } from '@vitessce/spatial-beta';
|
@@ -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
|
@@ -68,6 +68,7 @@ export const baseViewTypes = [
|
|
68
68
|
makeViewType(ViewType.DESCRIPTION, DescriptionSubscriber),
|
69
69
|
makeViewType(ViewType.OBS_SETS, ObsSetsManagerSubscriber),
|
70
70
|
makeViewType(ViewType.SCATTERPLOT, EmbeddingScatterplotSubscriber),
|
71
|
+
makeViewType(ViewType.DUAL_SCATTERPLOT, DualEmbeddingScatterplotSubscriber),
|
71
72
|
makeViewType(ViewType.GATING, GatingSubscriber),
|
72
73
|
makeViewType(ViewType.SPATIAL, SpatialSubscriber),
|
73
74
|
makeViewType(ViewType.SPATIAL_BETA, SpatialBetaSubscriber),
|
@@ -85,6 +86,7 @@ export const baseViewTypes = [
|
|
85
86
|
makeViewType(ViewType.DOT_PLOT, DotPlotSubscriber),
|
86
87
|
makeViewType(ViewType.BIOMARKER_SELECT, BiomarkerSelectSubscriber),
|
87
88
|
makeViewType(ViewType.LINK_CONTROLLER, LinkControllerSubscriber),
|
89
|
+
makeViewType(ViewType.TREEMAP, TreemapSubscriber),
|
88
90
|
];
|
89
91
|
export const baseFileTypes = [
|
90
92
|
// All CSV file types
|
@@ -112,6 +114,7 @@ export const baseFileTypes = [
|
|
112
114
|
...makeZarrFileTypes(FileType.OBS_SEGMENTATIONS_ANNDATA_ZARR, DataType.OBS_SEGMENTATIONS, ObsSegmentationsAnndataLoader, AnnDataSource, obsSegmentationsAnndataSchema),
|
113
115
|
...makeZarrFileTypes(FileType.FEATURE_LABELS_ANNDATA_ZARR, DataType.FEATURE_LABELS, FeatureLabelsAnndataLoader, AnnDataSource, featureLabelsAnndataSchema),
|
114
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),
|
115
118
|
// All MuData file types
|
116
119
|
makeFileType(FileType.OBS_SETS_MUDATA_ZARR, DataType.OBS_SETS, ObsSetsAnndataLoader, MuDataSource, obsSetsAnndataSchema),
|
117
120
|
makeFileType(FileType.OBS_EMBEDDING_MUDATA_ZARR, DataType.OBS_EMBEDDING, ObsEmbeddingAnndataLoader, MuDataSource, obsEmbeddingAnndataSchema),
|
@@ -220,7 +223,11 @@ export const baseCoordinationTypes = [
|
|
220
223
|
new PluginCoordinationType(CoordinationType.HEATMAP_TARGET_Y, 0, z.number()),
|
221
224
|
new PluginCoordinationType(CoordinationType.OBS_FILTER, null, z.array(z.string()).nullable()),
|
222
225
|
new PluginCoordinationType(CoordinationType.OBS_HIGHLIGHT, null, z.string().nullable()),
|
226
|
+
new PluginCoordinationType(CoordinationType.OBS_SELECTION, null, z.array(z.string()).nullable()),
|
223
227
|
new PluginCoordinationType(CoordinationType.OBS_SET_SELECTION, null, z.array(obsSetPath).nullable()),
|
228
|
+
new PluginCoordinationType(CoordinationType.OBS_SELECTION_MODE, null, z.enum(['obsSelection', 'obsSetSelection']).nullable()),
|
229
|
+
new PluginCoordinationType(CoordinationType.OBS_SET_FILTER, null, z.array(obsSetPath).nullable()),
|
230
|
+
new PluginCoordinationType(CoordinationType.OBS_FILTER_MODE, null, z.enum(['obsFilter', 'obsSetFilter']).nullable()),
|
224
231
|
new PluginCoordinationType(CoordinationType.OBS_SET_EXPANSION, null, z.array(obsSetPath).nullable()),
|
225
232
|
new PluginCoordinationType(CoordinationType.OBS_SET_HIGHLIGHT, null, obsSetPath.nullable()),
|
226
233
|
new PluginCoordinationType(CoordinationType.OBS_SET_COLOR, null, z.array(z.object({
|
@@ -231,6 +238,10 @@ export const baseCoordinationTypes = [
|
|
231
238
|
new PluginCoordinationType(CoordinationType.FEATURE_FILTER, null, z.array(z.string()).nullable()),
|
232
239
|
new PluginCoordinationType(CoordinationType.FEATURE_HIGHLIGHT, null, z.string().nullable()),
|
233
240
|
new PluginCoordinationType(CoordinationType.FEATURE_SELECTION, null, z.array(z.string()).nullable()),
|
241
|
+
new PluginCoordinationType(CoordinationType.FEATURE_SET_SELECTION, null, z.array(obsSetPath).nullable()),
|
242
|
+
new PluginCoordinationType(CoordinationType.FEATURE_SELECTION_MODE, null, z.enum(['featureSelection', 'featureSetSelection']).nullable()),
|
243
|
+
new PluginCoordinationType(CoordinationType.FEATURE_SET_FILTER, null, z.array(obsSetPath).nullable()),
|
244
|
+
new PluginCoordinationType(CoordinationType.FEATURE_FILTER_MODE, null, z.enum(['featureFilter', 'featureSetFilter']).nullable()),
|
234
245
|
new PluginCoordinationType(CoordinationType.FEATURE_VALUE_TRANSFORM, null, z.enum(['log1p', 'arcsinh']).nullable()),
|
235
246
|
new PluginCoordinationType(CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT, 1, z.number()),
|
236
247
|
new PluginCoordinationType(CoordinationType.FEATURE_VALUE_POSITIVITY_THRESHOLD, 0, z.number()),
|
@@ -286,17 +297,24 @@ export const baseCoordinationTypes = [
|
|
286
297
|
new PluginCoordinationType(CoordinationType.SPATIAL_CHANNEL_LABEL_SIZE, 14, z.number()),
|
287
298
|
new PluginCoordinationType(CoordinationType.SAMPLE_TYPE, 'sample', z.string().nullable()),
|
288
299
|
// TODO: remove one array level and use multi-coordination for sampleSetSelection?
|
300
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_FILTER, null, z.array(z.string()).nullable()),
|
301
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_SELECTION, null, z.array(z.string()).nullable()),
|
289
302
|
new PluginCoordinationType(CoordinationType.SAMPLE_SET_SELECTION, null, z.array(z.array(z.string())).nullable()),
|
303
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_SET_FILTER, null, z.array(z.array(z.string())).nullable()),
|
304
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_SELECTION_MODE, null, z.enum(['sampleSelection', 'sampleSetSelection']).nullable()),
|
305
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_FILTER_MODE, null, z.enum(['sampleFilter', 'sampleSetFilter']).nullable()),
|
290
306
|
new PluginCoordinationType(CoordinationType.SAMPLE_SET_COLOR, null, z.array(z.object({
|
291
307
|
path: obsSetPath,
|
292
308
|
color: rgbArray,
|
293
309
|
})).nullable()),
|
310
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_HIGHLIGHT, null, z.string().nullable()),
|
294
311
|
new PluginCoordinationType(CoordinationType.EMBEDDING_POINTS_VISIBLE, true, z.boolean()),
|
295
312
|
new PluginCoordinationType(CoordinationType.EMBEDDING_CONTOURS_VISIBLE, false, z.boolean()),
|
296
313
|
new PluginCoordinationType(CoordinationType.EMBEDDING_CONTOURS_FILLED, true, z.boolean()),
|
297
314
|
new PluginCoordinationType(CoordinationType.EMBEDDING_CONTOUR_PERCENTILES, null, z.array(z.number()).nullable()),
|
298
315
|
new PluginCoordinationType(CoordinationType.CONTOUR_COLOR_ENCODING, 'cellSetSelection', z.enum(['cellSetSelection', 'sampleSetSelection', 'contourColor'])),
|
299
316
|
new PluginCoordinationType(CoordinationType.CONTOUR_COLOR, null, rgbArray.nullable()),
|
317
|
+
new PluginCoordinationType(CoordinationType.HIERARCHY_LEVELS, null, z.array(z.enum(['sampleSet', 'obsSet'])).nullable()),
|
300
318
|
];
|
301
319
|
export const baseAsyncFunctions = [
|
302
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,
|
@@ -71,7 +72,10 @@ import {
|
|
71
72
|
// Register view type plugins
|
72
73
|
import { DescriptionSubscriber } from '@vitessce/description';
|
73
74
|
import { ObsSetsManagerSubscriber } from '@vitessce/obs-sets-manager';
|
74
|
-
import {
|
75
|
+
import {
|
76
|
+
EmbeddingScatterplotSubscriber,
|
77
|
+
DualEmbeddingScatterplotSubscriber,
|
78
|
+
} from '@vitessce/scatterplot-embedding';
|
75
79
|
import { GatingSubscriber } from '@vitessce/scatterplot-gating';
|
76
80
|
import { SpatialSubscriber } from '@vitessce/spatial';
|
77
81
|
import { SpatialBetaSubscriber } from '@vitessce/spatial-beta';
|
@@ -88,6 +92,7 @@ import {
|
|
88
92
|
ExpressionHistogramSubscriber,
|
89
93
|
DotPlotSubscriber,
|
90
94
|
FeatureBarPlotSubscriber,
|
95
|
+
TreemapSubscriber,
|
91
96
|
} from '@vitessce/statistical-plots';
|
92
97
|
|
93
98
|
// Register file type plugins
|
@@ -136,6 +141,7 @@ import {
|
|
136
141
|
ObsLabelsAnndataLoader,
|
137
142
|
FeatureLabelsAnndataLoader,
|
138
143
|
SampleEdgesAnndataLoader,
|
144
|
+
SampleSetsAnndataLoader,
|
139
145
|
// MuData
|
140
146
|
MuDataSource,
|
141
147
|
// Legacy
|
@@ -221,6 +227,7 @@ export const baseViewTypes = [
|
|
221
227
|
makeViewType(ViewType.DESCRIPTION, DescriptionSubscriber),
|
222
228
|
makeViewType(ViewType.OBS_SETS, ObsSetsManagerSubscriber),
|
223
229
|
makeViewType(ViewType.SCATTERPLOT, EmbeddingScatterplotSubscriber),
|
230
|
+
makeViewType(ViewType.DUAL_SCATTERPLOT, DualEmbeddingScatterplotSubscriber),
|
224
231
|
makeViewType(ViewType.GATING, GatingSubscriber),
|
225
232
|
makeViewType(ViewType.SPATIAL, SpatialSubscriber),
|
226
233
|
makeViewType(ViewType.SPATIAL_BETA, SpatialBetaSubscriber),
|
@@ -238,6 +245,7 @@ export const baseViewTypes = [
|
|
238
245
|
makeViewType(ViewType.DOT_PLOT, DotPlotSubscriber),
|
239
246
|
makeViewType(ViewType.BIOMARKER_SELECT, BiomarkerSelectSubscriber),
|
240
247
|
makeViewType(ViewType.LINK_CONTROLLER, LinkControllerSubscriber),
|
248
|
+
makeViewType(ViewType.TREEMAP, TreemapSubscriber),
|
241
249
|
];
|
242
250
|
|
243
251
|
export const baseFileTypes = [
|
@@ -266,6 +274,7 @@ export const baseFileTypes = [
|
|
266
274
|
...makeZarrFileTypes(FileType.OBS_SEGMENTATIONS_ANNDATA_ZARR, DataType.OBS_SEGMENTATIONS, ObsSegmentationsAnndataLoader, AnnDataSource, obsSegmentationsAnndataSchema),
|
267
275
|
...makeZarrFileTypes(FileType.FEATURE_LABELS_ANNDATA_ZARR, DataType.FEATURE_LABELS, FeatureLabelsAnndataLoader, AnnDataSource, featureLabelsAnndataSchema),
|
268
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),
|
269
278
|
// All MuData file types
|
270
279
|
makeFileType(FileType.OBS_SETS_MUDATA_ZARR, DataType.OBS_SETS, ObsSetsAnndataLoader, MuDataSource, obsSetsAnndataSchema),
|
271
280
|
makeFileType(FileType.OBS_EMBEDDING_MUDATA_ZARR, DataType.OBS_EMBEDDING, ObsEmbeddingAnndataLoader, MuDataSource, obsEmbeddingAnndataSchema),
|
@@ -401,11 +410,19 @@ export const baseCoordinationTypes = [
|
|
401
410
|
new PluginCoordinationType(CoordinationType.HEATMAP_TARGET_Y, 0, z.number()),
|
402
411
|
new PluginCoordinationType(CoordinationType.OBS_FILTER, null, z.array(z.string()).nullable()),
|
403
412
|
new PluginCoordinationType(CoordinationType.OBS_HIGHLIGHT, null, z.string().nullable()),
|
413
|
+
new PluginCoordinationType(CoordinationType.OBS_SELECTION, null, z.array(z.string()).nullable()),
|
404
414
|
new PluginCoordinationType(
|
405
415
|
CoordinationType.OBS_SET_SELECTION,
|
406
416
|
null,
|
407
417
|
z.array(obsSetPath).nullable(),
|
408
418
|
),
|
419
|
+
new PluginCoordinationType(CoordinationType.OBS_SELECTION_MODE, null, z.enum(['obsSelection', 'obsSetSelection']).nullable()),
|
420
|
+
new PluginCoordinationType(
|
421
|
+
CoordinationType.OBS_SET_FILTER,
|
422
|
+
null,
|
423
|
+
z.array(obsSetPath).nullable(),
|
424
|
+
),
|
425
|
+
new PluginCoordinationType(CoordinationType.OBS_FILTER_MODE, null, z.enum(['obsFilter', 'obsSetFilter']).nullable()),
|
409
426
|
new PluginCoordinationType(
|
410
427
|
CoordinationType.OBS_SET_EXPANSION,
|
411
428
|
null,
|
@@ -432,6 +449,18 @@ export const baseCoordinationTypes = [
|
|
432
449
|
null,
|
433
450
|
z.array(z.string()).nullable(),
|
434
451
|
),
|
452
|
+
new PluginCoordinationType(
|
453
|
+
CoordinationType.FEATURE_SET_SELECTION,
|
454
|
+
null,
|
455
|
+
z.array(obsSetPath).nullable(),
|
456
|
+
),
|
457
|
+
new PluginCoordinationType(CoordinationType.FEATURE_SELECTION_MODE, null, z.enum(['featureSelection', 'featureSetSelection']).nullable()),
|
458
|
+
new PluginCoordinationType(
|
459
|
+
CoordinationType.FEATURE_SET_FILTER,
|
460
|
+
null,
|
461
|
+
z.array(obsSetPath).nullable(),
|
462
|
+
),
|
463
|
+
new PluginCoordinationType(CoordinationType.FEATURE_FILTER_MODE, null, z.enum(['featureFilter', 'featureSetFilter']).nullable()),
|
435
464
|
new PluginCoordinationType(
|
436
465
|
CoordinationType.FEATURE_VALUE_TRANSFORM,
|
437
466
|
null,
|
@@ -519,7 +548,12 @@ export const baseCoordinationTypes = [
|
|
519
548
|
new PluginCoordinationType(CoordinationType.SPATIAL_CHANNEL_LABEL_SIZE, 14, z.number()),
|
520
549
|
new PluginCoordinationType(CoordinationType.SAMPLE_TYPE, 'sample', z.string().nullable()),
|
521
550
|
// TODO: remove one array level and use multi-coordination for sampleSetSelection?
|
551
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_FILTER, null, z.array(z.string()).nullable()),
|
552
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_SELECTION, null, z.array(z.string()).nullable()),
|
522
553
|
new PluginCoordinationType(CoordinationType.SAMPLE_SET_SELECTION, null, z.array(z.array(z.string())).nullable()),
|
554
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_SET_FILTER, null, z.array(z.array(z.string())).nullable()),
|
555
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_SELECTION_MODE, null, z.enum(['sampleSelection', 'sampleSetSelection']).nullable()),
|
556
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_FILTER_MODE, null, z.enum(['sampleFilter', 'sampleSetFilter']).nullable()),
|
523
557
|
new PluginCoordinationType(
|
524
558
|
CoordinationType.SAMPLE_SET_COLOR,
|
525
559
|
null,
|
@@ -528,12 +562,14 @@ export const baseCoordinationTypes = [
|
|
528
562
|
color: rgbArray,
|
529
563
|
})).nullable(),
|
530
564
|
),
|
565
|
+
new PluginCoordinationType(CoordinationType.SAMPLE_HIGHLIGHT, null, z.string().nullable()),
|
531
566
|
new PluginCoordinationType(CoordinationType.EMBEDDING_POINTS_VISIBLE, true, z.boolean()),
|
532
567
|
new PluginCoordinationType(CoordinationType.EMBEDDING_CONTOURS_VISIBLE, false, z.boolean()),
|
533
568
|
new PluginCoordinationType(CoordinationType.EMBEDDING_CONTOURS_FILLED, true, z.boolean()),
|
534
569
|
new PluginCoordinationType(CoordinationType.EMBEDDING_CONTOUR_PERCENTILES, null, z.array(z.number()).nullable()),
|
535
570
|
new PluginCoordinationType(CoordinationType.CONTOUR_COLOR_ENCODING, 'cellSetSelection', z.enum(['cellSetSelection', 'sampleSetSelection', 'contourColor'])),
|
536
571
|
new PluginCoordinationType(CoordinationType.CONTOUR_COLOR, null, rgbArray.nullable()),
|
572
|
+
new PluginCoordinationType(CoordinationType.HIERARCHY_LEVELS, null, z.array(z.enum(['sampleSet', 'obsSet'])).nullable()),
|
537
573
|
];
|
538
574
|
|
539
575
|
export const baseAsyncFunctions = [
|