@vitessce/heatmap 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-e18d403c.js → deflate-75c74002.js} +1 -1
- package/dist/{index-dd20d252.js → index-c4ad73b8.js} +46 -11
- package/dist/index.js +1 -1
- package/dist/{jpeg-329d0b25.js → jpeg-28dd50f3.js} +1 -1
- package/dist/{lerc-497104ea.js → lerc-13f7a96a.js} +1 -1
- package/dist/{lzw-c47337be.js → lzw-924f5d1f.js} +1 -1
- package/dist/{packbits-4373d6cf.js → packbits-9d1372b3.js} +1 -1
- package/dist/{raw-b95711bc.js → raw-73c6e451.js} +1 -1
- package/dist/{webimage-85278526.js → webimage-d888986b.js} +1 -1
- package/package.json +9 -9
|
@@ -1346,8 +1346,9 @@ function getNextScope(prevScopes) {
|
|
|
1346
1346
|
}
|
|
1347
1347
|
const DEFAULT_DARK_COLOR = [50, 50, 50];
|
|
1348
1348
|
const DEFAULT_LIGHT_COLOR$3 = [200, 200, 200];
|
|
1349
|
+
const DEFAULT_LIGHT2_COLOR = [235, 235, 235];
|
|
1349
1350
|
function getDefaultColor(theme) {
|
|
1350
|
-
return theme === "dark" ? DEFAULT_DARK_COLOR : DEFAULT_LIGHT_COLOR$3;
|
|
1351
|
+
return theme === "dark" ? DEFAULT_DARK_COLOR : theme === "light" ? DEFAULT_LIGHT_COLOR$3 : DEFAULT_LIGHT2_COLOR;
|
|
1351
1352
|
}
|
|
1352
1353
|
const DEFAULT_GL_OPTIONS = { webgl2: true };
|
|
1353
1354
|
function createDefaultUpdateCellsHover(componentName) {
|
|
@@ -10914,11 +10915,14 @@ const DataType$2 = {
|
|
|
10914
10915
|
GENOMIC_PROFILES: "genomic-profiles",
|
|
10915
10916
|
OBS_SPOTS: "obsSpots",
|
|
10916
10917
|
OBS_POINTS: "obsPoints",
|
|
10917
|
-
OBS_LOCATIONS: "obsLocations"
|
|
10918
|
+
OBS_LOCATIONS: "obsLocations",
|
|
10919
|
+
SAMPLE_SETS: "sampleSets",
|
|
10920
|
+
SAMPLE_EDGES: "sampleEdges"
|
|
10918
10921
|
};
|
|
10919
10922
|
const FileType$1 = {
|
|
10920
10923
|
// Joint file types
|
|
10921
10924
|
ANNDATA_ZARR: "anndata.zarr",
|
|
10925
|
+
ANNDATA_ZARR_ZIP: "anndata.zarr.zip",
|
|
10922
10926
|
SPATIALDATA_ZARR: "spatialdata.zarr",
|
|
10923
10927
|
// Atomic file types
|
|
10924
10928
|
OBS_EMBEDDING_CSV: "obsEmbedding.csv",
|
|
@@ -10931,6 +10935,7 @@ const FileType$1 = {
|
|
|
10931
10935
|
OBS_SEGMENTATIONS_JSON: "obsSegmentations.json",
|
|
10932
10936
|
OBS_SETS_CSV: "obsSets.csv",
|
|
10933
10937
|
OBS_SETS_JSON: "obsSets.json",
|
|
10938
|
+
SAMPLE_SETS_CSV: "sampleSets.csv",
|
|
10934
10939
|
// OME-Zarr
|
|
10935
10940
|
IMAGE_OME_ZARR: "image.ome-zarr",
|
|
10936
10941
|
OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
|
|
@@ -10945,6 +10950,19 @@ const FileType$1 = {
|
|
|
10945
10950
|
OBS_SEGMENTATIONS_ANNDATA_ZARR: "obsSegmentations.anndata.zarr",
|
|
10946
10951
|
OBS_LABELS_ANNDATA_ZARR: "obsLabels.anndata.zarr",
|
|
10947
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",
|
|
10948
10966
|
// SpatialData
|
|
10949
10967
|
IMAGE_SPATIALDATA_ZARR: "image.spatialdata.zarr",
|
|
10950
10968
|
LABELS_SPATIALDATA_ZARR: "labels.spatialdata.zarr",
|
|
@@ -10952,6 +10970,7 @@ const FileType$1 = {
|
|
|
10952
10970
|
OBS_FEATURE_MATRIX_SPATIALDATA_ZARR: "obsFeatureMatrix.spatialdata.zarr",
|
|
10953
10971
|
OBS_SETS_SPATIALDATA_ZARR: "obsSets.spatialdata.zarr",
|
|
10954
10972
|
OBS_SPOTS_SPATIALDATA_ZARR: "obsSpots.spatialdata.zarr",
|
|
10973
|
+
FEATURE_LABELS_SPATIALDATA_ZARR: "featureLabels.spatialdata.zarr",
|
|
10955
10974
|
// TODO:
|
|
10956
10975
|
// OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
|
|
10957
10976
|
// OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
|
|
@@ -11108,7 +11127,10 @@ const CoordinationType$1 = {
|
|
|
11108
11127
|
LEGEND_VISIBLE: "legendVisible",
|
|
11109
11128
|
SPATIAL_CHANNEL_LABELS_VISIBLE: "spatialChannelLabelsVisible",
|
|
11110
11129
|
SPATIAL_CHANNEL_LABELS_ORIENTATION: "spatialChannelLabelsOrientation",
|
|
11111
|
-
SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize"
|
|
11130
|
+
SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
|
|
11131
|
+
// Multi-sample / comparative
|
|
11132
|
+
SAMPLE_TYPE: "sampleType",
|
|
11133
|
+
SAMPLE_SET_SELECTION: "sampleSetSelection"
|
|
11112
11134
|
};
|
|
11113
11135
|
const COMPONENT_COORDINATION_TYPES = {
|
|
11114
11136
|
[ViewType$1.SCATTERPLOT]: [
|
|
@@ -11356,7 +11378,9 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11356
11378
|
CoordinationType$1.OBS_SET_SELECTION,
|
|
11357
11379
|
CoordinationType$1.OBS_SET_HIGHLIGHT,
|
|
11358
11380
|
CoordinationType$1.OBS_SET_COLOR,
|
|
11359
|
-
CoordinationType$1.ADDITIONAL_OBS_SETS
|
|
11381
|
+
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
11382
|
+
CoordinationType$1.SAMPLE_TYPE,
|
|
11383
|
+
CoordinationType$1.SAMPLE_SET_SELECTION
|
|
11360
11384
|
],
|
|
11361
11385
|
[ViewType$1.FEATURE_VALUE_HISTOGRAM]: [
|
|
11362
11386
|
CoordinationType$1.DATASET,
|
|
@@ -11835,6 +11859,17 @@ z.object({
|
|
|
11835
11859
|
scoreColumn: z.string().optional()
|
|
11836
11860
|
}))
|
|
11837
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
|
+
});
|
|
11838
11873
|
z.object({
|
|
11839
11874
|
obsLabels: z.union([
|
|
11840
11875
|
annDataObsLabels,
|
|
@@ -132647,16 +132682,16 @@ function addDecoder(cases, importFn) {
|
|
|
132647
132682
|
}
|
|
132648
132683
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
132649
132684
|
}
|
|
132650
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
132651
|
-
addDecoder(5, () => import("./lzw-
|
|
132685
|
+
addDecoder([void 0, 1], () => import("./raw-73c6e451.js").then((m) => m.default));
|
|
132686
|
+
addDecoder(5, () => import("./lzw-924f5d1f.js").then((m) => m.default));
|
|
132652
132687
|
addDecoder(6, () => {
|
|
132653
132688
|
throw new Error("old style JPEG compression is not supported.");
|
|
132654
132689
|
});
|
|
132655
|
-
addDecoder(7, () => import("./jpeg-
|
|
132656
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
132657
|
-
addDecoder(32773, () => import("./packbits-
|
|
132658
|
-
addDecoder(34887, () => import("./lerc-
|
|
132659
|
-
addDecoder(50001, () => import("./webimage-
|
|
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));
|
|
132660
132695
|
function decodeRowAcc(row, stride) {
|
|
132661
132696
|
let length2 = row.length - stride;
|
|
132662
132697
|
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-c4ad73b8.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/heatmap",
|
|
3
|
-
"version": "3.3.
|
|
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.
|
|
24
|
-
"@vitessce/gl": "3.3.
|
|
25
|
-
"@vitessce/legend": "3.3.
|
|
26
|
-
"@vitessce/tooltip": "3.3.
|
|
27
|
-
"@vitessce/sets-utils": "3.3.
|
|
28
|
-
"@vitessce/utils": "3.3.
|
|
29
|
-
"@vitessce/
|
|
30
|
-
"@vitessce/
|
|
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",
|