@vitessce/heatmap 3.4.11 → 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-ee6a9dfb.js";
2
+ import { B as BaseDecoder } from "./index-bb23d401.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -11033,6 +11033,9 @@ const FileType$1 = {
11033
11033
  // OME-Zarr
11034
11034
  IMAGE_OME_ZARR: "image.ome-zarr",
11035
11035
  OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
11036
+ // OME-Zarr - Zipped
11037
+ IMAGE_OME_ZARR_ZIP: "image.ome-zarr.zip",
11038
+ OBS_SEGMENTATIONS_OME_ZARR_ZIP: "obsSegmentations.ome-zarr.zip",
11036
11039
  // AnnData
11037
11040
  OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
11038
11041
  OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
@@ -11139,6 +11142,7 @@ const CoordinationType$1 = {
11139
11142
  FEATURE_TYPE: "featureType",
11140
11143
  FEATURE_VALUE_TYPE: "featureValueType",
11141
11144
  OBS_LABELS_TYPE: "obsLabelsType",
11145
+ FEATURE_LABELS_TYPE: "featureLabelsType",
11142
11146
  // Other types
11143
11147
  EMBEDDING_TYPE: "embeddingType",
11144
11148
  EMBEDDING_ZOOM: "embeddingZoom",
@@ -11948,7 +11952,7 @@ const annDataObsSetsArr = z.array(z.object({
11948
11952
  ]),
11949
11953
  scorePath: z.string().optional().describe("The location in the AnnData store for the set confidence scores, like 'obs/celltype_prediction_score.'")
11950
11954
  }));
11951
- const annDataObsSets = z.object({
11955
+ z.object({
11952
11956
  obsSets: annDataObsSetsArr
11953
11957
  });
11954
11958
  const annDataObsFeatureColumnsArr = z.array(z.object({
@@ -11988,29 +11992,34 @@ const imageOmeZarrSchema = z.object({
11988
11992
  imageOmeZarrSchema.extend({
11989
11993
  obsTypesFromChannelNames: z.boolean().optional()
11990
11994
  });
11991
- const imageSpatialdataSchema = imageOmeZarrSchema.extend({
11992
- path: z.string()
11995
+ const imageSpatialdataSchema = z.object({
11996
+ path: z.string(),
11997
+ 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.')
11993
11998
  });
11994
11999
  const obsSegmentationsSpatialdataSchema = z.object({
11995
- // TODO: should this also extend the imageOmeZarrSchema?
11996
12000
  // TODO: should this be renamed labelsSpatialdataSchema?
11997
12001
  // TODO: support obsTypesFromChannelNames?
11998
- path: z.string()
12002
+ path: z.string(),
12003
+ 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."),
12004
+ 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.')
11999
12005
  });
12000
12006
  z.object({
12001
- path: z.string()
12007
+ path: z.string(),
12008
+ 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.')
12002
12009
  });
12003
12010
  const obsSpotsSpatialdataSchema = z.object({
12004
12011
  path: z.string(),
12005
- 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.")
12012
+ 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."),
12013
+ 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.')
12006
12014
  });
12007
12015
  const obsFeatureMatrixSpatialdataSchema = annDataObsFeatureMatrix.extend({
12008
- region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional()
12016
+ region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
12017
+ 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.')
12009
12018
  });
12010
12019
  const obsSetsSpatialdataSchema = z.object({
12011
12020
  region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
12012
12021
  tablePath: z.string().optional().describe("The path to a table which contains the index for the set values."),
12013
- obsSets: annDataObsSets
12022
+ obsSets: annDataObsSetsArr
12014
12023
  });
12015
12024
  z.object({
12016
12025
  targetX: z.number(),
@@ -12106,15 +12115,21 @@ anndataZarrSchema.extend({
12106
12115
  z.object({
12107
12116
  // TODO: should `image` be a special schema
12108
12117
  // to allow specifying fileUid (like for embeddingType)?
12118
+ // TODO: allow multiple images
12109
12119
  image: imageSpatialdataSchema,
12110
12120
  // TODO: should this be a special schema
12111
12121
  // to allow specifying fileUid (like for embeddingType)?
12122
+ // TODO: allow multiple labels
12112
12123
  labels: obsSegmentationsSpatialdataSchema,
12113
12124
  obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
12114
12125
  obsSpots: obsSpotsSpatialdataSchema,
12115
12126
  // TODO: obsPoints
12116
12127
  // TODO: obsLocations
12117
- obsSets: obsSetsSpatialdataSchema
12128
+ obsSets: obsSetsSpatialdataSchema,
12129
+ // TODO: obsEmbedding
12130
+ // TODO: obsLabels
12131
+ // TODO: featureLabels
12132
+ coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
12118
12133
  }).partial();
12119
12134
  z.object({
12120
12135
  obsLabelsTypes: z.array(z.string()).optional(),
@@ -133528,16 +133543,16 @@ function addDecoder(cases, importFn) {
133528
133543
  }
133529
133544
  cases.forEach((c) => registry$1.set(c, importFn));
133530
133545
  }
133531
- addDecoder([void 0, 1], () => import("./raw-a1a15d51.js").then((m) => m.default));
133532
- addDecoder(5, () => import("./lzw-d3d185fb.js").then((m) => m.default));
133546
+ addDecoder([void 0, 1], () => import("./raw-4db0cb8e.js").then((m) => m.default));
133547
+ addDecoder(5, () => import("./lzw-06fa89ea.js").then((m) => m.default));
133533
133548
  addDecoder(6, () => {
133534
133549
  throw new Error("old style JPEG compression is not supported.");
133535
133550
  });
133536
- addDecoder(7, () => import("./jpeg-1ac7dac2.js").then((m) => m.default));
133537
- addDecoder([8, 32946], () => import("./deflate-651ff0f1.js").then((m) => m.default));
133538
- addDecoder(32773, () => import("./packbits-3b3d0e9b.js").then((m) => m.default));
133539
- addDecoder(34887, () => import("./lerc-041fa622.js").then((m) => m.default));
133540
- addDecoder(50001, () => import("./webimage-891a5d2c.js").then((m) => m.default));
133551
+ addDecoder(7, () => import("./jpeg-454c64bf.js").then((m) => m.default));
133552
+ addDecoder([8, 32946], () => import("./deflate-a269389e.js").then((m) => m.default));
133553
+ addDecoder(32773, () => import("./packbits-9f579811.js").then((m) => m.default));
133554
+ addDecoder(34887, () => import("./lerc-762f0c49.js").then((m) => m.default));
133555
+ addDecoder(50001, () => import("./webimage-ba05cc9a.js").then((m) => m.default));
133541
133556
  function decodeRowAcc(row, stride) {
133542
133557
  let length2 = row.length - stride;
133543
133558
  let offset5 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a, H } from "./index-ee6a9dfb.js";
1
+ import { a, H } from "./index-bb23d401.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-ee6a9dfb.js";
1
+ import { B as BaseDecoder } from "./index-bb23d401.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-ee6a9dfb.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-bb23d401.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-ee6a9dfb.js";
1
+ import { B as BaseDecoder } from "./index-bb23d401.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-ee6a9dfb.js";
1
+ import { B as BaseDecoder } from "./index-bb23d401.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-ee6a9dfb.js";
1
+ import { B as BaseDecoder } from "./index-bb23d401.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-ee6a9dfb.js";
1
+ import { B as BaseDecoder } from "./index-bb23d401.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/heatmap",
3
- "version": "3.4.11",
3
+ "version": "3.4.14",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -20,14 +20,14 @@
20
20
  "lodash-es": "^4.17.21",
21
21
  "uuid": "^9.0.0",
22
22
  "react-aria": "^3.28.0",
23
- "@vitessce/constants-internal": "3.4.11",
24
- "@vitessce/gl": "3.4.11",
25
- "@vitessce/legend": "3.4.11",
26
- "@vitessce/sets-utils": "3.4.11",
27
- "@vitessce/tooltip": "3.4.11",
28
- "@vitessce/utils": "3.4.11",
29
- "@vitessce/vit-s": "3.4.11",
30
- "@vitessce/workers": "3.4.11"
23
+ "@vitessce/constants-internal": "3.4.14",
24
+ "@vitessce/gl": "3.4.14",
25
+ "@vitessce/legend": "3.4.14",
26
+ "@vitessce/sets-utils": "3.4.14",
27
+ "@vitessce/tooltip": "3.4.14",
28
+ "@vitessce/utils": "3.4.14",
29
+ "@vitessce/vit-s": "3.4.14",
30
+ "@vitessce/workers": "3.4.14"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@testing-library/jest-dom": "^5.16.4",