@vitessce/heatmap 3.3.6 → 3.3.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.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { B as BaseDecoder } from "./index-18e85616.js";
2
+ import { B as BaseDecoder } from "./index-c4ad73b8.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -10915,11 +10915,14 @@ const DataType$2 = {
10915
10915
  GENOMIC_PROFILES: "genomic-profiles",
10916
10916
  OBS_SPOTS: "obsSpots",
10917
10917
  OBS_POINTS: "obsPoints",
10918
- OBS_LOCATIONS: "obsLocations"
10918
+ OBS_LOCATIONS: "obsLocations",
10919
+ SAMPLE_SETS: "sampleSets",
10920
+ SAMPLE_EDGES: "sampleEdges"
10919
10921
  };
10920
10922
  const FileType$1 = {
10921
10923
  // Joint file types
10922
10924
  ANNDATA_ZARR: "anndata.zarr",
10925
+ ANNDATA_ZARR_ZIP: "anndata.zarr.zip",
10923
10926
  SPATIALDATA_ZARR: "spatialdata.zarr",
10924
10927
  // Atomic file types
10925
10928
  OBS_EMBEDDING_CSV: "obsEmbedding.csv",
@@ -10932,6 +10935,7 @@ const FileType$1 = {
10932
10935
  OBS_SEGMENTATIONS_JSON: "obsSegmentations.json",
10933
10936
  OBS_SETS_CSV: "obsSets.csv",
10934
10937
  OBS_SETS_JSON: "obsSets.json",
10938
+ SAMPLE_SETS_CSV: "sampleSets.csv",
10935
10939
  // OME-Zarr
10936
10940
  IMAGE_OME_ZARR: "image.ome-zarr",
10937
10941
  OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
@@ -10946,6 +10950,19 @@ const FileType$1 = {
10946
10950
  OBS_SEGMENTATIONS_ANNDATA_ZARR: "obsSegmentations.anndata.zarr",
10947
10951
  OBS_LABELS_ANNDATA_ZARR: "obsLabels.anndata.zarr",
10948
10952
  FEATURE_LABELS_ANNDATA_ZARR: "featureLabels.anndata.zarr",
10953
+ SAMPLE_EDGES_ANNDATA_ZARR: "sampleEdges.anndata.zarr",
10954
+ // AnnData - zipped
10955
+ OBS_FEATURE_MATRIX_ANNDATA_ZARR_ZIP: "obsFeatureMatrix.anndata.zarr.zip",
10956
+ OBS_FEATURE_COLUMNS_ANNDATA_ZARR_ZIP: "obsFeatureColumns.anndata.zarr.zip",
10957
+ OBS_SETS_ANNDATA_ZARR_ZIP: "obsSets.anndata.zarr.zip",
10958
+ OBS_EMBEDDING_ANNDATA_ZARR_ZIP: "obsEmbedding.anndata.zarr.zip",
10959
+ OBS_SPOTS_ANNDATA_ZARR_ZIP: "obsSpots.anndata.zarr.zip",
10960
+ OBS_POINTS_ANNDATA_ZARR_ZIP: "obsPoints.anndata.zarr.zip",
10961
+ OBS_LOCATIONS_ANNDATA_ZARR_ZIP: "obsLocations.anndata.zarr.zip",
10962
+ OBS_SEGMENTATIONS_ANNDATA_ZARR_ZIP: "obsSegmentations.anndata.zarr.zip",
10963
+ OBS_LABELS_ANNDATA_ZARR_ZIP: "obsLabels.anndata.zarr.zip",
10964
+ FEATURE_LABELS_ANNDATA_ZARR_ZIP: "featureLabels.anndata.zarr.zip",
10965
+ SAMPLE_EDGES_ANNDATA_ZARR_ZIP: "sampleEdges.anndata.zarr.zip",
10949
10966
  // SpatialData
10950
10967
  IMAGE_SPATIALDATA_ZARR: "image.spatialdata.zarr",
10951
10968
  LABELS_SPATIALDATA_ZARR: "labels.spatialdata.zarr",
@@ -10953,6 +10970,7 @@ const FileType$1 = {
10953
10970
  OBS_FEATURE_MATRIX_SPATIALDATA_ZARR: "obsFeatureMatrix.spatialdata.zarr",
10954
10971
  OBS_SETS_SPATIALDATA_ZARR: "obsSets.spatialdata.zarr",
10955
10972
  OBS_SPOTS_SPATIALDATA_ZARR: "obsSpots.spatialdata.zarr",
10973
+ FEATURE_LABELS_SPATIALDATA_ZARR: "featureLabels.spatialdata.zarr",
10956
10974
  // TODO:
10957
10975
  // OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
10958
10976
  // OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
@@ -11109,7 +11127,10 @@ const CoordinationType$1 = {
11109
11127
  LEGEND_VISIBLE: "legendVisible",
11110
11128
  SPATIAL_CHANNEL_LABELS_VISIBLE: "spatialChannelLabelsVisible",
11111
11129
  SPATIAL_CHANNEL_LABELS_ORIENTATION: "spatialChannelLabelsOrientation",
11112
- SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize"
11130
+ SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
11131
+ // Multi-sample / comparative
11132
+ SAMPLE_TYPE: "sampleType",
11133
+ SAMPLE_SET_SELECTION: "sampleSetSelection"
11113
11134
  };
11114
11135
  const COMPONENT_COORDINATION_TYPES = {
11115
11136
  [ViewType$1.SCATTERPLOT]: [
@@ -11357,7 +11378,9 @@ const COMPONENT_COORDINATION_TYPES = {
11357
11378
  CoordinationType$1.OBS_SET_SELECTION,
11358
11379
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11359
11380
  CoordinationType$1.OBS_SET_COLOR,
11360
- CoordinationType$1.ADDITIONAL_OBS_SETS
11381
+ CoordinationType$1.ADDITIONAL_OBS_SETS,
11382
+ CoordinationType$1.SAMPLE_TYPE,
11383
+ CoordinationType$1.SAMPLE_SET_SELECTION
11361
11384
  ],
11362
11385
  [ViewType$1.FEATURE_VALUE_HISTOGRAM]: [
11363
11386
  CoordinationType$1.DATASET,
@@ -11836,6 +11859,17 @@ z.object({
11836
11859
  scoreColumn: z.string().optional()
11837
11860
  }))
11838
11861
  });
11862
+ z.object({
11863
+ sampleIndex: z.string(),
11864
+ sampleSets: z.array(z.object({
11865
+ name: z.string(),
11866
+ column: z.union([
11867
+ z.string(),
11868
+ z.array(z.string())
11869
+ ]),
11870
+ scoreColumn: z.string().optional()
11871
+ }))
11872
+ });
11839
11873
  z.object({
11840
11874
  obsLabels: z.union([
11841
11875
  annDataObsLabels,
@@ -132648,16 +132682,16 @@ function addDecoder(cases, importFn) {
132648
132682
  }
132649
132683
  cases.forEach((c) => registry$1.set(c, importFn));
132650
132684
  }
132651
- addDecoder([void 0, 1], () => import("./raw-281b8e76.js").then((m) => m.default));
132652
- addDecoder(5, () => import("./lzw-c8a11762.js").then((m) => m.default));
132685
+ addDecoder([void 0, 1], () => import("./raw-73c6e451.js").then((m) => m.default));
132686
+ addDecoder(5, () => import("./lzw-924f5d1f.js").then((m) => m.default));
132653
132687
  addDecoder(6, () => {
132654
132688
  throw new Error("old style JPEG compression is not supported.");
132655
132689
  });
132656
- addDecoder(7, () => import("./jpeg-5104bd7b.js").then((m) => m.default));
132657
- addDecoder([8, 32946], () => import("./deflate-20721e5b.js").then((m) => m.default));
132658
- addDecoder(32773, () => import("./packbits-c1ce7870.js").then((m) => m.default));
132659
- addDecoder(34887, () => import("./lerc-352d4a39.js").then((m) => m.default));
132660
- addDecoder(50001, () => import("./webimage-8edff4f0.js").then((m) => m.default));
132690
+ addDecoder(7, () => import("./jpeg-28dd50f3.js").then((m) => m.default));
132691
+ addDecoder([8, 32946], () => import("./deflate-75c74002.js").then((m) => m.default));
132692
+ addDecoder(32773, () => import("./packbits-9d1372b3.js").then((m) => m.default));
132693
+ addDecoder(34887, () => import("./lerc-13f7a96a.js").then((m) => m.default));
132694
+ addDecoder(50001, () => import("./webimage-d888986b.js").then((m) => m.default));
132661
132695
  function decodeRowAcc(row, stride) {
132662
132696
  let length2 = row.length - stride;
132663
132697
  let offset5 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a, H } from "./index-18e85616.js";
1
+ import { a, H } from "./index-c4ad73b8.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-18e85616.js";
1
+ import { B as BaseDecoder } from "./index-c4ad73b8.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-18e85616.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-c4ad73b8.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-18e85616.js";
1
+ import { B as BaseDecoder } from "./index-c4ad73b8.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-18e85616.js";
1
+ import { B as BaseDecoder } from "./index-c4ad73b8.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-18e85616.js";
1
+ import { B as BaseDecoder } from "./index-c4ad73b8.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-18e85616.js";
1
+ import { B as BaseDecoder } from "./index-c4ad73b8.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.3.6",
3
+ "version": "3.3.7",
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.3.6",
24
- "@vitessce/sets-utils": "3.3.6",
25
- "@vitessce/gl": "3.3.6",
26
- "@vitessce/legend": "3.3.6",
27
- "@vitessce/tooltip": "3.3.6",
28
- "@vitessce/utils": "3.3.6",
29
- "@vitessce/vit-s": "3.3.6",
30
- "@vitessce/workers": "3.3.6"
23
+ "@vitessce/constants-internal": "3.3.7",
24
+ "@vitessce/gl": "3.3.7",
25
+ "@vitessce/legend": "3.3.7",
26
+ "@vitessce/tooltip": "3.3.7",
27
+ "@vitessce/sets-utils": "3.3.7",
28
+ "@vitessce/utils": "3.3.7",
29
+ "@vitessce/workers": "3.3.7",
30
+ "@vitessce/vit-s": "3.3.7"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@testing-library/jest-dom": "^5.16.4",