@vitessce/statistical-plots 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.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { B as BaseDecoder } from "./index-65c79335.js";
2
+ import { B as BaseDecoder } from "./index-8fb3f92c.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -996,6 +996,9 @@ const FileType$1 = {
996
996
  // OME-Zarr
997
997
  IMAGE_OME_ZARR: "image.ome-zarr",
998
998
  OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
999
+ // OME-Zarr - Zipped
1000
+ IMAGE_OME_ZARR_ZIP: "image.ome-zarr.zip",
1001
+ OBS_SEGMENTATIONS_OME_ZARR_ZIP: "obsSegmentations.ome-zarr.zip",
999
1002
  // AnnData
1000
1003
  OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
1001
1004
  OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
@@ -11936,24 +11939,29 @@ const imageOmeZarrSchema = z.object({
11936
11939
  imageOmeZarrSchema.extend({
11937
11940
  obsTypesFromChannelNames: z.boolean().optional()
11938
11941
  });
11939
- const imageSpatialdataSchema = imageOmeZarrSchema.extend({
11940
- path: z.string()
11942
+ const imageSpatialdataSchema = z.object({
11943
+ path: z.string(),
11944
+ 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.')
11941
11945
  });
11942
11946
  const obsSegmentationsSpatialdataSchema = z.object({
11943
- // TODO: should this also extend the imageOmeZarrSchema?
11944
11947
  // TODO: should this be renamed labelsSpatialdataSchema?
11945
11948
  // TODO: support obsTypesFromChannelNames?
11946
- path: z.string()
11949
+ path: z.string(),
11950
+ 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."),
11951
+ 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.')
11947
11952
  });
11948
11953
  z.object({
11949
- path: z.string()
11954
+ path: z.string(),
11955
+ 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.')
11950
11956
  });
11951
11957
  const obsSpotsSpatialdataSchema = z.object({
11952
11958
  path: z.string(),
11953
- 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.")
11959
+ 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."),
11960
+ 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.')
11954
11961
  });
11955
11962
  const obsFeatureMatrixSpatialdataSchema = annDataObsFeatureMatrix.extend({
11956
- region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional()
11963
+ region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
11964
+ 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.')
11957
11965
  });
11958
11966
  const obsSetsSpatialdataSchema = z.object({
11959
11967
  region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
@@ -12054,15 +12062,21 @@ anndataZarrSchema.extend({
12054
12062
  z.object({
12055
12063
  // TODO: should `image` be a special schema
12056
12064
  // to allow specifying fileUid (like for embeddingType)?
12065
+ // TODO: allow multiple images
12057
12066
  image: imageSpatialdataSchema,
12058
12067
  // TODO: should this be a special schema
12059
12068
  // to allow specifying fileUid (like for embeddingType)?
12069
+ // TODO: allow multiple labels
12060
12070
  labels: obsSegmentationsSpatialdataSchema,
12061
12071
  obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
12062
12072
  obsSpots: obsSpotsSpatialdataSchema,
12063
12073
  // TODO: obsPoints
12064
12074
  // TODO: obsLocations
12065
- obsSets: obsSetsSpatialdataSchema
12075
+ obsSets: obsSetsSpatialdataSchema,
12076
+ // TODO: obsEmbedding
12077
+ // TODO: obsLabels
12078
+ // TODO: featureLabels
12079
+ coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
12066
12080
  }).partial();
12067
12081
  z.object({
12068
12082
  obsLabelsTypes: z.array(z.string()).optional(),
@@ -133209,16 +133223,16 @@ function addDecoder(cases2, importFn) {
133209
133223
  }
133210
133224
  cases2.forEach((c2) => registry$1.set(c2, importFn));
133211
133225
  }
133212
- addDecoder([void 0, 1], () => import("./raw-d637b4c6.js").then((m2) => m2.default));
133213
- addDecoder(5, () => import("./lzw-f0fcb4b1.js").then((m2) => m2.default));
133226
+ addDecoder([void 0, 1], () => import("./raw-a6544f4b.js").then((m2) => m2.default));
133227
+ addDecoder(5, () => import("./lzw-a7fe4b6d.js").then((m2) => m2.default));
133214
133228
  addDecoder(6, () => {
133215
133229
  throw new Error("old style JPEG compression is not supported.");
133216
133230
  });
133217
- addDecoder(7, () => import("./jpeg-7970799f.js").then((m2) => m2.default));
133218
- addDecoder([8, 32946], () => import("./deflate-eda0aad4.js").then((m2) => m2.default));
133219
- addDecoder(32773, () => import("./packbits-4fa7d5d8.js").then((m2) => m2.default));
133220
- addDecoder(34887, () => import("./lerc-8d94d4f9.js").then((m2) => m2.default));
133221
- addDecoder(50001, () => import("./webimage-9a9c8587.js").then((m2) => m2.default));
133231
+ addDecoder(7, () => import("./jpeg-b5458646.js").then((m2) => m2.default));
133232
+ addDecoder([8, 32946], () => import("./deflate-1b022792.js").then((m2) => m2.default));
133233
+ addDecoder(32773, () => import("./packbits-d87185df.js").then((m2) => m2.default));
133234
+ addDecoder(34887, () => import("./lerc-021481cc.js").then((m2) => m2.default));
133235
+ addDecoder(50001, () => import("./webimage-cca79872.js").then((m2) => m2.default));
133222
133236
  function decodeRowAcc(row, stride) {
133223
133237
  let length2 = row.length - stride;
133224
133238
  let offset5 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c, C, b, a, e, D, d, E, F } from "./index-65c79335.js";
1
+ import { c, C, b, a, e, D, d, E, F } from "./index-8fb3f92c.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-65c79335.js";
1
+ import { B as BaseDecoder } from "./index-8fb3f92c.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
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, B as BaseDecoder } from "./index-65c79335.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-8fb3f92c.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-65c79335.js";
1
+ import { B as BaseDecoder } from "./index-8fb3f92c.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-65c79335.js";
1
+ import { B as BaseDecoder } from "./index-8fb3f92c.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-65c79335.js";
1
+ import { B as BaseDecoder } from "./index-8fb3f92c.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-65c79335.js";
1
+ import { B as BaseDecoder } from "./index-8fb3f92c.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/statistical-plots",
3
- "version": "3.4.12",
3
+ "version": "3.4.14",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -28,12 +28,12 @@
28
28
  "react-aria": "^3.28.0",
29
29
  "internmap": "^2.0.3",
30
30
  "uuid": "^9.0.0",
31
- "@vitessce/constants-internal": "3.4.12",
32
- "@vitessce/sets-utils": "3.4.12",
33
- "@vitessce/utils": "3.4.12",
34
- "@vitessce/vega": "3.4.12",
35
- "@vitessce/vit-s": "3.4.12",
36
- "@vitessce/gl": "3.4.12"
31
+ "@vitessce/constants-internal": "3.4.14",
32
+ "@vitessce/sets-utils": "3.4.14",
33
+ "@vitessce/utils": "3.4.14",
34
+ "@vitessce/vega": "3.4.14",
35
+ "@vitessce/vit-s": "3.4.14",
36
+ "@vitessce/gl": "3.4.14"
37
37
  },
38
38
  "devDependencies": {
39
39
  "react": "^18.0.0",