@vitessce/scatterplot-gating 3.5.6 → 3.5.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.
- package/dist/{deflate-80988b96.js → deflate-c2972ee6.js} +1 -1
- package/dist/{index-866fe9c6.js → index-86107bbe.js} +304 -15
- package/dist/index.js +1 -1
- package/dist/{jpeg-0d954ec0.js → jpeg-3de2dfe4.js} +1 -1
- package/dist/{lerc-48f203d9.js → lerc-e0259484.js} +1 -1
- package/dist/{lzw-314ca9ca.js → lzw-89de4d17.js} +1 -1
- package/dist/{packbits-dbbb7da1.js → packbits-baef831e.js} +1 -1
- package/dist/{raw-b3421d88.js → raw-95876e92.js} +1 -1
- package/dist/{webimage-bed9e45e.js → webimage-dcda894c.js} +1 -1
- package/package.json +6 -6
|
@@ -2625,6 +2625,258 @@ function getNextScope(prevScopes) {
|
|
|
2625
2625
|
} while (prevScopes.includes(nextScope));
|
|
2626
2626
|
return nextScope;
|
|
2627
2627
|
}
|
|
2628
|
+
var loglevel = { exports: {} };
|
|
2629
|
+
(function(module2) {
|
|
2630
|
+
(function(root2, definition) {
|
|
2631
|
+
if (module2.exports) {
|
|
2632
|
+
module2.exports = definition();
|
|
2633
|
+
} else {
|
|
2634
|
+
root2.log = definition();
|
|
2635
|
+
}
|
|
2636
|
+
})(commonjsGlobal, function() {
|
|
2637
|
+
var noop2 = function() {
|
|
2638
|
+
};
|
|
2639
|
+
var undefinedType2 = "undefined";
|
|
2640
|
+
var isIE2 = typeof window !== undefinedType2 && typeof window.navigator !== undefinedType2 && /Trident\/|MSIE /.test(window.navigator.userAgent);
|
|
2641
|
+
var logMethods = [
|
|
2642
|
+
"trace",
|
|
2643
|
+
"debug",
|
|
2644
|
+
"info",
|
|
2645
|
+
"warn",
|
|
2646
|
+
"error"
|
|
2647
|
+
];
|
|
2648
|
+
var _loggersByName = {};
|
|
2649
|
+
var defaultLogger = null;
|
|
2650
|
+
function bindMethod(obj, methodName) {
|
|
2651
|
+
var method = obj[methodName];
|
|
2652
|
+
if (typeof method.bind === "function") {
|
|
2653
|
+
return method.bind(obj);
|
|
2654
|
+
} else {
|
|
2655
|
+
try {
|
|
2656
|
+
return Function.prototype.bind.call(method, obj);
|
|
2657
|
+
} catch (e2) {
|
|
2658
|
+
return function() {
|
|
2659
|
+
return Function.prototype.apply.apply(method, [obj, arguments]);
|
|
2660
|
+
};
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
}
|
|
2664
|
+
function traceForIE() {
|
|
2665
|
+
if (console.log) {
|
|
2666
|
+
if (console.log.apply) {
|
|
2667
|
+
console.log.apply(console, arguments);
|
|
2668
|
+
} else {
|
|
2669
|
+
Function.prototype.apply.apply(console.log, [console, arguments]);
|
|
2670
|
+
}
|
|
2671
|
+
}
|
|
2672
|
+
if (console.trace)
|
|
2673
|
+
console.trace();
|
|
2674
|
+
}
|
|
2675
|
+
function realMethod(methodName) {
|
|
2676
|
+
if (methodName === "debug") {
|
|
2677
|
+
methodName = "log";
|
|
2678
|
+
}
|
|
2679
|
+
if (typeof console === undefinedType2) {
|
|
2680
|
+
return false;
|
|
2681
|
+
} else if (methodName === "trace" && isIE2) {
|
|
2682
|
+
return traceForIE;
|
|
2683
|
+
} else if (console[methodName] !== void 0) {
|
|
2684
|
+
return bindMethod(console, methodName);
|
|
2685
|
+
} else if (console.log !== void 0) {
|
|
2686
|
+
return bindMethod(console, "log");
|
|
2687
|
+
} else {
|
|
2688
|
+
return noop2;
|
|
2689
|
+
}
|
|
2690
|
+
}
|
|
2691
|
+
function replaceLoggingMethods() {
|
|
2692
|
+
var level = this.getLevel();
|
|
2693
|
+
for (var i2 = 0; i2 < logMethods.length; i2++) {
|
|
2694
|
+
var methodName = logMethods[i2];
|
|
2695
|
+
this[methodName] = i2 < level ? noop2 : this.methodFactory(methodName, level, this.name);
|
|
2696
|
+
}
|
|
2697
|
+
this.log = this.debug;
|
|
2698
|
+
if (typeof console === undefinedType2 && level < this.levels.SILENT) {
|
|
2699
|
+
return "No console available for logging";
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
function enableLoggingWhenConsoleArrives(methodName) {
|
|
2703
|
+
return function() {
|
|
2704
|
+
if (typeof console !== undefinedType2) {
|
|
2705
|
+
replaceLoggingMethods.call(this);
|
|
2706
|
+
this[methodName].apply(this, arguments);
|
|
2707
|
+
}
|
|
2708
|
+
};
|
|
2709
|
+
}
|
|
2710
|
+
function defaultMethodFactory(methodName, _level, _loggerName) {
|
|
2711
|
+
return realMethod(methodName) || enableLoggingWhenConsoleArrives.apply(this, arguments);
|
|
2712
|
+
}
|
|
2713
|
+
function Logger(name2, factory) {
|
|
2714
|
+
var self2 = this;
|
|
2715
|
+
var inheritedLevel;
|
|
2716
|
+
var defaultLevel;
|
|
2717
|
+
var userLevel;
|
|
2718
|
+
var storageKey = "loglevel";
|
|
2719
|
+
if (typeof name2 === "string") {
|
|
2720
|
+
storageKey += ":" + name2;
|
|
2721
|
+
} else if (typeof name2 === "symbol") {
|
|
2722
|
+
storageKey = void 0;
|
|
2723
|
+
}
|
|
2724
|
+
function persistLevelIfPossible(levelNum) {
|
|
2725
|
+
var levelName = (logMethods[levelNum] || "silent").toUpperCase();
|
|
2726
|
+
if (typeof window === undefinedType2 || !storageKey)
|
|
2727
|
+
return;
|
|
2728
|
+
try {
|
|
2729
|
+
window.localStorage[storageKey] = levelName;
|
|
2730
|
+
return;
|
|
2731
|
+
} catch (ignore) {
|
|
2732
|
+
}
|
|
2733
|
+
try {
|
|
2734
|
+
window.document.cookie = encodeURIComponent(storageKey) + "=" + levelName + ";";
|
|
2735
|
+
} catch (ignore) {
|
|
2736
|
+
}
|
|
2737
|
+
}
|
|
2738
|
+
function getPersistedLevel() {
|
|
2739
|
+
var storedLevel;
|
|
2740
|
+
if (typeof window === undefinedType2 || !storageKey)
|
|
2741
|
+
return;
|
|
2742
|
+
try {
|
|
2743
|
+
storedLevel = window.localStorage[storageKey];
|
|
2744
|
+
} catch (ignore) {
|
|
2745
|
+
}
|
|
2746
|
+
if (typeof storedLevel === undefinedType2) {
|
|
2747
|
+
try {
|
|
2748
|
+
var cookie = window.document.cookie;
|
|
2749
|
+
var cookieName = encodeURIComponent(storageKey);
|
|
2750
|
+
var location = cookie.indexOf(cookieName + "=");
|
|
2751
|
+
if (location !== -1) {
|
|
2752
|
+
storedLevel = /^([^;]+)/.exec(
|
|
2753
|
+
cookie.slice(location + cookieName.length + 1)
|
|
2754
|
+
)[1];
|
|
2755
|
+
}
|
|
2756
|
+
} catch (ignore) {
|
|
2757
|
+
}
|
|
2758
|
+
}
|
|
2759
|
+
if (self2.levels[storedLevel] === void 0) {
|
|
2760
|
+
storedLevel = void 0;
|
|
2761
|
+
}
|
|
2762
|
+
return storedLevel;
|
|
2763
|
+
}
|
|
2764
|
+
function clearPersistedLevel() {
|
|
2765
|
+
if (typeof window === undefinedType2 || !storageKey)
|
|
2766
|
+
return;
|
|
2767
|
+
try {
|
|
2768
|
+
window.localStorage.removeItem(storageKey);
|
|
2769
|
+
} catch (ignore) {
|
|
2770
|
+
}
|
|
2771
|
+
try {
|
|
2772
|
+
window.document.cookie = encodeURIComponent(storageKey) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
|
|
2773
|
+
} catch (ignore) {
|
|
2774
|
+
}
|
|
2775
|
+
}
|
|
2776
|
+
function normalizeLevel(input) {
|
|
2777
|
+
var level = input;
|
|
2778
|
+
if (typeof level === "string" && self2.levels[level.toUpperCase()] !== void 0) {
|
|
2779
|
+
level = self2.levels[level.toUpperCase()];
|
|
2780
|
+
}
|
|
2781
|
+
if (typeof level === "number" && level >= 0 && level <= self2.levels.SILENT) {
|
|
2782
|
+
return level;
|
|
2783
|
+
} else {
|
|
2784
|
+
throw new TypeError("log.setLevel() called with invalid level: " + input);
|
|
2785
|
+
}
|
|
2786
|
+
}
|
|
2787
|
+
self2.name = name2;
|
|
2788
|
+
self2.levels = {
|
|
2789
|
+
"TRACE": 0,
|
|
2790
|
+
"DEBUG": 1,
|
|
2791
|
+
"INFO": 2,
|
|
2792
|
+
"WARN": 3,
|
|
2793
|
+
"ERROR": 4,
|
|
2794
|
+
"SILENT": 5
|
|
2795
|
+
};
|
|
2796
|
+
self2.methodFactory = factory || defaultMethodFactory;
|
|
2797
|
+
self2.getLevel = function() {
|
|
2798
|
+
if (userLevel != null) {
|
|
2799
|
+
return userLevel;
|
|
2800
|
+
} else if (defaultLevel != null) {
|
|
2801
|
+
return defaultLevel;
|
|
2802
|
+
} else {
|
|
2803
|
+
return inheritedLevel;
|
|
2804
|
+
}
|
|
2805
|
+
};
|
|
2806
|
+
self2.setLevel = function(level, persist) {
|
|
2807
|
+
userLevel = normalizeLevel(level);
|
|
2808
|
+
if (persist !== false) {
|
|
2809
|
+
persistLevelIfPossible(userLevel);
|
|
2810
|
+
}
|
|
2811
|
+
return replaceLoggingMethods.call(self2);
|
|
2812
|
+
};
|
|
2813
|
+
self2.setDefaultLevel = function(level) {
|
|
2814
|
+
defaultLevel = normalizeLevel(level);
|
|
2815
|
+
if (!getPersistedLevel()) {
|
|
2816
|
+
self2.setLevel(level, false);
|
|
2817
|
+
}
|
|
2818
|
+
};
|
|
2819
|
+
self2.resetLevel = function() {
|
|
2820
|
+
userLevel = null;
|
|
2821
|
+
clearPersistedLevel();
|
|
2822
|
+
replaceLoggingMethods.call(self2);
|
|
2823
|
+
};
|
|
2824
|
+
self2.enableAll = function(persist) {
|
|
2825
|
+
self2.setLevel(self2.levels.TRACE, persist);
|
|
2826
|
+
};
|
|
2827
|
+
self2.disableAll = function(persist) {
|
|
2828
|
+
self2.setLevel(self2.levels.SILENT, persist);
|
|
2829
|
+
};
|
|
2830
|
+
self2.rebuild = function() {
|
|
2831
|
+
if (defaultLogger !== self2) {
|
|
2832
|
+
inheritedLevel = normalizeLevel(defaultLogger.getLevel());
|
|
2833
|
+
}
|
|
2834
|
+
replaceLoggingMethods.call(self2);
|
|
2835
|
+
if (defaultLogger === self2) {
|
|
2836
|
+
for (var childName in _loggersByName) {
|
|
2837
|
+
_loggersByName[childName].rebuild();
|
|
2838
|
+
}
|
|
2839
|
+
}
|
|
2840
|
+
};
|
|
2841
|
+
inheritedLevel = normalizeLevel(
|
|
2842
|
+
defaultLogger ? defaultLogger.getLevel() : "WARN"
|
|
2843
|
+
);
|
|
2844
|
+
var initialLevel = getPersistedLevel();
|
|
2845
|
+
if (initialLevel != null) {
|
|
2846
|
+
userLevel = normalizeLevel(initialLevel);
|
|
2847
|
+
}
|
|
2848
|
+
replaceLoggingMethods.call(self2);
|
|
2849
|
+
}
|
|
2850
|
+
defaultLogger = new Logger();
|
|
2851
|
+
defaultLogger.getLogger = function getLogger(name2) {
|
|
2852
|
+
if (typeof name2 !== "symbol" && typeof name2 !== "string" || name2 === "") {
|
|
2853
|
+
throw new TypeError("You must supply a name when creating a logger.");
|
|
2854
|
+
}
|
|
2855
|
+
var logger = _loggersByName[name2];
|
|
2856
|
+
if (!logger) {
|
|
2857
|
+
logger = _loggersByName[name2] = new Logger(
|
|
2858
|
+
name2,
|
|
2859
|
+
defaultLogger.methodFactory
|
|
2860
|
+
);
|
|
2861
|
+
}
|
|
2862
|
+
return logger;
|
|
2863
|
+
};
|
|
2864
|
+
var _log = typeof window !== undefinedType2 ? window.log : void 0;
|
|
2865
|
+
defaultLogger.noConflict = function() {
|
|
2866
|
+
if (typeof window !== undefinedType2 && window.log === defaultLogger) {
|
|
2867
|
+
window.log = _log;
|
|
2868
|
+
}
|
|
2869
|
+
return defaultLogger;
|
|
2870
|
+
};
|
|
2871
|
+
defaultLogger.getLoggers = function getLoggers2() {
|
|
2872
|
+
return _loggersByName;
|
|
2873
|
+
};
|
|
2874
|
+
defaultLogger["default"] = defaultLogger;
|
|
2875
|
+
return defaultLogger;
|
|
2876
|
+
});
|
|
2877
|
+
})(loglevel);
|
|
2878
|
+
var loglevelExports = loglevel.exports;
|
|
2879
|
+
const log$5 = /* @__PURE__ */ getDefaultExportFromCjs(loglevelExports);
|
|
2628
2880
|
const DEFAULT_DARK_COLOR = [50, 50, 50];
|
|
2629
2881
|
const DEFAULT_LIGHT_COLOR$3 = [200, 200, 200];
|
|
2630
2882
|
const DEFAULT_LIGHT2_COLOR = [235, 235, 235];
|
|
@@ -8790,7 +9042,7 @@ function upgradeFrom1_0_14(config2) {
|
|
|
8790
9042
|
Object.entries(propAnalogies).forEach(([oldProp, newType]) => {
|
|
8791
9043
|
var _a2;
|
|
8792
9044
|
if ((_a2 = viewDef.props) == null ? void 0 : _a2[oldProp]) {
|
|
8793
|
-
|
|
9045
|
+
log$5.warn(`Warning: the '${oldProp}' prop on the ${viewDef.component} view is deprecated. Please use the '${newType}' coordination type instead.`);
|
|
8794
9046
|
}
|
|
8795
9047
|
});
|
|
8796
9048
|
});
|
|
@@ -8813,7 +9065,7 @@ function upgradeFrom1_0_15(config2) {
|
|
|
8813
9065
|
Object.entries(coordinationScopes).forEach(([coordinationType, coordinationScope]) => {
|
|
8814
9066
|
if (!Array.isArray(coordinationScope) && typeof coordinationScope === "object") {
|
|
8815
9067
|
if (coordinationType === "dataset") {
|
|
8816
|
-
|
|
9068
|
+
log$5.error("Expected coordinationScopes.dataset value to be either string or string[], but got object.");
|
|
8817
9069
|
}
|
|
8818
9070
|
coordinationScopesBy.dataset[coordinationType] = coordinationScope;
|
|
8819
9071
|
} else if (Array.isArray(coordinationScope) || typeof coordinationScope === "string") {
|
|
@@ -11026,7 +11278,8 @@ const ViewType$1 = {
|
|
|
11026
11278
|
FEATURE_BAR_PLOT: "featureBarPlot",
|
|
11027
11279
|
BIOMARKER_SELECT: "biomarkerSelect",
|
|
11028
11280
|
LINK_CONTROLLER: "linkController",
|
|
11029
|
-
DUAL_SCATTERPLOT: "dualScatterplot"
|
|
11281
|
+
DUAL_SCATTERPLOT: "dualScatterplot",
|
|
11282
|
+
TREEMAP: "treemap"
|
|
11030
11283
|
};
|
|
11031
11284
|
const DataType$2 = {
|
|
11032
11285
|
OBS_LABELS: "obsLabels",
|
|
@@ -11080,6 +11333,7 @@ const FileType$1 = {
|
|
|
11080
11333
|
OBS_LABELS_ANNDATA_ZARR: "obsLabels.anndata.zarr",
|
|
11081
11334
|
FEATURE_LABELS_ANNDATA_ZARR: "featureLabels.anndata.zarr",
|
|
11082
11335
|
SAMPLE_EDGES_ANNDATA_ZARR: "sampleEdges.anndata.zarr",
|
|
11336
|
+
SAMPLE_SETS_ANNDATA_ZARR: "sampleSets.anndata.zarr",
|
|
11083
11337
|
// AnnData - zipped
|
|
11084
11338
|
OBS_FEATURE_MATRIX_ANNDATA_ZARR_ZIP: "obsFeatureMatrix.anndata.zarr.zip",
|
|
11085
11339
|
OBS_FEATURE_COLUMNS_ANNDATA_ZARR_ZIP: "obsFeatureColumns.anndata.zarr.zip",
|
|
@@ -11092,6 +11346,7 @@ const FileType$1 = {
|
|
|
11092
11346
|
OBS_LABELS_ANNDATA_ZARR_ZIP: "obsLabels.anndata.zarr.zip",
|
|
11093
11347
|
FEATURE_LABELS_ANNDATA_ZARR_ZIP: "featureLabels.anndata.zarr.zip",
|
|
11094
11348
|
SAMPLE_EDGES_ANNDATA_ZARR_ZIP: "sampleEdges.anndata.zarr.zip",
|
|
11349
|
+
SAMPLE_SETS_ANNDATA_ZARR_ZIP: "sampleSets.anndata.zarr.zip",
|
|
11095
11350
|
// AnnData - h5ad via reference spec
|
|
11096
11351
|
OBS_FEATURE_MATRIX_ANNDATA_H5AD: "obsFeatureMatrix.anndata.h5ad",
|
|
11097
11352
|
OBS_FEATURE_COLUMNS_ANNDATA_H5AD: "obsFeatureColumns.anndata.h5ad",
|
|
@@ -11104,6 +11359,7 @@ const FileType$1 = {
|
|
|
11104
11359
|
OBS_LABELS_ANNDATA_H5AD: "obsLabels.anndata.h5ad",
|
|
11105
11360
|
FEATURE_LABELS_ANNDATA_H5AD: "featureLabels.anndata.h5ad",
|
|
11106
11361
|
SAMPLE_EDGES_ANNDATA_H5AD: "sampleEdges.anndata.h5ad",
|
|
11362
|
+
SAMPLE_SETS_ANNDATA_H5AD: "sampleSets.anndata.h5ad",
|
|
11107
11363
|
// SpatialData
|
|
11108
11364
|
IMAGE_SPATIALDATA_ZARR: "image.spatialdata.zarr",
|
|
11109
11365
|
LABELS_SPATIALDATA_ZARR: "labels.spatialdata.zarr",
|
|
@@ -11295,12 +11551,15 @@ const CoordinationType$1 = {
|
|
|
11295
11551
|
SAMPLE_SET_FILTER: "sampleSetFilter",
|
|
11296
11552
|
SAMPLE_FILTER_MODE: "sampleFilterMode",
|
|
11297
11553
|
SAMPLE_SET_COLOR: "sampleSetColor",
|
|
11554
|
+
SAMPLE_HIGHLIGHT: "sampleHighlight",
|
|
11298
11555
|
EMBEDDING_POINTS_VISIBLE: "embeddingPointsVisible",
|
|
11299
11556
|
EMBEDDING_CONTOURS_VISIBLE: "embeddingContoursVisible",
|
|
11300
11557
|
EMBEDDING_CONTOURS_FILLED: "embeddingContoursFilled",
|
|
11301
11558
|
EMBEDDING_CONTOUR_PERCENTILES: "embeddingContourPercentiles",
|
|
11302
11559
|
CONTOUR_COLOR_ENCODING: "contourColorEncoding",
|
|
11303
|
-
CONTOUR_COLOR: "contourColor"
|
|
11560
|
+
CONTOUR_COLOR: "contourColor",
|
|
11561
|
+
// Treemap
|
|
11562
|
+
HIERARCHY_LEVELS: "hierarchyLevels"
|
|
11304
11563
|
};
|
|
11305
11564
|
const ViewHelpMapping = {
|
|
11306
11565
|
SCATTERPLOT: "The scatterplot displays two-dimensional (pre-computed) dimensionality reduction results (such as from t-SNE or UMAP). Each point on the scatterplot represents an observation (e.g., cell).",
|
|
@@ -11317,7 +11576,8 @@ const ViewHelpMapping = {
|
|
|
11317
11576
|
OBS_SET_FEATURE_VALUE_DISTRIBUTION: "The observation set feature value distribution view displays a violin plot with values (e.g., expression values) per set (e.g., cell type) for the selected feature (e.g., gene).",
|
|
11318
11577
|
FEATURE_VALUE_HISTOGRAM: "The feature value histogram displays the distribution of values (e.g., expression) for the selected feature (e.g., gene).",
|
|
11319
11578
|
DOT_PLOT: "The dot plot displays summary information about expression of the selected features (e.g., genes) for each selected observation set (e.g., cell type).",
|
|
11320
|
-
FEATURE_BAR_PLOT: "The feature bar plot displays one bar per observation (e.g., cell) along the x-axis, where the value of a selected feature (e.g., gene) is encoded along the y-axis."
|
|
11579
|
+
FEATURE_BAR_PLOT: "The feature bar plot displays one bar per observation (e.g., cell) along the x-axis, where the value of a selected feature (e.g., gene) is encoded along the y-axis.",
|
|
11580
|
+
TREEMAP: "The treemap provides an overview of the current state of sample-level or cell-level selection and filtering."
|
|
11321
11581
|
};
|
|
11322
11582
|
const COMPONENT_COORDINATION_TYPES = {
|
|
11323
11583
|
[ViewType$1.SCATTERPLOT]: [
|
|
@@ -11797,6 +12057,32 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11797
12057
|
CoordinationType$1.OBS_SET_SELECTION,
|
|
11798
12058
|
CoordinationType$1.OBS_SET_FILTER
|
|
11799
12059
|
// TODO: create coordination types for internal state of the biomarker selection view?
|
|
12060
|
+
],
|
|
12061
|
+
[ViewType$1.TREEMAP]: [
|
|
12062
|
+
CoordinationType$1.DATASET,
|
|
12063
|
+
CoordinationType$1.OBS_TYPE,
|
|
12064
|
+
CoordinationType$1.FEATURE_TYPE,
|
|
12065
|
+
CoordinationType$1.FEATURE_VALUE_TYPE,
|
|
12066
|
+
CoordinationType$1.OBS_FILTER,
|
|
12067
|
+
CoordinationType$1.OBS_HIGHLIGHT,
|
|
12068
|
+
CoordinationType$1.OBS_SET_SELECTION,
|
|
12069
|
+
CoordinationType$1.OBS_SET_FILTER,
|
|
12070
|
+
CoordinationType$1.OBS_SELECTION,
|
|
12071
|
+
CoordinationType$1.OBS_SELECTION_MODE,
|
|
12072
|
+
CoordinationType$1.OBS_SET_HIGHLIGHT,
|
|
12073
|
+
CoordinationType$1.OBS_SET_COLOR,
|
|
12074
|
+
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
12075
|
+
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
12076
|
+
CoordinationType$1.SAMPLE_TYPE,
|
|
12077
|
+
CoordinationType$1.SAMPLE_SET_SELECTION,
|
|
12078
|
+
CoordinationType$1.SAMPLE_SET_FILTER,
|
|
12079
|
+
CoordinationType$1.SAMPLE_SET_COLOR,
|
|
12080
|
+
CoordinationType$1.SAMPLE_SELECTION,
|
|
12081
|
+
CoordinationType$1.SAMPLE_SELECTION_MODE,
|
|
12082
|
+
CoordinationType$1.SAMPLE_FILTER,
|
|
12083
|
+
CoordinationType$1.SAMPLE_FILTER_MODE,
|
|
12084
|
+
CoordinationType$1.SAMPLE_HIGHLIGHT,
|
|
12085
|
+
CoordinationType$1.HIERARCHY_LEVELS
|
|
11800
12086
|
]
|
|
11801
12087
|
};
|
|
11802
12088
|
const ViewType = {
|
|
@@ -11965,7 +12251,7 @@ function makeConstantWithDeprecationMessage(currObj, oldObj) {
|
|
|
11965
12251
|
const oldKeys = Object.keys(oldObj);
|
|
11966
12252
|
const propKey = String(prop);
|
|
11967
12253
|
if (oldKeys.includes(propKey)) {
|
|
11968
|
-
|
|
12254
|
+
log$5.warn(`Notice about the constant mapping ${propKey}: '${oldObj[propKey][0]}':
|
|
11969
12255
|
${oldObj[propKey][1]}`);
|
|
11970
12256
|
return oldObj[propKey];
|
|
11971
12257
|
}
|
|
@@ -12063,6 +12349,9 @@ const annDataObsSetsArr = z.array(z.object({
|
|
|
12063
12349
|
z.object({
|
|
12064
12350
|
obsSets: annDataObsSetsArr
|
|
12065
12351
|
});
|
|
12352
|
+
z.object({
|
|
12353
|
+
sampleSets: annDataObsSetsArr
|
|
12354
|
+
});
|
|
12066
12355
|
const annDataObsFeatureColumnsArr = z.array(z.object({
|
|
12067
12356
|
path: z.string()
|
|
12068
12357
|
}));
|
|
@@ -123907,16 +124196,16 @@ function addDecoder(cases, importFn) {
|
|
|
123907
124196
|
}
|
|
123908
124197
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
123909
124198
|
}
|
|
123910
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
123911
|
-
addDecoder(5, () => import("./lzw-
|
|
124199
|
+
addDecoder([void 0, 1], () => import("./raw-95876e92.js").then((m2) => m2.default));
|
|
124200
|
+
addDecoder(5, () => import("./lzw-89de4d17.js").then((m2) => m2.default));
|
|
123912
124201
|
addDecoder(6, () => {
|
|
123913
124202
|
throw new Error("old style JPEG compression is not supported.");
|
|
123914
124203
|
});
|
|
123915
|
-
addDecoder(7, () => import("./jpeg-
|
|
123916
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
123917
|
-
addDecoder(32773, () => import("./packbits-
|
|
123918
|
-
addDecoder(34887, () => import("./lerc-
|
|
123919
|
-
addDecoder(50001, () => import("./webimage-
|
|
124204
|
+
addDecoder(7, () => import("./jpeg-3de2dfe4.js").then((m2) => m2.default));
|
|
124205
|
+
addDecoder([8, 32946], () => import("./deflate-c2972ee6.js").then((m2) => m2.default));
|
|
124206
|
+
addDecoder(32773, () => import("./packbits-baef831e.js").then((m2) => m2.default));
|
|
124207
|
+
addDecoder(34887, () => import("./lerc-e0259484.js").then((m2) => m2.default));
|
|
124208
|
+
addDecoder(50001, () => import("./webimage-dcda894c.js").then((m2) => m2.default));
|
|
123920
124209
|
function decodeRowAcc(row, stride) {
|
|
123921
124210
|
let length2 = row.length - stride;
|
|
123922
124211
|
let offset5 = 0;
|
|
@@ -133973,10 +134262,10 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
|
133973
134262
|
const valueTexHeight = Math.max(2, Math.ceil(totalValuesLength / texSize));
|
|
133974
134263
|
const colorTexHeight = Math.max(2, Math.ceil(totalColorsLength / texSize));
|
|
133975
134264
|
if (valueTexHeight > texSize) {
|
|
133976
|
-
|
|
134265
|
+
log$5.error("Error: length of concatenated quantitative feature values larger than maximum texture size");
|
|
133977
134266
|
}
|
|
133978
134267
|
if (colorTexHeight > texSize) {
|
|
133979
|
-
|
|
134268
|
+
log$5.error("Error: length of concatenated quantitative feature values larger than maximum texture size");
|
|
133980
134269
|
}
|
|
133981
134270
|
const totalData = new Uint8Array(texSize * valueTexHeight);
|
|
133982
134271
|
const totalColors = new Uint8Array(texSize * colorTexHeight);
|
package/dist/index.js
CHANGED
|
@@ -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-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-86107bbe.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@vitessce/vit-s";
|
|
5
5
|
import "react-dom";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/scatterplot-gating",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.7",
|
|
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.
|
|
24
|
-
"@vitessce/scatterplot": "3.5.
|
|
25
|
-
"@vitessce/sets-utils": "3.5.
|
|
26
|
-
"@vitessce/utils": "3.5.
|
|
27
|
-
"@vitessce/vit-s": "3.5.
|
|
23
|
+
"@vitessce/constants-internal": "3.5.7",
|
|
24
|
+
"@vitessce/scatterplot": "3.5.7",
|
|
25
|
+
"@vitessce/sets-utils": "3.5.7",
|
|
26
|
+
"@vitessce/utils": "3.5.7",
|
|
27
|
+
"@vitessce/vit-s": "3.5.7"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"react": "^18.0.0",
|