@vitessce/scatterplot-gating 3.3.5 → 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.
- package/dist/{deflate-ab775ef1.js → deflate-41f80055.js} +1 -1
- package/dist/{index-8d273a18.js → index-75d74fe0.js} +46 -11
- package/dist/index.js +1 -1
- package/dist/{jpeg-568d6d43.js → jpeg-799e3b23.js} +1 -1
- package/dist/{lerc-e08e64e5.js → lerc-52cb6fde.js} +1 -1
- package/dist/{lzw-8f3108ef.js → lzw-2042c5db.js} +1 -1
- package/dist/{packbits-77d77513.js → packbits-d8af6461.js} +1 -1
- package/dist/{raw-38daf41c.js → raw-246b410b.js} +1 -1
- package/dist/{webimage-c3ff0a0f.js → webimage-8cc8c875.js} +1 -1
- package/package.json +6 -6
|
@@ -2621,8 +2621,9 @@ function getNextScope(prevScopes) {
|
|
|
2621
2621
|
}
|
|
2622
2622
|
const DEFAULT_DARK_COLOR = [50, 50, 50];
|
|
2623
2623
|
const DEFAULT_LIGHT_COLOR$3 = [200, 200, 200];
|
|
2624
|
+
const DEFAULT_LIGHT2_COLOR = [235, 235, 235];
|
|
2624
2625
|
function getDefaultColor(theme) {
|
|
2625
|
-
return theme === "dark" ? DEFAULT_DARK_COLOR : DEFAULT_LIGHT_COLOR$3;
|
|
2626
|
+
return theme === "dark" ? DEFAULT_DARK_COLOR : theme === "light" ? DEFAULT_LIGHT_COLOR$3 : DEFAULT_LIGHT2_COLOR;
|
|
2626
2627
|
}
|
|
2627
2628
|
const PALETTE = [
|
|
2628
2629
|
[68, 119, 170],
|
|
@@ -10937,11 +10938,14 @@ const DataType$2 = {
|
|
|
10937
10938
|
GENOMIC_PROFILES: "genomic-profiles",
|
|
10938
10939
|
OBS_SPOTS: "obsSpots",
|
|
10939
10940
|
OBS_POINTS: "obsPoints",
|
|
10940
|
-
OBS_LOCATIONS: "obsLocations"
|
|
10941
|
+
OBS_LOCATIONS: "obsLocations",
|
|
10942
|
+
SAMPLE_SETS: "sampleSets",
|
|
10943
|
+
SAMPLE_EDGES: "sampleEdges"
|
|
10941
10944
|
};
|
|
10942
10945
|
const FileType$1 = {
|
|
10943
10946
|
// Joint file types
|
|
10944
10947
|
ANNDATA_ZARR: "anndata.zarr",
|
|
10948
|
+
ANNDATA_ZARR_ZIP: "anndata.zarr.zip",
|
|
10945
10949
|
SPATIALDATA_ZARR: "spatialdata.zarr",
|
|
10946
10950
|
// Atomic file types
|
|
10947
10951
|
OBS_EMBEDDING_CSV: "obsEmbedding.csv",
|
|
@@ -10954,6 +10958,7 @@ const FileType$1 = {
|
|
|
10954
10958
|
OBS_SEGMENTATIONS_JSON: "obsSegmentations.json",
|
|
10955
10959
|
OBS_SETS_CSV: "obsSets.csv",
|
|
10956
10960
|
OBS_SETS_JSON: "obsSets.json",
|
|
10961
|
+
SAMPLE_SETS_CSV: "sampleSets.csv",
|
|
10957
10962
|
// OME-Zarr
|
|
10958
10963
|
IMAGE_OME_ZARR: "image.ome-zarr",
|
|
10959
10964
|
OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
|
|
@@ -10968,6 +10973,19 @@ const FileType$1 = {
|
|
|
10968
10973
|
OBS_SEGMENTATIONS_ANNDATA_ZARR: "obsSegmentations.anndata.zarr",
|
|
10969
10974
|
OBS_LABELS_ANNDATA_ZARR: "obsLabels.anndata.zarr",
|
|
10970
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",
|
|
10971
10989
|
// SpatialData
|
|
10972
10990
|
IMAGE_SPATIALDATA_ZARR: "image.spatialdata.zarr",
|
|
10973
10991
|
LABELS_SPATIALDATA_ZARR: "labels.spatialdata.zarr",
|
|
@@ -10975,6 +10993,7 @@ const FileType$1 = {
|
|
|
10975
10993
|
OBS_FEATURE_MATRIX_SPATIALDATA_ZARR: "obsFeatureMatrix.spatialdata.zarr",
|
|
10976
10994
|
OBS_SETS_SPATIALDATA_ZARR: "obsSets.spatialdata.zarr",
|
|
10977
10995
|
OBS_SPOTS_SPATIALDATA_ZARR: "obsSpots.spatialdata.zarr",
|
|
10996
|
+
FEATURE_LABELS_SPATIALDATA_ZARR: "featureLabels.spatialdata.zarr",
|
|
10978
10997
|
// TODO:
|
|
10979
10998
|
// OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
|
|
10980
10999
|
// OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
|
|
@@ -11131,7 +11150,10 @@ const CoordinationType$1 = {
|
|
|
11131
11150
|
LEGEND_VISIBLE: "legendVisible",
|
|
11132
11151
|
SPATIAL_CHANNEL_LABELS_VISIBLE: "spatialChannelLabelsVisible",
|
|
11133
11152
|
SPATIAL_CHANNEL_LABELS_ORIENTATION: "spatialChannelLabelsOrientation",
|
|
11134
|
-
SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize"
|
|
11153
|
+
SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
|
|
11154
|
+
// Multi-sample / comparative
|
|
11155
|
+
SAMPLE_TYPE: "sampleType",
|
|
11156
|
+
SAMPLE_SET_SELECTION: "sampleSetSelection"
|
|
11135
11157
|
};
|
|
11136
11158
|
const COMPONENT_COORDINATION_TYPES = {
|
|
11137
11159
|
[ViewType$1.SCATTERPLOT]: [
|
|
@@ -11379,7 +11401,9 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11379
11401
|
CoordinationType$1.OBS_SET_SELECTION,
|
|
11380
11402
|
CoordinationType$1.OBS_SET_HIGHLIGHT,
|
|
11381
11403
|
CoordinationType$1.OBS_SET_COLOR,
|
|
11382
|
-
CoordinationType$1.ADDITIONAL_OBS_SETS
|
|
11404
|
+
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
11405
|
+
CoordinationType$1.SAMPLE_TYPE,
|
|
11406
|
+
CoordinationType$1.SAMPLE_SET_SELECTION
|
|
11383
11407
|
],
|
|
11384
11408
|
[ViewType$1.FEATURE_VALUE_HISTOGRAM]: [
|
|
11385
11409
|
CoordinationType$1.DATASET,
|
|
@@ -11858,6 +11882,17 @@ z.object({
|
|
|
11858
11882
|
scoreColumn: z.string().optional()
|
|
11859
11883
|
}))
|
|
11860
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
|
+
});
|
|
11861
11896
|
z.object({
|
|
11862
11897
|
obsLabels: z.union([
|
|
11863
11898
|
annDataObsLabels,
|
|
@@ -121230,16 +121265,16 @@ function addDecoder(cases, importFn) {
|
|
|
121230
121265
|
}
|
|
121231
121266
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
121232
121267
|
}
|
|
121233
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
121234
|
-
addDecoder(5, () => import("./lzw-
|
|
121268
|
+
addDecoder([void 0, 1], () => import("./raw-246b410b.js").then((m2) => m2.default));
|
|
121269
|
+
addDecoder(5, () => import("./lzw-2042c5db.js").then((m2) => m2.default));
|
|
121235
121270
|
addDecoder(6, () => {
|
|
121236
121271
|
throw new Error("old style JPEG compression is not supported.");
|
|
121237
121272
|
});
|
|
121238
|
-
addDecoder(7, () => import("./jpeg-
|
|
121239
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
121240
|
-
addDecoder(32773, () => import("./packbits-
|
|
121241
|
-
addDecoder(34887, () => import("./lerc-
|
|
121242
|
-
addDecoder(50001, () => import("./webimage-
|
|
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));
|
|
121243
121278
|
function decodeRowAcc(row, stride) {
|
|
121244
121279
|
let length2 = row.length - stride;
|
|
121245
121280
|
let offset5 = 0;
|
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-75d74fe0.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.3.
|
|
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.
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
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",
|