@vitessce/scatterplot-gating 3.5.10 → 3.5.12
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-2c9756f7.js → deflate-595ebb08.js} +1 -1
- package/dist/{index-67cb7972.js → index-358efa8c.js} +56 -16
- package/dist/index.js +1 -1
- package/dist/{jpeg-e26c52a2.js → jpeg-dc028a84.js} +1 -1
- package/dist/{lerc-322139e5.js → lerc-2ca91b92.js} +1 -1
- package/dist/{lzw-406e64f6.js → lzw-27928326.js} +1 -1
- package/dist/{packbits-681ab206.js → packbits-dac7ad8f.js} +1 -1
- package/dist/{raw-1b3331d8.js → raw-4b503a46.js} +1 -1
- package/dist/{webimage-a4ac1e76.js → webimage-b94b984c.js} +1 -1
- package/package.json +6 -6
|
@@ -11461,6 +11461,7 @@ const CoordinationType$1 = {
|
|
|
11461
11461
|
FEATURE_VALUE_COLORMAP: "featureValueColormap",
|
|
11462
11462
|
FEATURE_VALUE_TRANSFORM: "featureValueTransform",
|
|
11463
11463
|
FEATURE_VALUE_COLORMAP_RANGE: "featureValueColormapRange",
|
|
11464
|
+
FEATURE_AGGREGATION_STRATEGY: "featureAggregationStrategy",
|
|
11464
11465
|
OBS_COLOR_ENCODING: "obsColorEncoding",
|
|
11465
11466
|
SPATIAL_IMAGE_LAYER: "spatialImageLayer",
|
|
11466
11467
|
SPATIAL_SEGMENTATION_LAYER: "spatialSegmentationLayer",
|
|
@@ -11603,6 +11604,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11603
11604
|
CoordinationType$1.FEATURE_SELECTION,
|
|
11604
11605
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
11605
11606
|
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
11607
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
11606
11608
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
11607
11609
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
11608
11610
|
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
@@ -11646,6 +11648,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11646
11648
|
CoordinationType$1.FEATURE_SELECTION,
|
|
11647
11649
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
11648
11650
|
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
11651
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
11649
11652
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
11650
11653
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
11651
11654
|
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
@@ -11725,10 +11728,12 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11725
11728
|
CoordinationType$1.FEATURE_SELECTION,
|
|
11726
11729
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
11727
11730
|
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
11731
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
11728
11732
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
11729
11733
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
11730
11734
|
CoordinationType$1.MOLECULE_HIGHLIGHT,
|
|
11731
|
-
CoordinationType$1.TOOLTIPS_VISIBLE
|
|
11735
|
+
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
11736
|
+
CoordinationType$1.PHOTOMETRIC_INTERPRETATION
|
|
11732
11737
|
],
|
|
11733
11738
|
[ViewType$1.SPATIAL_BETA]: [
|
|
11734
11739
|
CoordinationType$1.META_COORDINATION_SCOPES,
|
|
@@ -11762,6 +11767,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11762
11767
|
CoordinationType$1.FEATURE_SELECTION,
|
|
11763
11768
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
11764
11769
|
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
11770
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
11765
11771
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
11766
11772
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
11767
11773
|
CoordinationType$1.MOLECULE_HIGHLIGHT,
|
|
@@ -11800,7 +11806,8 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11800
11806
|
CoordinationType$1.LEGEND_VISIBLE,
|
|
11801
11807
|
CoordinationType$1.SPATIAL_CHANNEL_LABELS_VISIBLE,
|
|
11802
11808
|
CoordinationType$1.SPATIAL_CHANNEL_LABELS_ORIENTATION,
|
|
11803
|
-
CoordinationType$1.SPATIAL_CHANNEL_LABEL_SIZE
|
|
11809
|
+
CoordinationType$1.SPATIAL_CHANNEL_LABEL_SIZE,
|
|
11810
|
+
CoordinationType$1.PHOTOMETRIC_INTERPRETATION
|
|
11804
11811
|
],
|
|
11805
11812
|
[ViewType$1.HEATMAP]: [
|
|
11806
11813
|
CoordinationType$1.DATASET,
|
|
@@ -11875,6 +11882,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11875
11882
|
CoordinationType$1.FEATURE_SELECTION,
|
|
11876
11883
|
CoordinationType$1.FEATURE_VALUE_TRANSFORM,
|
|
11877
11884
|
CoordinationType$1.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
11885
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
11878
11886
|
CoordinationType$1.OBS_SET_SELECTION,
|
|
11879
11887
|
CoordinationType$1.OBS_SET_FILTER,
|
|
11880
11888
|
CoordinationType$1.OBS_SET_HIGHLIGHT,
|
|
@@ -11890,6 +11898,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11890
11898
|
CoordinationType$1.FEATURE_TYPE,
|
|
11891
11899
|
CoordinationType$1.FEATURE_VALUE_TYPE,
|
|
11892
11900
|
CoordinationType$1.FEATURE_SELECTION,
|
|
11901
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
11893
11902
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
11894
11903
|
CoordinationType$1.OBS_SET_COLOR,
|
|
11895
11904
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
@@ -11913,7 +11922,8 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11913
11922
|
CoordinationType$1.SPATIAL_ROTATION_Y,
|
|
11914
11923
|
CoordinationType$1.SPATIAL_ROTATION_Z,
|
|
11915
11924
|
CoordinationType$1.SPATIAL_ROTATION_ORBIT,
|
|
11916
|
-
CoordinationType$1.SPATIAL_ORBIT_AXIS
|
|
11925
|
+
CoordinationType$1.SPATIAL_ORBIT_AXIS,
|
|
11926
|
+
CoordinationType$1.PHOTOMETRIC_INTERPRETATION
|
|
11917
11927
|
],
|
|
11918
11928
|
[ViewType$1.LAYER_CONTROLLER_BETA]: [
|
|
11919
11929
|
CoordinationType$1.META_COORDINATION_SCOPES,
|
|
@@ -11968,6 +11978,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
11968
11978
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
11969
11979
|
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
11970
11980
|
CoordinationType$1.FEATURE_SELECTION,
|
|
11981
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
11971
11982
|
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
11972
11983
|
CoordinationType$1.TOOLTIP_CROSSHAIRS_VISIBLE,
|
|
11973
11984
|
CoordinationType$1.LEGEND_VISIBLE,
|
|
@@ -12008,6 +12019,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
12008
12019
|
CoordinationType$1.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
12009
12020
|
CoordinationType$1.FEATURE_VALUE_POSITIVITY_THRESHOLD,
|
|
12010
12021
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
12022
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
12011
12023
|
CoordinationType$1.OBS_SET_SELECTION,
|
|
12012
12024
|
CoordinationType$1.OBS_SET_FILTER,
|
|
12013
12025
|
CoordinationType$1.OBS_SET_HIGHLIGHT,
|
|
@@ -12036,6 +12048,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
12036
12048
|
CoordinationType$1.FEATURE_SELECTION,
|
|
12037
12049
|
CoordinationType$1.FEATURE_VALUE_TRANSFORM,
|
|
12038
12050
|
CoordinationType$1.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
12051
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
12039
12052
|
CoordinationType$1.OBS_SET_SELECTION,
|
|
12040
12053
|
CoordinationType$1.OBS_SET_HIGHLIGHT,
|
|
12041
12054
|
CoordinationType$1.OBS_HIGHLIGHT,
|
|
@@ -12140,6 +12153,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
12140
12153
|
CoordinationType$1.OBS_TYPE,
|
|
12141
12154
|
CoordinationType$1.SAMPLE_TYPE,
|
|
12142
12155
|
CoordinationType$1.FEATURE_SELECTION,
|
|
12156
|
+
CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
|
|
12143
12157
|
CoordinationType$1.SAMPLE_SET_SELECTION,
|
|
12144
12158
|
CoordinationType$1.SAMPLE_SET_FILTER,
|
|
12145
12159
|
CoordinationType$1.OBS_SET_SELECTION,
|
|
@@ -12447,6 +12461,7 @@ z.object({
|
|
|
12447
12461
|
termColumn: z.string().optional(),
|
|
12448
12462
|
pValueColumn: z.string(),
|
|
12449
12463
|
pValueAdjusted: z.boolean().optional(),
|
|
12464
|
+
featureSetLibrary: z.string().optional().describe("Optionally, provide a feature set library name. By default, Reactome_2022."),
|
|
12450
12465
|
analysisType: z.string().optional().describe("Optionally, provide an analysis_type name. By default, pertpy_hypergeometric.")
|
|
12451
12466
|
});
|
|
12452
12467
|
z.object({
|
|
@@ -12457,7 +12472,6 @@ z.object({
|
|
|
12457
12472
|
foldChangeColumn: z.string().describe("The log-fold change is then calculated between this expected sample and the expected sample with no active covariates from the intercept section."),
|
|
12458
12473
|
foldChangeTransformation: z.enum(["log2"]).optional(),
|
|
12459
12474
|
isCredibleEffectColumn: z.string().describe("Column which annotates effects as being credible or not (boolean)."),
|
|
12460
|
-
covariateColumn: z.string().describe("Column which defines the covariate used in the analysis."),
|
|
12461
12475
|
analysisType: z.string().optional().describe("Optionally, provide an analysis_type name. By default, sccoda_df.")
|
|
12462
12476
|
});
|
|
12463
12477
|
const annDataObsLabels = annDataObs;
|
|
@@ -127193,8 +127207,15 @@ class SelectionLayer extends CompositeLayer {
|
|
|
127193
127207
|
if (!nodePolygonContainsSelectedPolygon && !nodePolygonWithinSelectedPolygon && !nodePolygonOverlapsSelectedPolgyon) {
|
|
127194
127208
|
return true;
|
|
127195
127209
|
}
|
|
127196
|
-
if (node.data
|
|
127197
|
-
|
|
127210
|
+
if (node.data) {
|
|
127211
|
+
let current = node;
|
|
127212
|
+
while (current) {
|
|
127213
|
+
const pointCoords = [].slice.call(getObsCoords(current.data));
|
|
127214
|
+
if (booleanPointInPolygon$1(point$1(pointCoords), selectedPolygon)) {
|
|
127215
|
+
pickingInfos.push(current.data);
|
|
127216
|
+
}
|
|
127217
|
+
current = current.next;
|
|
127218
|
+
}
|
|
127198
127219
|
}
|
|
127199
127220
|
return false;
|
|
127200
127221
|
});
|
|
@@ -128406,16 +128427,16 @@ function addDecoder(cases, importFn) {
|
|
|
128406
128427
|
}
|
|
128407
128428
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
128408
128429
|
}
|
|
128409
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
128410
|
-
addDecoder(5, () => import("./lzw-
|
|
128430
|
+
addDecoder([void 0, 1], () => import("./raw-4b503a46.js").then((m2) => m2.default));
|
|
128431
|
+
addDecoder(5, () => import("./lzw-27928326.js").then((m2) => m2.default));
|
|
128411
128432
|
addDecoder(6, () => {
|
|
128412
128433
|
throw new Error("old style JPEG compression is not supported.");
|
|
128413
128434
|
});
|
|
128414
|
-
addDecoder(7, () => import("./jpeg-
|
|
128415
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
128416
|
-
addDecoder(32773, () => import("./packbits-
|
|
128417
|
-
addDecoder(34887, () => import("./lerc-
|
|
128418
|
-
addDecoder(50001, () => import("./webimage-
|
|
128435
|
+
addDecoder(7, () => import("./jpeg-dc028a84.js").then((m2) => m2.default));
|
|
128436
|
+
addDecoder([8, 32946], () => import("./deflate-595ebb08.js").then((m2) => m2.default));
|
|
128437
|
+
addDecoder(32773, () => import("./packbits-dac7ad8f.js").then((m2) => m2.default));
|
|
128438
|
+
addDecoder(34887, () => import("./lerc-2ca91b92.js").then((m2) => m2.default));
|
|
128439
|
+
addDecoder(50001, () => import("./webimage-b94b984c.js").then((m2) => m2.default));
|
|
128419
128440
|
function decodeRowAcc(row, stride) {
|
|
128420
128441
|
let length2 = row.length - stride;
|
|
128421
128442
|
let offset5 = 0;
|
|
@@ -155023,7 +155044,10 @@ const getPosition = (object2, { index: index2, data, target }) => {
|
|
|
155023
155044
|
target[2] = POINT_LAYER_Z_INDEX;
|
|
155024
155045
|
return target;
|
|
155025
155046
|
};
|
|
155026
|
-
const contourGetWeight = (object2, { index: index2, data }) =>
|
|
155047
|
+
const contourGetWeight = (object2, { index: index2, data }) => {
|
|
155048
|
+
var _a3;
|
|
155049
|
+
return (_a3 = data.src.featureValues) == null ? void 0 : _a3[index2];
|
|
155050
|
+
};
|
|
155027
155051
|
const contourGetPosition = (object2, { index: index2, data, target }) => {
|
|
155028
155052
|
target[0] = data.src.embeddingX[index2];
|
|
155029
155053
|
target[1] = -data.src.embeddingY[index2];
|
|
@@ -155320,6 +155344,16 @@ class Scatterplot extends AbstractSpatialOrScatterplot {
|
|
|
155320
155344
|
const { obsEmbeddingIndex, obsEmbedding } = this.props;
|
|
155321
155345
|
super.viewInfoDidUpdate(obsEmbeddingIndex, obsEmbedding, makeFlippedGetObsCoords);
|
|
155322
155346
|
}
|
|
155347
|
+
componentWillUnmount() {
|
|
155348
|
+
delete this.cellsQuadTree;
|
|
155349
|
+
delete this.cellsLayer;
|
|
155350
|
+
delete this.cellsData;
|
|
155351
|
+
delete this.stratifiedData;
|
|
155352
|
+
delete this.cellSetsForceSimulation;
|
|
155353
|
+
delete this.cellSetsLabelPrevZoom;
|
|
155354
|
+
delete this.cellSetsLayers;
|
|
155355
|
+
delete this.contourLayers;
|
|
155356
|
+
}
|
|
155323
155357
|
/**
|
|
155324
155358
|
* Here, asynchronously check whether props have
|
|
155325
155359
|
* updated which require re-computing memoized variables,
|
|
@@ -155526,8 +155560,9 @@ if (typeof document !== "undefined") {
|
|
|
155526
155560
|
else
|
|
155527
155561
|
document.addEventListener("DOMContentLoaded", $bbed8b41f857bcc0$var$setupGlobalEvents);
|
|
155528
155562
|
}
|
|
155563
|
+
const FEATURE_AGGREGATION_STRATEGIES = ["first", "last", "sum", "mean"];
|
|
155529
155564
|
function ScatterplotOptions(props) {
|
|
155530
|
-
const { children, observationsLabel, cellRadius, setCellRadius, cellRadiusMode, setCellRadiusMode, cellOpacity, setCellOpacity, cellOpacityMode, setCellOpacityMode, cellSetLabelsVisible, setCellSetLabelsVisible, tooltipsVisible, setTooltipsVisible, cellSetLabelSize, setCellSetLabelSize, cellSetPolygonsVisible, setCellSetPolygonsVisible, cellColorEncoding, setCellColorEncoding, geneExpressionColormap, setGeneExpressionColormap, geneExpressionColormapRange, setGeneExpressionColormapRange, embeddingPointsVisible, setEmbeddingPointsVisible, embeddingContoursVisible, setEmbeddingContoursVisible, embeddingContoursFilled, setEmbeddingContoursFilled, contourPercentiles, setContourPercentiles, defaultContourPercentiles, contourColorEncoding, setContourColorEncoding } = props;
|
|
155565
|
+
const { children, observationsLabel, cellRadius, setCellRadius, cellRadiusMode, setCellRadiusMode, cellOpacity, setCellOpacity, cellOpacityMode, setCellOpacityMode, cellSetLabelsVisible, setCellSetLabelsVisible, tooltipsVisible, setTooltipsVisible, cellSetLabelSize, setCellSetLabelSize, cellSetPolygonsVisible, setCellSetPolygonsVisible, cellColorEncoding, setCellColorEncoding, geneExpressionColormap, setGeneExpressionColormap, geneExpressionColormapRange, setGeneExpressionColormapRange, embeddingPointsVisible, setEmbeddingPointsVisible, embeddingContoursVisible, setEmbeddingContoursVisible, embeddingContoursFilled, setEmbeddingContoursFilled, contourPercentiles, setContourPercentiles, defaultContourPercentiles, contourColorEncoding, setContourColorEncoding, featureAggregationStrategy, setFeatureAggregationStrategy } = props;
|
|
155531
155566
|
const scatterplotOptionsId = $bdb11010cef70236$export$f680877a34711e37();
|
|
155532
155567
|
const observationsLabelNice = capitalize$1(observationsLabel);
|
|
155533
155568
|
const classes = usePlotOptionsStyles();
|
|
@@ -155578,6 +155613,9 @@ function ScatterplotOptions(props) {
|
|
|
155578
155613
|
setContourPercentiles(values2);
|
|
155579
155614
|
}
|
|
155580
155615
|
const handlePercentilesChangeDebounced = useCallback(debounce$3(handlePercentilesChange, 5, { trailing: true }), [handlePercentilesChange]);
|
|
155616
|
+
function handleFeatureAggregationStrategyChange(event) {
|
|
155617
|
+
setFeatureAggregationStrategy(event.target.value);
|
|
155618
|
+
}
|
|
155581
155619
|
return jsxRuntimeExports.jsxs(OptionsContainer, { children: [children, jsxRuntimeExports.jsx(CellColorEncodingOption, { observationsLabel, cellColorEncoding, setCellColorEncoding }), jsxRuntimeExports.jsxs(TableRow$1, { children: [jsxRuntimeExports.jsx(TableCell$1, { className: classes.labelCell, variant: "head", scope: "row", children: jsxRuntimeExports.jsxs("label", { htmlFor: `scatterplot-set-labels-visible-${scatterplotOptionsId}`, children: [observationsLabelNice, " Set Labels Visible"] }) }), jsxRuntimeExports.jsx(TableCell$1, { className: classes.inputCell, variant: "body", children: jsxRuntimeExports.jsx(Checkbox$1, { className: classes.checkbox, checked: cellSetLabelsVisible, onChange: handleLabelVisibilityChange, name: "scatterplot-option-cell-set-labels", color: "default", inputProps: {
|
|
155582
155620
|
"aria-label": "Show or hide set labels",
|
|
155583
155621
|
id: `scatterplot-set-labels-visible-${scatterplotOptionsId}`
|
|
@@ -155619,7 +155657,9 @@ function ScatterplotOptions(props) {
|
|
|
155619
155657
|
id: `scatterplot-contours-filled-${scatterplotOptionsId}`
|
|
155620
155658
|
} }) })] }), jsxRuntimeExports.jsxs(TableRow$1, { children: [jsxRuntimeExports.jsx(TableCell$1, { className: classes.labelCell, variant: "head", scope: "row", children: jsxRuntimeExports.jsx("label", { htmlFor: `scatterplot-contour-color-encoding-${scatterplotOptionsId}`, children: "Contour Color Encoding" }) }), jsxRuntimeExports.jsx(TableCell$1, { className: classes.inputCell, variant: "body", children: jsxRuntimeExports.jsxs(OptionSelect, { className: classes.select, value: contourColorEncoding, onChange: handleContourColorEncodingChange, inputProps: {
|
|
155621
155659
|
id: `scatterplot-contour-color-encoding-${scatterplotOptionsId}`
|
|
155622
|
-
}, children: [jsxRuntimeExports.jsx("option", { value: "sampleSetSelection", children: "Sample Sets" }), jsxRuntimeExports.jsxs("option", { value: "cellSetSelection", children: [observationsLabelNice, " Sets"] }), jsxRuntimeExports.jsx("option", { value: "staticColor", children: "Static Color" })] }) })] }), jsxRuntimeExports.jsxs(TableRow$1, { children: [jsxRuntimeExports.jsx(TableCell$1, { className: classes.labelCell, variant: "head", scope: "row", children: jsxRuntimeExports.jsx("label", { htmlFor: `scatterplot-contour-percentiles-${scatterplotOptionsId}`, children: "Contour Percentiles" }) }), jsxRuntimeExports.jsx(TableCell$1, { className: classes.inputCell, variant: "body", children: jsxRuntimeExports.jsx(Slider$1, { classes: { root: classes.slider, valueLabel: classes.sliderValueLabel }, value: contourPercentiles || defaultContourPercentiles, onChange: handlePercentilesChangeDebounced, "aria-label": "Scatterplot sliders for contour percentile thresholds", id: `scatterplot-contour-percentiles-${scatterplotOptionsId}`, valueLabelDisplay: "auto", step: 5e-3, min: 9e-3, max: 0.999 }) })] })
|
|
155660
|
+
}, children: [jsxRuntimeExports.jsx("option", { value: "sampleSetSelection", children: "Sample Sets" }), jsxRuntimeExports.jsxs("option", { value: "cellSetSelection", children: [observationsLabelNice, " Sets"] }), jsxRuntimeExports.jsx("option", { value: "staticColor", children: "Static Color" })] }) })] }), jsxRuntimeExports.jsxs(TableRow$1, { children: [jsxRuntimeExports.jsx(TableCell$1, { className: classes.labelCell, variant: "head", scope: "row", children: jsxRuntimeExports.jsx("label", { htmlFor: `scatterplot-contour-percentiles-${scatterplotOptionsId}`, children: "Contour Percentiles" }) }), jsxRuntimeExports.jsx(TableCell$1, { className: classes.inputCell, variant: "body", children: jsxRuntimeExports.jsx(Slider$1, { classes: { root: classes.slider, valueLabel: classes.sliderValueLabel }, value: contourPercentiles || defaultContourPercentiles, onChange: handlePercentilesChangeDebounced, "aria-label": "Scatterplot sliders for contour percentile thresholds", id: `scatterplot-contour-percentiles-${scatterplotOptionsId}`, valueLabelDisplay: "auto", step: 5e-3, min: 9e-3, max: 0.999 }) })] }), setFeatureAggregationStrategy ? jsxRuntimeExports.jsxs(TableRow$1, { children: [jsxRuntimeExports.jsx(TableCell$1, { className: classes.labelCell, variant: "head", scope: "row", children: jsxRuntimeExports.jsx("label", { htmlFor: `feature-aggregation-strategy-${scatterplotOptionsId}`, children: "Feature Aggregation Strategy" }) }), jsxRuntimeExports.jsx(TableCell$1, { className: classes.inputCell, variant: "body", children: jsxRuntimeExports.jsx(OptionSelect, { className: classes.select, value: featureAggregationStrategy ?? "first", onChange: handleFeatureAggregationStrategyChange, inputProps: {
|
|
155661
|
+
id: `feature-aggregation-strategy-${scatterplotOptionsId}`
|
|
155662
|
+
}, children: FEATURE_AGGREGATION_STRATEGIES.map((opt) => jsxRuntimeExports.jsx("option", { value: opt, children: capitalize$1(opt) }, opt)) }) })] }) : null] });
|
|
155623
155663
|
}
|
|
155624
155664
|
const styles20 = makeStyles((theme) => ({
|
|
155625
155665
|
tooltipAnchor: {
|
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-358efa8c.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-gating",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.12",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -20,11 +20,11 @@
|
|
|
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.5.
|
|
24
|
-
"@vitessce/scatterplot": "3.5.
|
|
25
|
-
"@vitessce/sets-utils": "3.5.
|
|
26
|
-
"@vitessce/utils": "3.5.
|
|
27
|
-
"@vitessce/vit-s": "3.5.
|
|
23
|
+
"@vitessce/constants-internal": "3.5.12",
|
|
24
|
+
"@vitessce/scatterplot": "3.5.12",
|
|
25
|
+
"@vitessce/sets-utils": "3.5.12",
|
|
26
|
+
"@vitessce/utils": "3.5.12",
|
|
27
|
+
"@vitessce/vit-s": "3.5.12"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"react": "^18.0.0",
|