@vitessce/scatterplot-gating 3.5.4 → 3.5.6

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-23703f49.js";
2
+ import { B as BaseDecoder } from "./index-866fe9c6.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -11025,7 +11025,8 @@ const ViewType$1 = {
11025
11025
  DOT_PLOT: "dotPlot",
11026
11026
  FEATURE_BAR_PLOT: "featureBarPlot",
11027
11027
  BIOMARKER_SELECT: "biomarkerSelect",
11028
- LINK_CONTROLLER: "linkController"
11028
+ LINK_CONTROLLER: "linkController",
11029
+ DUAL_SCATTERPLOT: "dualScatterplot"
11029
11030
  };
11030
11031
  const DataType$2 = {
11031
11032
  OBS_LABELS: "obsLabels",
@@ -11204,15 +11205,23 @@ const CoordinationType$1 = {
11204
11205
  HEATMAP_ZOOM_Y: "heatmapZoomY",
11205
11206
  HEATMAP_TARGET_X: "heatmapTargetX",
11206
11207
  HEATMAP_TARGET_Y: "heatmapTargetY",
11207
- OBS_FILTER: "obsFilter",
11208
11208
  OBS_HIGHLIGHT: "obsHighlight",
11209
+ OBS_SELECTION: "obsSelection",
11209
11210
  OBS_SET_SELECTION: "obsSetSelection",
11211
+ OBS_SELECTION_MODE: "obsSelectionMode",
11212
+ OBS_FILTER: "obsFilter",
11213
+ OBS_SET_FILTER: "obsSetFilter",
11214
+ OBS_FILTER_MODE: "obsFilterMode",
11210
11215
  OBS_SET_HIGHLIGHT: "obsSetHighlight",
11211
11216
  OBS_SET_EXPANSION: "obsSetExpansion",
11212
11217
  OBS_SET_COLOR: "obsSetColor",
11213
- FEATURE_FILTER: "featureFilter",
11214
11218
  FEATURE_HIGHLIGHT: "featureHighlight",
11215
11219
  FEATURE_SELECTION: "featureSelection",
11220
+ FEATURE_SET_SELECTION: "featureSetSelection",
11221
+ FEATURE_SELECTION_MODE: "featureSelectionMode",
11222
+ FEATURE_FILTER: "featureFilter",
11223
+ FEATURE_SET_FILTER: "featureSetFilter",
11224
+ FEATURE_FILTER_MODE: "featureFilterMode",
11216
11225
  FEATURE_VALUE_COLORMAP: "featureValueColormap",
11217
11226
  FEATURE_VALUE_TRANSFORM: "featureValueTransform",
11218
11227
  FEATURE_VALUE_COLORMAP_RANGE: "featureValueColormapRange",
@@ -11279,7 +11288,12 @@ const CoordinationType$1 = {
11279
11288
  SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
11280
11289
  // Multi-sample / comparative
11281
11290
  SAMPLE_TYPE: "sampleType",
11291
+ SAMPLE_SELECTION: "sampleSelection",
11282
11292
  SAMPLE_SET_SELECTION: "sampleSetSelection",
11293
+ SAMPLE_SELECTION_MODE: "sampleSelectionMode",
11294
+ SAMPLE_FILTER: "sampleFilter",
11295
+ SAMPLE_SET_FILTER: "sampleSetFilter",
11296
+ SAMPLE_FILTER_MODE: "sampleFilterMode",
11283
11297
  SAMPLE_SET_COLOR: "sampleSetColor",
11284
11298
  EMBEDDING_POINTS_VISIBLE: "embeddingPointsVisible",
11285
11299
  EMBEDDING_CONTOURS_VISIBLE: "embeddingContoursVisible",
@@ -11328,6 +11342,50 @@ const COMPONENT_COORDINATION_TYPES = {
11328
11342
  CoordinationType$1.OBS_FILTER,
11329
11343
  CoordinationType$1.OBS_HIGHLIGHT,
11330
11344
  CoordinationType$1.OBS_SET_SELECTION,
11345
+ CoordinationType$1.OBS_SET_FILTER,
11346
+ CoordinationType$1.OBS_SET_HIGHLIGHT,
11347
+ CoordinationType$1.OBS_SET_COLOR,
11348
+ CoordinationType$1.FEATURE_HIGHLIGHT,
11349
+ CoordinationType$1.FEATURE_SELECTION,
11350
+ CoordinationType$1.FEATURE_VALUE_COLORMAP,
11351
+ CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
11352
+ CoordinationType$1.OBS_COLOR_ENCODING,
11353
+ CoordinationType$1.ADDITIONAL_OBS_SETS,
11354
+ CoordinationType$1.TOOLTIPS_VISIBLE,
11355
+ CoordinationType$1.SAMPLE_TYPE,
11356
+ CoordinationType$1.SAMPLE_SET_SELECTION,
11357
+ CoordinationType$1.SAMPLE_SET_FILTER,
11358
+ CoordinationType$1.SAMPLE_SET_COLOR,
11359
+ CoordinationType$1.EMBEDDING_POINTS_VISIBLE,
11360
+ CoordinationType$1.EMBEDDING_CONTOURS_VISIBLE,
11361
+ CoordinationType$1.EMBEDDING_CONTOURS_FILLED,
11362
+ CoordinationType$1.EMBEDDING_CONTOUR_PERCENTILES,
11363
+ CoordinationType$1.CONTOUR_COLOR_ENCODING,
11364
+ CoordinationType$1.CONTOUR_COLOR
11365
+ ],
11366
+ [ViewType$1.DUAL_SCATTERPLOT]: [
11367
+ CoordinationType$1.DATASET,
11368
+ CoordinationType$1.OBS_TYPE,
11369
+ CoordinationType$1.FEATURE_TYPE,
11370
+ CoordinationType$1.FEATURE_VALUE_TYPE,
11371
+ CoordinationType$1.OBS_LABELS_TYPE,
11372
+ CoordinationType$1.EMBEDDING_TYPE,
11373
+ CoordinationType$1.EMBEDDING_ZOOM,
11374
+ CoordinationType$1.EMBEDDING_ROTATION,
11375
+ CoordinationType$1.EMBEDDING_TARGET_X,
11376
+ CoordinationType$1.EMBEDDING_TARGET_Y,
11377
+ CoordinationType$1.EMBEDDING_TARGET_Z,
11378
+ CoordinationType$1.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
11379
+ CoordinationType$1.EMBEDDING_OBS_SET_LABELS_VISIBLE,
11380
+ CoordinationType$1.EMBEDDING_OBS_SET_LABEL_SIZE,
11381
+ CoordinationType$1.EMBEDDING_OBS_RADIUS,
11382
+ CoordinationType$1.EMBEDDING_OBS_RADIUS_MODE,
11383
+ CoordinationType$1.EMBEDDING_OBS_OPACITY,
11384
+ CoordinationType$1.EMBEDDING_OBS_OPACITY_MODE,
11385
+ CoordinationType$1.OBS_FILTER,
11386
+ CoordinationType$1.OBS_HIGHLIGHT,
11387
+ CoordinationType$1.OBS_SET_SELECTION,
11388
+ CoordinationType$1.OBS_SET_FILTER,
11331
11389
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11332
11390
  CoordinationType$1.OBS_SET_COLOR,
11333
11391
  CoordinationType$1.FEATURE_HIGHLIGHT,
@@ -11339,6 +11397,7 @@ const COMPONENT_COORDINATION_TYPES = {
11339
11397
  CoordinationType$1.TOOLTIPS_VISIBLE,
11340
11398
  CoordinationType$1.SAMPLE_TYPE,
11341
11399
  CoordinationType$1.SAMPLE_SET_SELECTION,
11400
+ CoordinationType$1.SAMPLE_SET_FILTER,
11342
11401
  CoordinationType$1.SAMPLE_SET_COLOR,
11343
11402
  CoordinationType$1.EMBEDDING_POINTS_VISIBLE,
11344
11403
  CoordinationType$1.EMBEDDING_CONTOURS_VISIBLE,
@@ -11405,6 +11464,7 @@ const COMPONENT_COORDINATION_TYPES = {
11405
11464
  CoordinationType$1.OBS_FILTER,
11406
11465
  CoordinationType$1.OBS_HIGHLIGHT,
11407
11466
  CoordinationType$1.OBS_SET_SELECTION,
11467
+ CoordinationType$1.OBS_SET_FILTER,
11408
11468
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11409
11469
  CoordinationType$1.OBS_SET_COLOR,
11410
11470
  CoordinationType$1.FEATURE_HIGHLIGHT,
@@ -11441,6 +11501,7 @@ const COMPONENT_COORDINATION_TYPES = {
11441
11501
  CoordinationType$1.OBS_FILTER,
11442
11502
  CoordinationType$1.OBS_HIGHLIGHT,
11443
11503
  CoordinationType$1.OBS_SET_SELECTION,
11504
+ CoordinationType$1.OBS_SET_FILTER,
11444
11505
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11445
11506
  CoordinationType$1.OBS_SET_COLOR,
11446
11507
  CoordinationType$1.FEATURE_HIGHLIGHT,
@@ -11500,6 +11561,7 @@ const COMPONENT_COORDINATION_TYPES = {
11500
11561
  CoordinationType$1.OBS_FILTER,
11501
11562
  CoordinationType$1.OBS_HIGHLIGHT,
11502
11563
  CoordinationType$1.OBS_SET_SELECTION,
11564
+ CoordinationType$1.OBS_SET_FILTER,
11503
11565
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11504
11566
  CoordinationType$1.OBS_SET_COLOR,
11505
11567
  CoordinationType$1.FEATURE_FILTER,
@@ -11515,6 +11577,7 @@ const COMPONENT_COORDINATION_TYPES = {
11515
11577
  CoordinationType$1.DATASET,
11516
11578
  CoordinationType$1.OBS_TYPE,
11517
11579
  CoordinationType$1.OBS_SET_SELECTION,
11580
+ CoordinationType$1.OBS_SET_FILTER,
11518
11581
  CoordinationType$1.OBS_SET_EXPANSION,
11519
11582
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11520
11583
  CoordinationType$1.OBS_SET_COLOR,
@@ -11526,6 +11589,7 @@ const COMPONENT_COORDINATION_TYPES = {
11526
11589
  CoordinationType$1.DATASET,
11527
11590
  CoordinationType$1.OBS_TYPE,
11528
11591
  CoordinationType$1.OBS_SET_SELECTION,
11592
+ CoordinationType$1.OBS_SET_FILTER,
11529
11593
  CoordinationType$1.OBS_SET_EXPANSION,
11530
11594
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11531
11595
  CoordinationType$1.OBS_SET_COLOR,
@@ -11558,6 +11622,7 @@ const COMPONENT_COORDINATION_TYPES = {
11558
11622
  CoordinationType$1.FEATURE_VALUE_TRANSFORM,
11559
11623
  CoordinationType$1.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
11560
11624
  CoordinationType$1.OBS_SET_SELECTION,
11625
+ CoordinationType$1.OBS_SET_FILTER,
11561
11626
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11562
11627
  CoordinationType$1.OBS_SET_COLOR,
11563
11628
  CoordinationType$1.ADDITIONAL_OBS_SETS,
@@ -11574,7 +11639,8 @@ const COMPONENT_COORDINATION_TYPES = {
11574
11639
  CoordinationType$1.ADDITIONAL_OBS_SETS,
11575
11640
  CoordinationType$1.OBS_SET_COLOR,
11576
11641
  CoordinationType$1.OBS_COLOR_ENCODING,
11577
- CoordinationType$1.OBS_SET_SELECTION
11642
+ CoordinationType$1.OBS_SET_SELECTION,
11643
+ CoordinationType$1.OBS_SET_FILTER
11578
11644
  ],
11579
11645
  [ViewType$1.LAYER_CONTROLLER]: [
11580
11646
  CoordinationType$1.DATASET,
@@ -11689,11 +11755,13 @@ const COMPONENT_COORDINATION_TYPES = {
11689
11755
  CoordinationType$1.FEATURE_VALUE_POSITIVITY_THRESHOLD,
11690
11756
  CoordinationType$1.FEATURE_VALUE_COLORMAP,
11691
11757
  CoordinationType$1.OBS_SET_SELECTION,
11758
+ CoordinationType$1.OBS_SET_FILTER,
11692
11759
  CoordinationType$1.OBS_SET_HIGHLIGHT,
11693
11760
  CoordinationType$1.OBS_SET_COLOR,
11694
11761
  CoordinationType$1.ADDITIONAL_OBS_SETS,
11695
11762
  CoordinationType$1.SAMPLE_TYPE,
11696
11763
  CoordinationType$1.SAMPLE_SET_SELECTION,
11764
+ CoordinationType$1.SAMPLE_SET_FILTER,
11697
11765
  CoordinationType$1.SAMPLE_SET_COLOR
11698
11766
  ],
11699
11767
  higlass: [
@@ -11724,7 +11792,10 @@ const COMPONENT_COORDINATION_TYPES = {
11724
11792
  [ViewType$1.LINK_CONTROLLER]: [],
11725
11793
  [ViewType$1.BIOMARKER_SELECT]: [
11726
11794
  CoordinationType$1.FEATURE_SELECTION,
11727
- CoordinationType$1.SAMPLE_SET_SELECTION
11795
+ CoordinationType$1.SAMPLE_SET_SELECTION,
11796
+ CoordinationType$1.SAMPLE_SET_FILTER,
11797
+ CoordinationType$1.OBS_SET_SELECTION,
11798
+ CoordinationType$1.OBS_SET_FILTER
11728
11799
  // TODO: create coordination types for internal state of the biomarker selection view?
11729
11800
  ]
11730
11801
  };
@@ -123836,16 +123907,16 @@ function addDecoder(cases, importFn) {
123836
123907
  }
123837
123908
  cases.forEach((c2) => registry$1.set(c2, importFn));
123838
123909
  }
123839
- addDecoder([void 0, 1], () => import("./raw-e8d80fe3.js").then((m2) => m2.default));
123840
- addDecoder(5, () => import("./lzw-853e8be6.js").then((m2) => m2.default));
123910
+ addDecoder([void 0, 1], () => import("./raw-b3421d88.js").then((m2) => m2.default));
123911
+ addDecoder(5, () => import("./lzw-314ca9ca.js").then((m2) => m2.default));
123841
123912
  addDecoder(6, () => {
123842
123913
  throw new Error("old style JPEG compression is not supported.");
123843
123914
  });
123844
- addDecoder(7, () => import("./jpeg-6fc13c7b.js").then((m2) => m2.default));
123845
- addDecoder([8, 32946], () => import("./deflate-dcfd3d97.js").then((m2) => m2.default));
123846
- addDecoder(32773, () => import("./packbits-0fd0fa2b.js").then((m2) => m2.default));
123847
- addDecoder(34887, () => import("./lerc-4e0a6184.js").then((m2) => m2.default));
123848
- addDecoder(50001, () => import("./webimage-c7aacc00.js").then((m2) => m2.default));
123915
+ addDecoder(7, () => import("./jpeg-0d954ec0.js").then((m2) => m2.default));
123916
+ addDecoder([8, 32946], () => import("./deflate-80988b96.js").then((m2) => m2.default));
123917
+ addDecoder(32773, () => import("./packbits-dbbb7da1.js").then((m2) => m2.default));
123918
+ addDecoder(34887, () => import("./lerc-48f203d9.js").then((m2) => m2.default));
123919
+ addDecoder(50001, () => import("./webimage-bed9e45e.js").then((m2) => m2.default));
123849
123920
  function decodeRowAcc(row, stride) {
123850
123921
  let length2 = row.length - stride;
123851
123922
  let offset5 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { G } from "./index-23703f49.js";
1
+ import { G } from "./index-866fe9c6.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-23703f49.js";
1
+ import { B as BaseDecoder } from "./index-866fe9c6.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-23703f49.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-866fe9c6.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-23703f49.js";
1
+ import { B as BaseDecoder } from "./index-866fe9c6.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-23703f49.js";
1
+ import { B as BaseDecoder } from "./index-866fe9c6.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-23703f49.js";
1
+ import { B as BaseDecoder } from "./index-866fe9c6.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-23703f49.js";
1
+ import { B as BaseDecoder } from "./index-866fe9c6.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.5.4",
3
+ "version": "3.5.6",
4
4
  "author": "HIDIVE Lab at HMS",
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.5.4",
24
- "@vitessce/scatterplot": "3.5.4",
25
- "@vitessce/sets-utils": "3.5.4",
26
- "@vitessce/utils": "3.5.4",
27
- "@vitessce/vit-s": "3.5.4"
23
+ "@vitessce/constants-internal": "3.5.6",
24
+ "@vitessce/scatterplot": "3.5.6",
25
+ "@vitessce/sets-utils": "3.5.6",
26
+ "@vitessce/utils": "3.5.6",
27
+ "@vitessce/vit-s": "3.5.6"
28
28
  },
29
29
  "devDependencies": {
30
30
  "react": "^18.0.0",