@vitessce/csv 3.8.13 → 3.9.1

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/index.js CHANGED
@@ -523,6 +523,7 @@ const CoordinationType$1 = {
523
523
  OBS_SET_HIGHLIGHT: "obsSetHighlight",
524
524
  OBS_SET_EXPANSION: "obsSetExpansion",
525
525
  OBS_SET_COLOR: "obsSetColor",
526
+ FEATURE_COLOR: "featureColor",
526
527
  FEATURE_HIGHLIGHT: "featureHighlight",
527
528
  FEATURE_SELECTION: "featureSelection",
528
529
  FEATURE_SET_SELECTION: "featureSetSelection",
@@ -1097,6 +1098,8 @@ const CoordinationType$1 = {
1097
1098
  CoordinationType$1.OBS_SET_FILTER,
1098
1099
  CoordinationType$1.OBS_SET_HIGHLIGHT,
1099
1100
  CoordinationType$1.OBS_SET_COLOR,
1101
+ CoordinationType$1.FEATURE_COLOR,
1102
+ CoordinationType$1.FEATURE_FILTER_MODE,
1100
1103
  CoordinationType$1.FEATURE_HIGHLIGHT,
1101
1104
  CoordinationType$1.FEATURE_SELECTION,
1102
1105
  CoordinationType$1.FEATURE_VALUE_COLORMAP,
@@ -1311,6 +1314,8 @@ const CoordinationType$1 = {
1311
1314
  CoordinationType$1.SPATIAL_SPOT_STROKE_WIDTH,
1312
1315
  CoordinationType$1.SPATIAL_LAYER_COLOR,
1313
1316
  CoordinationType$1.OBS_COLOR_ENCODING,
1317
+ CoordinationType$1.FEATURE_COLOR,
1318
+ CoordinationType$1.FEATURE_FILTER_MODE,
1314
1319
  CoordinationType$1.FEATURE_VALUE_COLORMAP,
1315
1320
  CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
1316
1321
  CoordinationType$1.FEATURE_SELECTION,
@@ -2518,7 +2523,7 @@ class ObsPointsCsvLoader extends CsvLoader {
2518
2523
  data: [obsLocationsX, obsLocationsY],
2519
2524
  shape: [2, obsLocationsX.length]
2520
2525
  };
2521
- this.cachedResult = { obsIndex, obsPoints };
2526
+ this.cachedResult = { obsIndex, obsPoints, obsPointsTilingType: "full" };
2522
2527
  return this.cachedResult;
2523
2528
  }
2524
2529
  async load() {
@@ -11086,7 +11091,9 @@ const obsSegmentationsSpatialdataSchema = z.object({
11086
11091
  const obsPointsSpatialdataSchema = z.object({
11087
11092
  path: z.string().describe("The path to the point data."),
11088
11093
  tablePath: z.string().optional().describe("The path to a table which annotates the points. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected."),
11089
- 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.')
11094
+ 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.'),
11095
+ featureIndexColumn: z.string().optional().describe("The name of the column in the table which contains the feature (e.g., gene) indices associated with each point (aligned with the table var.index dataframe column)."),
11096
+ mortonCodeColumn: z.string().optional().describe('The name of the column in the table which contains the Morton codes for each point, used for efficient spatial querying. If not provided, Vitessce will assume the default column name "morton_code_2d".')
11090
11097
  });
11091
11098
  z.object({
11092
11099
  path: z.string(),
@@ -5,6 +5,7 @@ export default class ObsPointsCsvLoader extends CsvLoader {
5
5
  data: Float32Array[];
6
6
  shape: number[];
7
7
  };
8
+ obsPointsTilingType: string;
8
9
  };
9
10
  cachedResult: {
10
11
  obsIndex: any;
@@ -12,6 +13,7 @@ export default class ObsPointsCsvLoader extends CsvLoader {
12
13
  data: Float32Array[];
13
14
  shape: number[];
14
15
  };
16
+ obsPointsTilingType: string;
15
17
  } | undefined;
16
18
  load(): Promise<LoaderResult<{
17
19
  obsIndex: any;
@@ -19,6 +21,7 @@ export default class ObsPointsCsvLoader extends CsvLoader {
19
21
  data: Float32Array[];
20
22
  shape: number[];
21
23
  };
24
+ obsPointsTilingType: string;
22
25
  }>>;
23
26
  }
24
27
  import CsvLoader from './CsvLoader.js';
@@ -1 +1 @@
1
- {"version":3,"file":"ObsPointsCsv.d.ts","sourceRoot":"","sources":["../../src/csv-loaders/ObsPointsCsv.js"],"names":[],"mappings":"AAIA;IACE;;;;;;MAcC;IAFC;;;;;;kBAA2C;IAI7C;;;;;;QA2BC;CACF;sBA/CqB,gBAAgB;6BADT,oBAAoB"}
1
+ {"version":3,"file":"ObsPointsCsv.d.ts","sourceRoot":"","sources":["../../src/csv-loaders/ObsPointsCsv.js"],"names":[],"mappings":"AAIA;IACE;;;;;;;MAcC;IAFC;;;;;;;kBAAwE;IAI1E;;;;;;;QA2BC;CACF;sBA/CqB,gBAAgB;6BADT,oBAAoB"}
@@ -14,7 +14,7 @@ export default class ObsPointsCsvLoader extends CsvLoader {
14
14
  data: [obsLocationsX, obsLocationsY],
15
15
  shape: [2, obsLocationsX.length],
16
16
  };
17
- this.cachedResult = { obsIndex, obsPoints };
17
+ this.cachedResult = { obsIndex, obsPoints, obsPointsTilingType: 'full' };
18
18
  return this.cachedResult;
19
19
  }
20
20
  async load() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/csv",
3
- "version": "3.8.13",
3
+ "version": "3.9.1",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -18,11 +18,11 @@
18
18
  "dependencies": {
19
19
  "d3-array": "^2.4.0",
20
20
  "d3-dsv": "^1.1.1",
21
- "@vitessce/constants-internal": "3.8.13",
22
- "@vitessce/sets-utils": "3.8.13",
23
- "@vitessce/abstract": "3.8.13",
24
- "@vitessce/error": "3.8.13",
25
- "@vitessce/config": "3.8.13"
21
+ "@vitessce/constants-internal": "3.9.1",
22
+ "@vitessce/sets-utils": "3.9.1",
23
+ "@vitessce/abstract": "3.9.1",
24
+ "@vitessce/config": "3.9.1",
25
+ "@vitessce/error": "3.9.1"
26
26
  },
27
27
  "scripts": {
28
28
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",
@@ -15,7 +15,7 @@ export default class ObsPointsCsvLoader extends CsvLoader {
15
15
  data: [obsLocationsX, obsLocationsY],
16
16
  shape: [2, obsLocationsX.length],
17
17
  };
18
- this.cachedResult = { obsIndex, obsPoints };
18
+ this.cachedResult = { obsIndex, obsPoints, obsPointsTilingType: 'full' };
19
19
  return this.cachedResult;
20
20
  }
21
21