@vitessce/vega 3.4.12 → 3.4.14
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 +22 -8
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -49717,6 +49717,9 @@ const FileType$1 = {
|
|
|
49717
49717
|
// OME-Zarr
|
|
49718
49718
|
IMAGE_OME_ZARR: "image.ome-zarr",
|
|
49719
49719
|
OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
|
|
49720
|
+
// OME-Zarr - Zipped
|
|
49721
|
+
IMAGE_OME_ZARR_ZIP: "image.ome-zarr.zip",
|
|
49722
|
+
OBS_SEGMENTATIONS_OME_ZARR_ZIP: "obsSegmentations.ome-zarr.zip",
|
|
49720
49723
|
// AnnData
|
|
49721
49724
|
OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
|
|
49722
49725
|
OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
|
|
@@ -50239,24 +50242,29 @@ const imageOmeZarrSchema = z.object({
|
|
|
50239
50242
|
imageOmeZarrSchema.extend({
|
|
50240
50243
|
obsTypesFromChannelNames: z.boolean().optional()
|
|
50241
50244
|
});
|
|
50242
|
-
const imageSpatialdataSchema =
|
|
50243
|
-
path: z.string()
|
|
50245
|
+
const imageSpatialdataSchema = z.object({
|
|
50246
|
+
path: z.string(),
|
|
50247
|
+
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
50248
|
});
|
|
50245
50249
|
const obsSegmentationsSpatialdataSchema = z.object({
|
|
50246
|
-
// TODO: should this also extend the imageOmeZarrSchema?
|
|
50247
50250
|
// TODO: should this be renamed labelsSpatialdataSchema?
|
|
50248
50251
|
// TODO: support obsTypesFromChannelNames?
|
|
50249
|
-
path: z.string()
|
|
50252
|
+
path: z.string(),
|
|
50253
|
+
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."),
|
|
50254
|
+
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
50255
|
});
|
|
50251
50256
|
z.object({
|
|
50252
|
-
path: z.string()
|
|
50257
|
+
path: z.string(),
|
|
50258
|
+
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
50259
|
});
|
|
50254
50260
|
const obsSpotsSpatialdataSchema = z.object({
|
|
50255
50261
|
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.")
|
|
50262
|
+
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
|
+
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
50264
|
});
|
|
50258
50265
|
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()
|
|
50266
|
+
region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
|
|
50267
|
+
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
50268
|
});
|
|
50261
50269
|
const obsSetsSpatialdataSchema = z.object({
|
|
50262
50270
|
region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
|
|
@@ -50357,15 +50365,21 @@ anndataZarrSchema.extend({
|
|
|
50357
50365
|
z.object({
|
|
50358
50366
|
// TODO: should `image` be a special schema
|
|
50359
50367
|
// to allow specifying fileUid (like for embeddingType)?
|
|
50368
|
+
// TODO: allow multiple images
|
|
50360
50369
|
image: imageSpatialdataSchema,
|
|
50361
50370
|
// TODO: should this be a special schema
|
|
50362
50371
|
// to allow specifying fileUid (like for embeddingType)?
|
|
50372
|
+
// TODO: allow multiple labels
|
|
50363
50373
|
labels: obsSegmentationsSpatialdataSchema,
|
|
50364
50374
|
obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
|
|
50365
50375
|
obsSpots: obsSpotsSpatialdataSchema,
|
|
50366
50376
|
// TODO: obsPoints
|
|
50367
50377
|
// TODO: obsLocations
|
|
50368
|
-
obsSets: obsSetsSpatialdataSchema
|
|
50378
|
+
obsSets: obsSetsSpatialdataSchema,
|
|
50379
|
+
// TODO: obsEmbedding
|
|
50380
|
+
// TODO: obsLabels
|
|
50381
|
+
// TODO: featureLabels
|
|
50382
|
+
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
50383
|
}).partial();
|
|
50370
50384
|
z.object({
|
|
50371
50385
|
obsLabelsTypes: z.array(z.string()).optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/vega",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.14",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -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.4.
|
|
26
|
-
"@vitessce/legend": "3.4.
|
|
25
|
+
"@vitessce/tooltip": "3.4.14",
|
|
26
|
+
"@vitessce/legend": "3.4.14"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"react": "^18.0.0",
|