@vitessce/scatterplot-gating 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-b745fef6.js";
2
+ import { B as BaseDecoder } from "./index-75d74fe0.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -10938,11 +10938,14 @@ const DataType$2 = {
10938
10938
  GENOMIC_PROFILES: "genomic-profiles",
10939
10939
  OBS_SPOTS: "obsSpots",
10940
10940
  OBS_POINTS: "obsPoints",
10941
- OBS_LOCATIONS: "obsLocations"
10941
+ OBS_LOCATIONS: "obsLocations",
10942
+ SAMPLE_SETS: "sampleSets",
10943
+ SAMPLE_EDGES: "sampleEdges"
10942
10944
  };
10943
10945
  const FileType$1 = {
10944
10946
  // Joint file types
10945
10947
  ANNDATA_ZARR: "anndata.zarr",
10948
+ ANNDATA_ZARR_ZIP: "anndata.zarr.zip",
10946
10949
  SPATIALDATA_ZARR: "spatialdata.zarr",
10947
10950
  // Atomic file types
10948
10951
  OBS_EMBEDDING_CSV: "obsEmbedding.csv",
@@ -10955,6 +10958,7 @@ const FileType$1 = {
10955
10958
  OBS_SEGMENTATIONS_JSON: "obsSegmentations.json",
10956
10959
  OBS_SETS_CSV: "obsSets.csv",
10957
10960
  OBS_SETS_JSON: "obsSets.json",
10961
+ SAMPLE_SETS_CSV: "sampleSets.csv",
10958
10962
  // OME-Zarr
10959
10963
  IMAGE_OME_ZARR: "image.ome-zarr",
10960
10964
  OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
@@ -10969,6 +10973,19 @@ const FileType$1 = {
10969
10973
  OBS_SEGMENTATIONS_ANNDATA_ZARR: "obsSegmentations.anndata.zarr",
10970
10974
  OBS_LABELS_ANNDATA_ZARR: "obsLabels.anndata.zarr",
10971
10975
  FEATURE_LABELS_ANNDATA_ZARR: "featureLabels.anndata.zarr",
10976
+ SAMPLE_EDGES_ANNDATA_ZARR: "sampleEdges.anndata.zarr",
10977
+ // AnnData - zipped
10978
+ OBS_FEATURE_MATRIX_ANNDATA_ZARR_ZIP: "obsFeatureMatrix.anndata.zarr.zip",
10979
+ OBS_FEATURE_COLUMNS_ANNDATA_ZARR_ZIP: "obsFeatureColumns.anndata.zarr.zip",
10980
+ OBS_SETS_ANNDATA_ZARR_ZIP: "obsSets.anndata.zarr.zip",
10981
+ OBS_EMBEDDING_ANNDATA_ZARR_ZIP: "obsEmbedding.anndata.zarr.zip",
10982
+ OBS_SPOTS_ANNDATA_ZARR_ZIP: "obsSpots.anndata.zarr.zip",
10983
+ OBS_POINTS_ANNDATA_ZARR_ZIP: "obsPoints.anndata.zarr.zip",
10984
+ OBS_LOCATIONS_ANNDATA_ZARR_ZIP: "obsLocations.anndata.zarr.zip",
10985
+ OBS_SEGMENTATIONS_ANNDATA_ZARR_ZIP: "obsSegmentations.anndata.zarr.zip",
10986
+ OBS_LABELS_ANNDATA_ZARR_ZIP: "obsLabels.anndata.zarr.zip",
10987
+ FEATURE_LABELS_ANNDATA_ZARR_ZIP: "featureLabels.anndata.zarr.zip",
10988
+ SAMPLE_EDGES_ANNDATA_ZARR_ZIP: "sampleEdges.anndata.zarr.zip",
10972
10989
  // SpatialData
10973
10990
  IMAGE_SPATIALDATA_ZARR: "image.spatialdata.zarr",
10974
10991
  LABELS_SPATIALDATA_ZARR: "labels.spatialdata.zarr",
@@ -10976,6 +10993,7 @@ const FileType$1 = {
10976
10993
  OBS_FEATURE_MATRIX_SPATIALDATA_ZARR: "obsFeatureMatrix.spatialdata.zarr",
10977
10994
  OBS_SETS_SPATIALDATA_ZARR: "obsSets.spatialdata.zarr",
10978
10995
  OBS_SPOTS_SPATIALDATA_ZARR: "obsSpots.spatialdata.zarr",
10996
+ FEATURE_LABELS_SPATIALDATA_ZARR: "featureLabels.spatialdata.zarr",
10979
10997
  // TODO:
10980
10998
  // OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
10981
10999
  // OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
@@ -11132,7 +11150,10 @@ const CoordinationType$1 = {
11132
11150
  LEGEND_VISIBLE: "legendVisible",
11133
11151
  SPATIAL_CHANNEL_LABELS_VISIBLE: "spatialChannelLabelsVisible",
11134
11152
  SPATIAL_CHANNEL_LABELS_ORIENTATION: "spatialChannelLabelsOrientation",
11135
- SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize"
11153
+ SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
11154
+ // Multi-sample / comparative
11155
+ SAMPLE_TYPE: "sampleType",
11156
+ SAMPLE_SET_SELECTION: "sampleSetSelection"
11136
11157
  };
11137
11158
  const COMPONENT_COORDINATION_TYPES = {
11138
11159
  [ViewType$1.SCATTERPLOT]: [
@@ -11380,7 +11401,9 @@ const COMPONENT_COORDINATION_TYPES = {
11380
11401
  CoordinationType$1.OBS_SET_SELECTION,
11381
11402
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11382
11403
  CoordinationType$1.OBS_SET_COLOR,
11383
- CoordinationType$1.ADDITIONAL_OBS_SETS
11404
+ CoordinationType$1.ADDITIONAL_OBS_SETS,
11405
+ CoordinationType$1.SAMPLE_TYPE,
11406
+ CoordinationType$1.SAMPLE_SET_SELECTION
11384
11407
  ],
11385
11408
  [ViewType$1.FEATURE_VALUE_HISTOGRAM]: [
11386
11409
  CoordinationType$1.DATASET,
@@ -11859,6 +11882,17 @@ z.object({
11859
11882
  scoreColumn: z.string().optional()
11860
11883
  }))
11861
11884
  });
11885
+ z.object({
11886
+ sampleIndex: z.string(),
11887
+ sampleSets: z.array(z.object({
11888
+ name: z.string(),
11889
+ column: z.union([
11890
+ z.string(),
11891
+ z.array(z.string())
11892
+ ]),
11893
+ scoreColumn: z.string().optional()
11894
+ }))
11895
+ });
11862
11896
  z.object({
11863
11897
  obsLabels: z.union([
11864
11898
  annDataObsLabels,
@@ -121231,16 +121265,16 @@ function addDecoder(cases, importFn) {
121231
121265
  }
121232
121266
  cases.forEach((c2) => registry$1.set(c2, importFn));
121233
121267
  }
121234
- addDecoder([void 0, 1], () => import("./raw-33c518f5.js").then((m2) => m2.default));
121235
- addDecoder(5, () => import("./lzw-c58efb36.js").then((m2) => m2.default));
121268
+ addDecoder([void 0, 1], () => import("./raw-246b410b.js").then((m2) => m2.default));
121269
+ addDecoder(5, () => import("./lzw-2042c5db.js").then((m2) => m2.default));
121236
121270
  addDecoder(6, () => {
121237
121271
  throw new Error("old style JPEG compression is not supported.");
121238
121272
  });
121239
- addDecoder(7, () => import("./jpeg-d1267de9.js").then((m2) => m2.default));
121240
- addDecoder([8, 32946], () => import("./deflate-4167ece7.js").then((m2) => m2.default));
121241
- addDecoder(32773, () => import("./packbits-86f0b88d.js").then((m2) => m2.default));
121242
- addDecoder(34887, () => import("./lerc-716bb1e7.js").then((m2) => m2.default));
121243
- addDecoder(50001, () => import("./webimage-853bd2a8.js").then((m2) => m2.default));
121273
+ addDecoder(7, () => import("./jpeg-799e3b23.js").then((m2) => m2.default));
121274
+ addDecoder([8, 32946], () => import("./deflate-41f80055.js").then((m2) => m2.default));
121275
+ addDecoder(32773, () => import("./packbits-d8af6461.js").then((m2) => m2.default));
121276
+ addDecoder(34887, () => import("./lerc-52cb6fde.js").then((m2) => m2.default));
121277
+ addDecoder(50001, () => import("./webimage-8cc8c875.js").then((m2) => m2.default));
121244
121278
  function decodeRowAcc(row, stride) {
121245
121279
  let length2 = row.length - stride;
121246
121280
  let offset5 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { G } from "./index-b745fef6.js";
1
+ import { G } from "./index-75d74fe0.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-b745fef6.js";
1
+ import { B as BaseDecoder } from "./index-75d74fe0.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-b745fef6.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-75d74fe0.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-b745fef6.js";
1
+ import { B as BaseDecoder } from "./index-75d74fe0.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-b745fef6.js";
1
+ import { B as BaseDecoder } from "./index-75d74fe0.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-b745fef6.js";
1
+ import { B as BaseDecoder } from "./index-75d74fe0.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-b745fef6.js";
1
+ import { B as BaseDecoder } from "./index-75d74fe0.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/scatterplot-gating",
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,11 +20,11 @@
20
20
  "d3-array": "^2.4.0",
21
21
  "lodash-es": "^4.17.21",
22
22
  "react-aria": "^3.28.0",
23
- "@vitessce/constants-internal": "3.3.6",
24
- "@vitessce/scatterplot": "3.3.6",
25
- "@vitessce/sets-utils": "3.3.6",
26
- "@vitessce/utils": "3.3.6",
27
- "@vitessce/vit-s": "3.3.6"
23
+ "@vitessce/constants-internal": "3.3.7",
24
+ "@vitessce/scatterplot": "3.3.7",
25
+ "@vitessce/sets-utils": "3.3.7",
26
+ "@vitessce/vit-s": "3.3.7",
27
+ "@vitessce/utils": "3.3.7"
28
28
  },
29
29
  "devDependencies": {
30
30
  "react": "^18.0.0",