@vitessce/scatterplot 3.2.2 → 3.3.0
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-d451b100.js → deflate-de78ef84.js} +1 -1
- package/dist/{index-a703efd5.js → index-e56d07d4.js} +47 -15
- package/dist/index.js +1 -1
- package/dist/{jpeg-61cd3c68.js → jpeg-dc39f309.js} +1 -1
- package/dist/{lerc-bdc18460.js → lerc-5ad03453.js} +1 -1
- package/dist/{lzw-038a2f32.js → lzw-222a43b7.js} +1 -1
- package/dist/{packbits-f6194869.js → packbits-e78514a9.js} +1 -1
- package/dist/{raw-0c6dd216.js → raw-c0ed9ed9.js} +1 -1
- package/dist/{webimage-a4c2e646.js → webimage-ee2f72af.js} +1 -1
- package/package.json +7 -7
|
@@ -104715,16 +104715,16 @@ function addDecoder(cases, importFn) {
|
|
|
104715
104715
|
}
|
|
104716
104716
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
104717
104717
|
}
|
|
104718
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
104719
|
-
addDecoder(5, () => import("./lzw-
|
|
104718
|
+
addDecoder([void 0, 1], () => import("./raw-c0ed9ed9.js").then((m2) => m2.default));
|
|
104719
|
+
addDecoder(5, () => import("./lzw-222a43b7.js").then((m2) => m2.default));
|
|
104720
104720
|
addDecoder(6, () => {
|
|
104721
104721
|
throw new Error("old style JPEG compression is not supported.");
|
|
104722
104722
|
});
|
|
104723
|
-
addDecoder(7, () => import("./jpeg-
|
|
104724
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
104725
|
-
addDecoder(32773, () => import("./packbits-
|
|
104726
|
-
addDecoder(34887, () => import("./lerc-
|
|
104727
|
-
addDecoder(50001, () => import("./webimage-
|
|
104723
|
+
addDecoder(7, () => import("./jpeg-dc39f309.js").then((m2) => m2.default));
|
|
104724
|
+
addDecoder([8, 32946], () => import("./deflate-de78ef84.js").then((m2) => m2.default));
|
|
104725
|
+
addDecoder(32773, () => import("./packbits-e78514a9.js").then((m2) => m2.default));
|
|
104726
|
+
addDecoder(34887, () => import("./lerc-5ad03453.js").then((m2) => m2.default));
|
|
104727
|
+
addDecoder(50001, () => import("./webimage-ee2f72af.js").then((m2) => m2.default));
|
|
104728
104728
|
function decodeRowAcc(row, stride) {
|
|
104729
104729
|
let length2 = row.length - stride;
|
|
104730
104730
|
let offset5 = 0;
|
|
@@ -123996,6 +123996,7 @@ const DataType$1 = {
|
|
|
123996
123996
|
const FileType$1 = {
|
|
123997
123997
|
// Joint file types
|
|
123998
123998
|
ANNDATA_ZARR: "anndata.zarr",
|
|
123999
|
+
SPATIALDATA_ZARR: "spatialdata.zarr",
|
|
123999
124000
|
// Atomic file types
|
|
124000
124001
|
OBS_EMBEDDING_CSV: "obsEmbedding.csv",
|
|
124001
124002
|
OBS_SPOTS_CSV: "obsSpots.csv",
|
|
@@ -124018,6 +124019,16 @@ const FileType$1 = {
|
|
|
124018
124019
|
OBS_SEGMENTATIONS_ANNDATA_ZARR: "obsSegmentations.anndata.zarr",
|
|
124019
124020
|
OBS_LABELS_ANNDATA_ZARR: "obsLabels.anndata.zarr",
|
|
124020
124021
|
FEATURE_LABELS_ANNDATA_ZARR: "featureLabels.anndata.zarr",
|
|
124022
|
+
// SpatialData
|
|
124023
|
+
IMAGE_SPATIALDATA_ZARR: "image.spatialdata.zarr",
|
|
124024
|
+
LABELS_SPATIALDATA_ZARR: "labels.spatialdata.zarr",
|
|
124025
|
+
SHAPES_SPATIALDATA_ZARR: "shapes.spatialdata.zarr",
|
|
124026
|
+
OBS_FEATURE_MATRIX_SPATIALDATA_ZARR: "obsFeatureMatrix.spatialdata.zarr",
|
|
124027
|
+
OBS_SETS_SPATIALDATA_ZARR: "obsSets.spatialdata.zarr",
|
|
124028
|
+
OBS_SPOTS_SPATIALDATA_ZARR: "obsSpots.spatialdata.zarr",
|
|
124029
|
+
// TODO:
|
|
124030
|
+
// OBS_POINTS_SPATIALDATA_ZARR: 'obsPoints.spatialdata.zarr',
|
|
124031
|
+
// OBS_LOCATIONS_SPATIALDATA_ZARR: 'obsLocations.spatialdata.zarr',
|
|
124021
124032
|
// MuData
|
|
124022
124033
|
OBS_FEATURE_MATRIX_MUDATA_ZARR: "obsFeatureMatrix.mudata.zarr",
|
|
124023
124034
|
OBS_SETS_MUDATA_ZARR: "obsSets.mudata.zarr",
|
|
@@ -124454,9 +124465,30 @@ z.object({
|
|
|
124454
124465
|
offsetsUrl: z.string().optional(),
|
|
124455
124466
|
coordinateTransformations: omeCoordinateTransformations.optional()
|
|
124456
124467
|
});
|
|
124457
|
-
z.object({
|
|
124468
|
+
const imageOmeZarrSchema = z.object({
|
|
124458
124469
|
coordinateTransformations: omeCoordinateTransformations.optional()
|
|
124459
124470
|
});
|
|
124471
|
+
imageOmeZarrSchema.extend({
|
|
124472
|
+
path: z.string()
|
|
124473
|
+
});
|
|
124474
|
+
z.object({
|
|
124475
|
+
path: z.string()
|
|
124476
|
+
});
|
|
124477
|
+
z.object({
|
|
124478
|
+
path: z.string()
|
|
124479
|
+
});
|
|
124480
|
+
z.object({
|
|
124481
|
+
path: z.string(),
|
|
124482
|
+
tablePath: z.string().optional().describe("The path to a table which annotates the spots. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected.")
|
|
124483
|
+
});
|
|
124484
|
+
annDataObsFeatureMatrix.extend({
|
|
124485
|
+
region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional()
|
|
124486
|
+
});
|
|
124487
|
+
z.object({
|
|
124488
|
+
region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
|
|
124489
|
+
tablePath: z.string().optional().describe("The path to a table which contains the index for the set values."),
|
|
124490
|
+
obsSets: annDataObsSets
|
|
124491
|
+
});
|
|
124460
124492
|
z.object({
|
|
124461
124493
|
obsIndex: z.string(),
|
|
124462
124494
|
obsEmbedding: z.array(z.string()).length(2)
|
|
@@ -131014,9 +131046,9 @@ const schemePlasma = [[13, 8, 135], [16, 7, 136], [19, 7, 137], [22, 7, 138], [2
|
|
|
131014
131046
|
function rgbSpline(spline) {
|
|
131015
131047
|
return (colors) => {
|
|
131016
131048
|
const n2 = colors.length;
|
|
131017
|
-
|
|
131018
|
-
|
|
131019
|
-
|
|
131049
|
+
const r2 = new Array(n2);
|
|
131050
|
+
const g2 = new Array(n2);
|
|
131051
|
+
const b = new Array(n2);
|
|
131020
131052
|
let i2;
|
|
131021
131053
|
let color;
|
|
131022
131054
|
for (i2 = 0; i2 < n2; ++i2) {
|
|
@@ -131025,10 +131057,10 @@ function rgbSpline(spline) {
|
|
|
131025
131057
|
g2[i2] = color[1] || 0;
|
|
131026
131058
|
b[i2] = color[2] || 0;
|
|
131027
131059
|
}
|
|
131028
|
-
|
|
131029
|
-
|
|
131030
|
-
|
|
131031
|
-
return (t2) => [
|
|
131060
|
+
const rFunc = spline(r2);
|
|
131061
|
+
const gFunc = spline(g2);
|
|
131062
|
+
const bFunc = spline(b);
|
|
131063
|
+
return (t2) => [rFunc(t2), gFunc(t2), bFunc(t2)];
|
|
131032
131064
|
};
|
|
131033
131065
|
}
|
|
131034
131066
|
function basis(values2) {
|
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-e56d07d4.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",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"d3-quadtree": "^1.0.7",
|
|
24
24
|
"lodash-es": "^4.17.21",
|
|
25
25
|
"react-aria": "^3.28.0",
|
|
26
|
-
"@vitessce/constants-internal": "3.
|
|
27
|
-
"@vitessce/gl": "3.
|
|
28
|
-
"@vitessce/icons": "3.
|
|
29
|
-
"@vitessce/tooltip": "3.
|
|
30
|
-
"@vitessce/utils": "3.
|
|
31
|
-
"@vitessce/vit-s": "3.
|
|
26
|
+
"@vitessce/constants-internal": "3.3.0",
|
|
27
|
+
"@vitessce/gl": "3.3.0",
|
|
28
|
+
"@vitessce/icons": "3.3.0",
|
|
29
|
+
"@vitessce/tooltip": "3.3.0",
|
|
30
|
+
"@vitessce/utils": "3.3.0",
|
|
31
|
+
"@vitessce/vit-s": "3.3.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@testing-library/jest-dom": "^5.16.4",
|