@vitessce/scatterplot-embedding 3.8.9 → 3.8.13
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-YIIHzd8y.js → deflate-ClaAmriP.js} +1 -1
- package/dist/{index-DYO3tfis.js → index-BK98jzeZ.js} +634 -411
- package/dist/index.js +1 -1
- package/dist/{jpeg-BBSvSY8b.js → jpeg-Ci-wqRKm.js} +1 -1
- package/dist/{lerc-DsiDEIic.js → lerc-S2pXAGyz.js} +1 -1
- package/dist/{lzw-B2nz96hr.js → lzw--H4kL7kE.js} +1 -1
- package/dist/{packbits-JodEChjB.js → packbits-zSU7Xz9P.js} +1 -1
- package/dist/{raw-xM2f2nBA.js → raw-CDyxv3KP.js} +1 -1
- package/dist/{webimage-Bk5jq0He.js → webimage-dTZh6fML.js} +1 -1
- package/dist-tsc/EmbeddingScatterplotSubscriber.d.ts.map +1 -1
- package/dist-tsc/EmbeddingScatterplotSubscriber.js +2 -2
- package/package.json +8 -8
- package/src/EmbeddingScatterplotSubscriber.js +2 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-BK98jzeZ.js";
|
|
3
3
|
const LercParameters = {
|
|
4
4
|
AddCompression: 1
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbeddingScatterplotSubscriber.d.ts","sourceRoot":"","sources":["../src/EmbeddingScatterplotSubscriber.js"],"names":[],"mappings":"AA6CA;;;;;;;;;;;;GAYG;AACH,sDAVG;IAAsB,IAAI,EAAlB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAEU,mBAAmB;IAErB,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;CAEhB,
|
|
1
|
+
{"version":3,"file":"EmbeddingScatterplotSubscriber.d.ts","sourceRoot":"","sources":["../src/EmbeddingScatterplotSubscriber.js"],"names":[],"mappings":"AA6CA;;;;;;;;;;;;GAYG;AACH,sDAVG;IAAsB,IAAI,EAAlB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAEU,mBAAmB;IAErB,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;CAEhB,eA6mBA"}
|
|
@@ -148,7 +148,7 @@ export function EmbeddingScatterplotSubscriber(props) {
|
|
|
148
148
|
// extents of the cell coordinates on the x/y axes.
|
|
149
149
|
useEffect(() => {
|
|
150
150
|
if (xRange && yRange && width && height) {
|
|
151
|
-
const pointSizeDevicePixels = getPointSizeDevicePixels(window.devicePixelRatio, zoom, xRange, yRange, width, height);
|
|
151
|
+
const pointSizeDevicePixels = getPointSizeDevicePixels(window.devicePixelRatio, zoom, xRange, yRange, width, height, numCells);
|
|
152
152
|
setDynamicCellRadius(pointSizeDevicePixels);
|
|
153
153
|
const nextCellOpacityScale = getPointOpacity(zoom, xRange, yRange, width, height, numCells, averageFillDensity);
|
|
154
154
|
setDynamicCellOpacity(nextCellOpacityScale);
|
|
@@ -326,7 +326,7 @@ export function EmbeddingScatterplotSubscriber(props) {
|
|
|
326
326
|
}, updateViewInfo: setComponentViewInfo, getExpressionValue: getExpressionValue, getCellIsSelected: getCellIsSelected, obsSetSelection: cellSetSelection, sampleSetSelection: sampleSetSelection,
|
|
327
327
|
// InternMap data structures where keys are
|
|
328
328
|
// obsSet -> sampleSet -> arrayKey -> [].
|
|
329
|
-
stratifiedData: stratifiedData, obsSetColor: cellSetColor, sampleSetColor: sampleSetColor, contourThresholds: contourThresholds, contourColorEncoding: contourColorEncoding, contourColor: contourColor, contoursFilled: embeddingContoursFilled, embeddingPointsVisible: embeddingPointsVisible, embeddingContoursVisible: embeddingContoursVisible, circleInfo: circleInfo, featureSelection: geneSelection }), tooltipsVisible && width && height ? (_jsx(ScatterplotTooltipSubscriber, { parentUuid: uuid, obsHighlight: cellHighlight, width: width, height: height, getObsInfo: getObsInfo, featureType: featureType, featureLabelsMap: featureLabelsMap })) : null, _jsx(Legend, { visible: true, theme: theme, featureType: featureType, featureValueType: featureValueType, obsColorEncoding: cellColorEncoding, featureSelection: geneSelection, featureLabelsMap: featureLabelsMap, featureValueColormap: geneExpressionColormap, featureValueColormapRange: geneExpressionColormapRange, obsSetSelection: cellSetSelection, extent: expressionExtents, missing: expressionMissing,
|
|
329
|
+
stratifiedData: stratifiedData, obsSetColor: cellSetColor, sampleSetColor: sampleSetColor, contourThresholds: contourThresholds, contourColorEncoding: contourColorEncoding, contourColor: contourColor, contoursFilled: embeddingContoursFilled, embeddingPointsVisible: embeddingPointsVisible, embeddingContoursVisible: embeddingContoursVisible, circleInfo: circleInfo, featureSelection: geneSelection }), tooltipsVisible && width && height ? (_jsx(ScatterplotTooltipSubscriber, { parentUuid: uuid, obsHighlight: cellHighlight, width: width, height: height, getObsInfo: getObsInfo, featureType: featureType, featureLabelsMap: featureLabelsMap })) : null, _jsx(Legend, { visible: true, theme: theme, featureType: featureType, featureValueType: featureValueType, obsColorEncoding: cellColorEncoding, featureSelection: geneSelection, featureLabelsMap: featureLabelsMap, featureValueColormap: geneExpressionColormap, featureValueColormapRange: geneExpressionColormapRange, setFeatureValueColormapRange: setGeneExpressionColormapRange, obsSetSelection: cellSetSelection, extent: expressionExtents, missing: expressionMissing,
|
|
330
330
|
// Contour percentile legend
|
|
331
331
|
pointsVisible: embeddingPointsVisible, contoursVisible: embeddingContoursVisible, contoursFilled: embeddingContoursFilled, contourPercentiles: contourPercentiles || DEFAULT_CONTOUR_PERCENTILES, contourThresholds: contourThresholds, featureAggregationStrategy: featureAggregationStrategyToUse })] }));
|
|
332
332
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/scatterplot-embedding",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.13",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"lodash-es": "^4.17.21",
|
|
21
21
|
"react-aria": "^3.28.0",
|
|
22
22
|
"@turf/circle": "^7.2.0",
|
|
23
|
-
"@vitessce/styles": "3.8.
|
|
24
|
-
"@vitessce/constants-internal": "3.8.
|
|
25
|
-
"@vitessce/legend": "3.8.
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
28
|
-
"@vitessce/
|
|
29
|
-
"@vitessce/
|
|
23
|
+
"@vitessce/styles": "3.8.13",
|
|
24
|
+
"@vitessce/constants-internal": "3.8.13",
|
|
25
|
+
"@vitessce/legend": "3.8.13",
|
|
26
|
+
"@vitessce/sets-utils": "3.8.13",
|
|
27
|
+
"@vitessce/utils": "3.8.13",
|
|
28
|
+
"@vitessce/vit-s": "3.8.13",
|
|
29
|
+
"@vitessce/scatterplot": "3.8.13"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"react": "18.3.1",
|
|
@@ -335,7 +335,7 @@ export function EmbeddingScatterplotSubscriber(props) {
|
|
|
335
335
|
useEffect(() => {
|
|
336
336
|
if (xRange && yRange && width && height) {
|
|
337
337
|
const pointSizeDevicePixels = getPointSizeDevicePixels(
|
|
338
|
-
window.devicePixelRatio, zoom, xRange, yRange, width, height,
|
|
338
|
+
window.devicePixelRatio, zoom, xRange, yRange, width, height, numCells,
|
|
339
339
|
);
|
|
340
340
|
setDynamicCellRadius(pointSizeDevicePixels);
|
|
341
341
|
|
|
@@ -662,6 +662,7 @@ export function EmbeddingScatterplotSubscriber(props) {
|
|
|
662
662
|
featureLabelsMap={featureLabelsMap}
|
|
663
663
|
featureValueColormap={geneExpressionColormap}
|
|
664
664
|
featureValueColormapRange={geneExpressionColormapRange}
|
|
665
|
+
setFeatureValueColormapRange={setGeneExpressionColormapRange}
|
|
665
666
|
obsSetSelection={cellSetSelection}
|
|
666
667
|
extent={expressionExtents}
|
|
667
668
|
missing={expressionMissing}
|