@vitessce/vega 3.4.12 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +24 -9
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -49678,7 +49678,8 @@ const ViewType$1 = {
|
|
|
49678
49678
|
OBS_SET_FEATURE_VALUE_DISTRIBUTION: "obsSetFeatureValueDistribution",
|
|
49679
49679
|
FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
|
|
49680
49680
|
DOT_PLOT: "dotPlot",
|
|
49681
|
-
FEATURE_BAR_PLOT: "featureBarPlot"
|
|
49681
|
+
FEATURE_BAR_PLOT: "featureBarPlot",
|
|
49682
|
+
BIOMARKER_SELECT: "biomarkerSelect"
|
|
49682
49683
|
};
|
|
49683
49684
|
const DataType$1 = {
|
|
49684
49685
|
OBS_LABELS: "obsLabels",
|
|
@@ -49717,6 +49718,9 @@ const FileType$1 = {
|
|
|
49717
49718
|
// OME-Zarr
|
|
49718
49719
|
IMAGE_OME_ZARR: "image.ome-zarr",
|
|
49719
49720
|
OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
|
|
49721
|
+
// OME-Zarr - Zipped
|
|
49722
|
+
IMAGE_OME_ZARR_ZIP: "image.ome-zarr.zip",
|
|
49723
|
+
OBS_SEGMENTATIONS_OME_ZARR_ZIP: "obsSegmentations.ome-zarr.zip",
|
|
49720
49724
|
// AnnData
|
|
49721
49725
|
OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
|
|
49722
49726
|
OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
|
|
@@ -50239,24 +50243,29 @@ const imageOmeZarrSchema = z.object({
|
|
|
50239
50243
|
imageOmeZarrSchema.extend({
|
|
50240
50244
|
obsTypesFromChannelNames: z.boolean().optional()
|
|
50241
50245
|
});
|
|
50242
|
-
const imageSpatialdataSchema =
|
|
50243
|
-
path: z.string()
|
|
50246
|
+
const imageSpatialdataSchema = z.object({
|
|
50247
|
+
path: z.string(),
|
|
50248
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
|
|
50244
50249
|
});
|
|
50245
50250
|
const obsSegmentationsSpatialdataSchema = z.object({
|
|
50246
|
-
// TODO: should this also extend the imageOmeZarrSchema?
|
|
50247
50251
|
// TODO: should this be renamed labelsSpatialdataSchema?
|
|
50248
50252
|
// TODO: support obsTypesFromChannelNames?
|
|
50249
|
-
path: z.string()
|
|
50253
|
+
path: z.string(),
|
|
50254
|
+
tablePath: z.string().optional().describe("The path to a table which annotates the labels. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected."),
|
|
50255
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
|
|
50250
50256
|
});
|
|
50251
50257
|
z.object({
|
|
50252
|
-
path: z.string()
|
|
50258
|
+
path: z.string(),
|
|
50259
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the coordinates. If not provided, the "global" coordinate system is assumed.')
|
|
50253
50260
|
});
|
|
50254
50261
|
const obsSpotsSpatialdataSchema = z.object({
|
|
50255
50262
|
path: z.string(),
|
|
50256
|
-
tablePath: z.string().optional().describe("The path to a table which annotates the spots. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected.")
|
|
50263
|
+
tablePath: z.string().optional().describe("The path to a table which annotates the spots. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected."),
|
|
50264
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the coordinates and radii. If not provided, the "global" coordinate system is assumed.')
|
|
50257
50265
|
});
|
|
50258
50266
|
const obsFeatureMatrixSpatialdataSchema = annDataObsFeatureMatrix.extend({
|
|
50259
|
-
region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional()
|
|
50267
|
+
region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
|
|
50268
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
|
|
50260
50269
|
});
|
|
50261
50270
|
const obsSetsSpatialdataSchema = z.object({
|
|
50262
50271
|
region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
|
|
@@ -50357,15 +50366,21 @@ anndataZarrSchema.extend({
|
|
|
50357
50366
|
z.object({
|
|
50358
50367
|
// TODO: should `image` be a special schema
|
|
50359
50368
|
// to allow specifying fileUid (like for embeddingType)?
|
|
50369
|
+
// TODO: allow multiple images
|
|
50360
50370
|
image: imageSpatialdataSchema,
|
|
50361
50371
|
// TODO: should this be a special schema
|
|
50362
50372
|
// to allow specifying fileUid (like for embeddingType)?
|
|
50373
|
+
// TODO: allow multiple labels
|
|
50363
50374
|
labels: obsSegmentationsSpatialdataSchema,
|
|
50364
50375
|
obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
|
|
50365
50376
|
obsSpots: obsSpotsSpatialdataSchema,
|
|
50366
50377
|
// TODO: obsPoints
|
|
50367
50378
|
// TODO: obsLocations
|
|
50368
|
-
obsSets: obsSetsSpatialdataSchema
|
|
50379
|
+
obsSets: obsSetsSpatialdataSchema,
|
|
50380
|
+
// TODO: obsEmbedding
|
|
50381
|
+
// TODO: obsLabels
|
|
50382
|
+
// TODO: featureLabels
|
|
50383
|
+
coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
|
|
50369
50384
|
}).partial();
|
|
50370
50385
|
z.object({
|
|
50371
50386
|
obsLabelsTypes: z.array(z.string()).optional(),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/vega",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"author": "
|
|
3
|
+
"version": "3.5.0",
|
|
4
|
+
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"vega": "^5.21.0",
|
|
23
23
|
"vega-lite": "^5.1.1",
|
|
24
24
|
"vega-tooltip": "^0.27.0",
|
|
25
|
-
"@vitessce/tooltip": "3.
|
|
26
|
-
"@vitessce/legend": "3.
|
|
25
|
+
"@vitessce/tooltip": "3.5.0",
|
|
26
|
+
"@vitessce/legend": "3.5.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"react": "^18.0.0",
|