@vitessce/scatterplot-embedding 3.4.11 → 3.4.14
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-9e699c70.js → deflate-8db7a1fd.js} +1 -1
- package/dist/{index-f135e4b2.js → index-b7514fa1.js} +32 -17
- package/dist/index.js +1 -1
- package/dist/{jpeg-009f4f5a.js → jpeg-e3c6cd06.js} +1 -1
- package/dist/{lerc-3a631699.js → lerc-d255ce3d.js} +1 -1
- package/dist/{lzw-0762ddb6.js → lzw-e7ee88d7.js} +1 -1
- package/dist/{packbits-89153e95.js → packbits-b69fb1e8.js} +1 -1
- package/dist/{raw-d3cd6359.js → raw-829ad888.js} +1 -1
- package/dist/{webimage-377ed019.js → webimage-91330202.js} +1 -1
- package/package.json +7 -7
|
@@ -11049,6 +11049,9 @@ const FileType$1 = {
|
|
|
11049
11049
|
// OME-Zarr
|
|
11050
11050
|
IMAGE_OME_ZARR: "image.ome-zarr",
|
|
11051
11051
|
OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
|
|
11052
|
+
// OME-Zarr - Zipped
|
|
11053
|
+
IMAGE_OME_ZARR_ZIP: "image.ome-zarr.zip",
|
|
11054
|
+
OBS_SEGMENTATIONS_OME_ZARR_ZIP: "obsSegmentations.ome-zarr.zip",
|
|
11052
11055
|
// AnnData
|
|
11053
11056
|
OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
|
|
11054
11057
|
OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
|
|
@@ -11155,6 +11158,7 @@ const CoordinationType$1 = {
|
|
|
11155
11158
|
FEATURE_TYPE: "featureType",
|
|
11156
11159
|
FEATURE_VALUE_TYPE: "featureValueType",
|
|
11157
11160
|
OBS_LABELS_TYPE: "obsLabelsType",
|
|
11161
|
+
FEATURE_LABELS_TYPE: "featureLabelsType",
|
|
11158
11162
|
// Other types
|
|
11159
11163
|
EMBEDDING_TYPE: "embeddingType",
|
|
11160
11164
|
EMBEDDING_ZOOM: "embeddingZoom",
|
|
@@ -11964,7 +11968,7 @@ const annDataObsSetsArr = z.array(z.object({
|
|
|
11964
11968
|
]),
|
|
11965
11969
|
scorePath: z.string().optional().describe("The location in the AnnData store for the set confidence scores, like 'obs/celltype_prediction_score.'")
|
|
11966
11970
|
}));
|
|
11967
|
-
|
|
11971
|
+
z.object({
|
|
11968
11972
|
obsSets: annDataObsSetsArr
|
|
11969
11973
|
});
|
|
11970
11974
|
const annDataObsFeatureColumnsArr = z.array(z.object({
|
|
@@ -12004,29 +12008,34 @@ const imageOmeZarrSchema = z.object({
|
|
|
12004
12008
|
imageOmeZarrSchema.extend({
|
|
12005
12009
|
obsTypesFromChannelNames: z.boolean().optional()
|
|
12006
12010
|
});
|
|
12007
|
-
const imageSpatialdataSchema =
|
|
12008
|
-
path: z.string()
|
|
12011
|
+
const imageSpatialdataSchema = z.object({
|
|
12012
|
+
path: z.string(),
|
|
12013
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
|
|
12009
12014
|
});
|
|
12010
12015
|
const obsSegmentationsSpatialdataSchema = z.object({
|
|
12011
|
-
// TODO: should this also extend the imageOmeZarrSchema?
|
|
12012
12016
|
// TODO: should this be renamed labelsSpatialdataSchema?
|
|
12013
12017
|
// TODO: support obsTypesFromChannelNames?
|
|
12014
|
-
path: z.string()
|
|
12018
|
+
path: z.string(),
|
|
12019
|
+
tablePath: z.string().optional().describe("The path to a table which annotates the labels. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected."),
|
|
12020
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
|
|
12015
12021
|
});
|
|
12016
12022
|
z.object({
|
|
12017
|
-
path: z.string()
|
|
12023
|
+
path: z.string(),
|
|
12024
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the coordinates. If not provided, the "global" coordinate system is assumed.')
|
|
12018
12025
|
});
|
|
12019
12026
|
const obsSpotsSpatialdataSchema = z.object({
|
|
12020
12027
|
path: z.string(),
|
|
12021
|
-
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.")
|
|
12028
|
+
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."),
|
|
12029
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the coordinates and radii. If not provided, the "global" coordinate system is assumed.')
|
|
12022
12030
|
});
|
|
12023
12031
|
const obsFeatureMatrixSpatialdataSchema = annDataObsFeatureMatrix.extend({
|
|
12024
|
-
region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional()
|
|
12032
|
+
region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
|
|
12033
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
|
|
12025
12034
|
});
|
|
12026
12035
|
const obsSetsSpatialdataSchema = z.object({
|
|
12027
12036
|
region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
|
|
12028
12037
|
tablePath: z.string().optional().describe("The path to a table which contains the index for the set values."),
|
|
12029
|
-
obsSets:
|
|
12038
|
+
obsSets: annDataObsSetsArr
|
|
12030
12039
|
});
|
|
12031
12040
|
z.object({
|
|
12032
12041
|
targetX: z.number(),
|
|
@@ -12122,15 +12131,21 @@ anndataZarrSchema.extend({
|
|
|
12122
12131
|
z.object({
|
|
12123
12132
|
// TODO: should `image` be a special schema
|
|
12124
12133
|
// to allow specifying fileUid (like for embeddingType)?
|
|
12134
|
+
// TODO: allow multiple images
|
|
12125
12135
|
image: imageSpatialdataSchema,
|
|
12126
12136
|
// TODO: should this be a special schema
|
|
12127
12137
|
// to allow specifying fileUid (like for embeddingType)?
|
|
12138
|
+
// TODO: allow multiple labels
|
|
12128
12139
|
labels: obsSegmentationsSpatialdataSchema,
|
|
12129
12140
|
obsFeatureMatrix: obsFeatureMatrixSpatialdataSchema,
|
|
12130
12141
|
obsSpots: obsSpotsSpatialdataSchema,
|
|
12131
12142
|
// TODO: obsPoints
|
|
12132
12143
|
// TODO: obsLocations
|
|
12133
|
-
obsSets: obsSetsSpatialdataSchema
|
|
12144
|
+
obsSets: obsSetsSpatialdataSchema,
|
|
12145
|
+
// TODO: obsEmbedding
|
|
12146
|
+
// TODO: obsLabels
|
|
12147
|
+
// TODO: featureLabels
|
|
12148
|
+
coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
|
|
12134
12149
|
}).partial();
|
|
12135
12150
|
z.object({
|
|
12136
12151
|
obsLabelsTypes: z.array(z.string()).optional(),
|
|
@@ -123957,16 +123972,16 @@ function addDecoder(cases, importFn) {
|
|
|
123957
123972
|
}
|
|
123958
123973
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
123959
123974
|
}
|
|
123960
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
123961
|
-
addDecoder(5, () => import("./lzw-
|
|
123975
|
+
addDecoder([void 0, 1], () => import("./raw-829ad888.js").then((m2) => m2.default));
|
|
123976
|
+
addDecoder(5, () => import("./lzw-e7ee88d7.js").then((m2) => m2.default));
|
|
123962
123977
|
addDecoder(6, () => {
|
|
123963
123978
|
throw new Error("old style JPEG compression is not supported.");
|
|
123964
123979
|
});
|
|
123965
|
-
addDecoder(7, () => import("./jpeg-
|
|
123966
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
123967
|
-
addDecoder(32773, () => import("./packbits-
|
|
123968
|
-
addDecoder(34887, () => import("./lerc-
|
|
123969
|
-
addDecoder(50001, () => import("./webimage-
|
|
123980
|
+
addDecoder(7, () => import("./jpeg-e3c6cd06.js").then((m2) => m2.default));
|
|
123981
|
+
addDecoder([8, 32946], () => import("./deflate-8db7a1fd.js").then((m2) => m2.default));
|
|
123982
|
+
addDecoder(32773, () => import("./packbits-b69fb1e8.js").then((m2) => m2.default));
|
|
123983
|
+
addDecoder(34887, () => import("./lerc-d255ce3d.js").then((m2) => m2.default));
|
|
123984
|
+
addDecoder(50001, () => import("./webimage-91330202.js").then((m2) => m2.default));
|
|
123970
123985
|
function decodeRowAcc(row, stride) {
|
|
123971
123986
|
let length2 = row.length - stride;
|
|
123972
123987
|
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-b7514fa1.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-embedding",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.14",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -20,12 +20,12 @@
|
|
|
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.4.
|
|
24
|
-
"@vitessce/legend": "3.4.
|
|
25
|
-
"@vitessce/scatterplot": "3.4.
|
|
26
|
-
"@vitessce/sets-utils": "3.4.
|
|
27
|
-
"@vitessce/utils": "3.4.
|
|
28
|
-
"@vitessce/vit-s": "3.4.
|
|
23
|
+
"@vitessce/constants-internal": "3.4.14",
|
|
24
|
+
"@vitessce/legend": "3.4.14",
|
|
25
|
+
"@vitessce/scatterplot": "3.4.14",
|
|
26
|
+
"@vitessce/sets-utils": "3.4.14",
|
|
27
|
+
"@vitessce/utils": "3.4.14",
|
|
28
|
+
"@vitessce/vit-s": "3.4.14"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"react": "^18.0.0",
|