@vitessce/scatterplot-embedding 3.3.3 → 3.3.4
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-4ede6d09.js → deflate-143b7b76.js} +1 -1
- package/dist/{index-c936b693.js → index-82a0ed1f.js} +68 -62
- package/dist/index.js +1 -1
- package/dist/{jpeg-23fd3e2a.js → jpeg-bf9fd2bf.js} +1 -1
- package/dist/{lerc-ce46904c.js → lerc-fd829a7c.js} +1 -1
- package/dist/{lzw-8fbaef0b.js → lzw-5ee876a5.js} +1 -1
- package/dist/{packbits-6ba8ace5.js → packbits-11e46ecd.js} +1 -1
- package/dist/{raw-0ba1df6f.js → raw-e09dceaf.js} +1 -1
- package/dist/{webimage-70045d38.js → webimage-9fafb50a.js} +1 -1
- package/dist-tsc/EmbeddingScatterplotSubscriber.d.ts.map +1 -1
- package/dist-tsc/EmbeddingScatterplotSubscriber.js +2 -2
- package/package.json +7 -7
- package/src/EmbeddingScatterplotSubscriber.js +4 -2
|
@@ -4475,61 +4475,6 @@ const PALETTE = [
|
|
|
4475
4475
|
[136, 34, 85],
|
|
4476
4476
|
[170, 68, 153]
|
|
4477
4477
|
];
|
|
4478
|
-
const schemeRdBu = [[103, 0, 31], [178, 24, 43], [214, 96, 77], [244, 165, 130], [253, 219, 199], [247, 247, 247], [209, 229, 240], [146, 197, 222], [67, 147, 195], [33, 102, 172], [5, 48, 97]];
|
|
4479
|
-
const schemePlasma = [[13, 8, 135], [16, 7, 136], [19, 7, 137], [22, 7, 138], [25, 6, 140], [27, 6, 141], [29, 6, 142], [32, 6, 143], [34, 6, 144], [36, 6, 145], [38, 5, 145], [40, 5, 146], [42, 5, 147], [44, 5, 148], [46, 5, 149], [47, 5, 150], [49, 5, 151], [51, 5, 151], [53, 4, 152], [55, 4, 153], [56, 4, 154], [58, 4, 154], [60, 4, 155], [62, 4, 156], [63, 4, 156], [65, 4, 157], [67, 3, 158], [68, 3, 158], [70, 3, 159], [72, 3, 159], [73, 3, 160], [75, 3, 161], [76, 2, 161], [78, 2, 162], [80, 2, 162], [81, 2, 163], [83, 2, 163], [85, 2, 164], [86, 1, 164], [88, 1, 164], [89, 1, 165], [91, 1, 165], [92, 1, 166], [94, 1, 166], [96, 1, 166], [97, 0, 167], [99, 0, 167], [100, 0, 167], [102, 0, 167], [103, 0, 168], [105, 0, 168], [106, 0, 168], [108, 0, 168], [110, 0, 168], [111, 0, 168], [113, 0, 168], [114, 1, 168], [116, 1, 168], [117, 1, 168], [119, 1, 168], [120, 1, 168], [122, 2, 168], [123, 2, 168], [125, 3, 168], [126, 3, 168], [128, 4, 168], [129, 4, 167], [131, 5, 167], [132, 5, 167], [134, 6, 166], [135, 7, 166], [136, 8, 166], [138, 9, 165], [139, 10, 165], [141, 11, 165], [142, 12, 164], [143, 13, 164], [145, 14, 163], [146, 15, 163], [148, 16, 162], [149, 17, 161], [150, 19, 161], [152, 20, 160], [153, 21, 159], [154, 22, 159], [156, 23, 158], [157, 24, 157], [158, 25, 157], [160, 26, 156], [161, 27, 155], [162, 29, 154], [163, 30, 154], [165, 31, 153], [166, 32, 152], [167, 33, 151], [168, 34, 150], [170, 35, 149], [171, 36, 148], [172, 38, 148], [173, 39, 147], [174, 40, 146], [176, 41, 145], [177, 42, 144], [178, 43, 143], [179, 44, 142], [180, 46, 141], [181, 47, 140], [182, 48, 139], [183, 49, 138], [184, 50, 137], [186, 51, 136], [187, 52, 136], [188, 53, 135], [189, 55, 134], [190, 56, 133], [191, 57, 132], [192, 58, 131], [193, 59, 130], [194, 60, 129], [195, 61, 128], [196, 62, 127], [197, 64, 126], [198, 65, 125], [199, 66, 124], [200, 67, 123], [201, 68, 122], [202, 69, 122], [203, 70, 121], [204, 71, 120], [204, 73, 119], [205, 74, 118], [206, 75, 117], [207, 76, 116], [208, 77, 115], [209, 78, 114], [210, 79, 113], [211, 81, 113], [212, 82, 112], [213, 83, 111], [213, 84, 110], [214, 85, 109], [215, 86, 108], [216, 87, 107], [217, 88, 106], [218, 90, 106], [218, 91, 105], [219, 92, 104], [220, 93, 103], [221, 94, 102], [222, 95, 101], [222, 97, 100], [223, 98, 99], [224, 99, 99], [225, 100, 98], [226, 101, 97], [226, 102, 96], [227, 104, 95], [228, 105, 94], [229, 106, 93], [229, 107, 93], [230, 108, 92], [231, 110, 91], [231, 111, 90], [232, 112, 89], [233, 113, 88], [233, 114, 87], [234, 116, 87], [235, 117, 86], [235, 118, 85], [236, 119, 84], [237, 121, 83], [237, 122, 82], [238, 123, 81], [239, 124, 81], [239, 126, 80], [240, 127, 79], [240, 128, 78], [241, 129, 77], [241, 131, 76], [242, 132, 75], [243, 133, 75], [243, 135, 74], [244, 136, 73], [244, 137, 72], [245, 139, 71], [245, 140, 70], [246, 141, 69], [246, 143, 68], [247, 144, 68], [247, 145, 67], [247, 147, 66], [248, 148, 65], [248, 149, 64], [249, 151, 63], [249, 152, 62], [249, 154, 62], [250, 155, 61], [250, 156, 60], [250, 158, 59], [251, 159, 58], [251, 161, 57], [251, 162, 56], [252, 163, 56], [252, 165, 55], [252, 166, 54], [252, 168, 53], [252, 169, 52], [253, 171, 51], [253, 172, 51], [253, 174, 50], [253, 175, 49], [253, 177, 48], [253, 178, 47], [253, 180, 47], [253, 181, 46], [254, 183, 45], [254, 184, 44], [254, 186, 44], [254, 187, 43], [254, 189, 42], [254, 190, 42], [254, 192, 41], [253, 194, 41], [253, 195, 40], [253, 197, 39], [253, 198, 39], [253, 200, 39], [253, 202, 38], [253, 203, 38], [252, 205, 37], [252, 206, 37], [252, 208, 37], [252, 210, 37], [251, 211, 36], [251, 213, 36], [251, 215, 36], [250, 216, 36], [250, 218, 36], [249, 220, 36], [249, 221, 37], [248, 223, 37], [248, 225, 37], [247, 226, 37], [247, 228, 37], [246, 230, 38], [246, 232, 38], [245, 233, 38], [245, 235, 39], [244, 237, 39], [243, 238, 39], [243, 240, 39], [242, 242, 39], [241, 244, 38], [241, 245, 37], [240, 247, 36], [240, 249, 33]];
|
|
4480
|
-
function rgbSpline(spline) {
|
|
4481
|
-
return (colors) => {
|
|
4482
|
-
const n2 = colors.length;
|
|
4483
|
-
const r2 = new Array(n2);
|
|
4484
|
-
const g2 = new Array(n2);
|
|
4485
|
-
const b = new Array(n2);
|
|
4486
|
-
let i2;
|
|
4487
|
-
let color2;
|
|
4488
|
-
for (i2 = 0; i2 < n2; ++i2) {
|
|
4489
|
-
color2 = [colors[i2][0], colors[i2][1], colors[i2][2]];
|
|
4490
|
-
r2[i2] = color2[0] || 0;
|
|
4491
|
-
g2[i2] = color2[1] || 0;
|
|
4492
|
-
b[i2] = color2[2] || 0;
|
|
4493
|
-
}
|
|
4494
|
-
const rFunc = spline(r2);
|
|
4495
|
-
const gFunc = spline(g2);
|
|
4496
|
-
const bFunc = spline(b);
|
|
4497
|
-
return (t2) => [rFunc(t2), gFunc(t2), bFunc(t2)];
|
|
4498
|
-
};
|
|
4499
|
-
}
|
|
4500
|
-
function basis(values2) {
|
|
4501
|
-
function innerBasis(t1, v0, v12, v2, v32) {
|
|
4502
|
-
const t2 = t1 * t1;
|
|
4503
|
-
const t3 = t2 * t1;
|
|
4504
|
-
return ((1 - 3 * t1 + 3 * t2 - t3) * v0 + (4 - 6 * t2 + 3 * t3) * v12 + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2 + t3 * v32) / 6;
|
|
4505
|
-
}
|
|
4506
|
-
const n2 = values2.length - 1;
|
|
4507
|
-
return (t2) => {
|
|
4508
|
-
const i2 = t2 <= 0 ? t2 = 0 : t2 >= 1 ? (t2 = 1, n2 - 1) : Math.floor(t2 * n2);
|
|
4509
|
-
const v12 = values2[i2];
|
|
4510
|
-
const v2 = values2[i2 + 1];
|
|
4511
|
-
const v0 = i2 > 0 ? values2[i2 - 1] : 2 * v12 - v2;
|
|
4512
|
-
const v32 = i2 < n2 - 1 ? values2[i2 + 2] : 2 * v2 - v12;
|
|
4513
|
-
return innerBasis((t2 - i2 / n2) * n2, v0, v12, v2, v32);
|
|
4514
|
-
};
|
|
4515
|
-
}
|
|
4516
|
-
const interpolateRgbBasis = rgbSpline(basis);
|
|
4517
|
-
function interpolateSequentialMulti(range2) {
|
|
4518
|
-
const n2 = range2.length;
|
|
4519
|
-
return (t2) => range2[Math.max(0, Math.min(n2 - 1, Math.floor(t2 * n2)))];
|
|
4520
|
-
}
|
|
4521
|
-
interpolateRgbBasis(schemeRdBu);
|
|
4522
|
-
interpolateSequentialMulti(schemePlasma);
|
|
4523
|
-
function getCellColors(params) {
|
|
4524
|
-
const { cellSets, cellSetSelection, cellSetColor, obsIndex, theme } = params;
|
|
4525
|
-
if (cellSetSelection && cellSets) {
|
|
4526
|
-
return treeToCellColorsBySetNames(cellSets, cellSetSelection, cellSetColor, theme);
|
|
4527
|
-
}
|
|
4528
|
-
if (obsIndex && theme) {
|
|
4529
|
-
return new Map(obsIndex.map((o2) => [o2, getDefaultColor(theme)]));
|
|
4530
|
-
}
|
|
4531
|
-
return /* @__PURE__ */ new Map();
|
|
4532
|
-
}
|
|
4533
4478
|
var util$4;
|
|
4534
4479
|
(function(util2) {
|
|
4535
4480
|
util2.assertEqual = (val) => val;
|
|
@@ -18687,6 +18632,67 @@ var json2csv_umd = { exports: {} };
|
|
|
18687
18632
|
Object.defineProperty(exports3, "__esModule", { value: true });
|
|
18688
18633
|
});
|
|
18689
18634
|
})(json2csv_umd, json2csv_umd.exports);
|
|
18635
|
+
const schemeRdBu = [[103, 0, 31], [178, 24, 43], [214, 96, 77], [244, 165, 130], [253, 219, 199], [247, 247, 247], [209, 229, 240], [146, 197, 222], [67, 147, 195], [33, 102, 172], [5, 48, 97]];
|
|
18636
|
+
const schemePlasma = [[13, 8, 135], [16, 7, 136], [19, 7, 137], [22, 7, 138], [25, 6, 140], [27, 6, 141], [29, 6, 142], [32, 6, 143], [34, 6, 144], [36, 6, 145], [38, 5, 145], [40, 5, 146], [42, 5, 147], [44, 5, 148], [46, 5, 149], [47, 5, 150], [49, 5, 151], [51, 5, 151], [53, 4, 152], [55, 4, 153], [56, 4, 154], [58, 4, 154], [60, 4, 155], [62, 4, 156], [63, 4, 156], [65, 4, 157], [67, 3, 158], [68, 3, 158], [70, 3, 159], [72, 3, 159], [73, 3, 160], [75, 3, 161], [76, 2, 161], [78, 2, 162], [80, 2, 162], [81, 2, 163], [83, 2, 163], [85, 2, 164], [86, 1, 164], [88, 1, 164], [89, 1, 165], [91, 1, 165], [92, 1, 166], [94, 1, 166], [96, 1, 166], [97, 0, 167], [99, 0, 167], [100, 0, 167], [102, 0, 167], [103, 0, 168], [105, 0, 168], [106, 0, 168], [108, 0, 168], [110, 0, 168], [111, 0, 168], [113, 0, 168], [114, 1, 168], [116, 1, 168], [117, 1, 168], [119, 1, 168], [120, 1, 168], [122, 2, 168], [123, 2, 168], [125, 3, 168], [126, 3, 168], [128, 4, 168], [129, 4, 167], [131, 5, 167], [132, 5, 167], [134, 6, 166], [135, 7, 166], [136, 8, 166], [138, 9, 165], [139, 10, 165], [141, 11, 165], [142, 12, 164], [143, 13, 164], [145, 14, 163], [146, 15, 163], [148, 16, 162], [149, 17, 161], [150, 19, 161], [152, 20, 160], [153, 21, 159], [154, 22, 159], [156, 23, 158], [157, 24, 157], [158, 25, 157], [160, 26, 156], [161, 27, 155], [162, 29, 154], [163, 30, 154], [165, 31, 153], [166, 32, 152], [167, 33, 151], [168, 34, 150], [170, 35, 149], [171, 36, 148], [172, 38, 148], [173, 39, 147], [174, 40, 146], [176, 41, 145], [177, 42, 144], [178, 43, 143], [179, 44, 142], [180, 46, 141], [181, 47, 140], [182, 48, 139], [183, 49, 138], [184, 50, 137], [186, 51, 136], [187, 52, 136], [188, 53, 135], [189, 55, 134], [190, 56, 133], [191, 57, 132], [192, 58, 131], [193, 59, 130], [194, 60, 129], [195, 61, 128], [196, 62, 127], [197, 64, 126], [198, 65, 125], [199, 66, 124], [200, 67, 123], [201, 68, 122], [202, 69, 122], [203, 70, 121], [204, 71, 120], [204, 73, 119], [205, 74, 118], [206, 75, 117], [207, 76, 116], [208, 77, 115], [209, 78, 114], [210, 79, 113], [211, 81, 113], [212, 82, 112], [213, 83, 111], [213, 84, 110], [214, 85, 109], [215, 86, 108], [216, 87, 107], [217, 88, 106], [218, 90, 106], [218, 91, 105], [219, 92, 104], [220, 93, 103], [221, 94, 102], [222, 95, 101], [222, 97, 100], [223, 98, 99], [224, 99, 99], [225, 100, 98], [226, 101, 97], [226, 102, 96], [227, 104, 95], [228, 105, 94], [229, 106, 93], [229, 107, 93], [230, 108, 92], [231, 110, 91], [231, 111, 90], [232, 112, 89], [233, 113, 88], [233, 114, 87], [234, 116, 87], [235, 117, 86], [235, 118, 85], [236, 119, 84], [237, 121, 83], [237, 122, 82], [238, 123, 81], [239, 124, 81], [239, 126, 80], [240, 127, 79], [240, 128, 78], [241, 129, 77], [241, 131, 76], [242, 132, 75], [243, 133, 75], [243, 135, 74], [244, 136, 73], [244, 137, 72], [245, 139, 71], [245, 140, 70], [246, 141, 69], [246, 143, 68], [247, 144, 68], [247, 145, 67], [247, 147, 66], [248, 148, 65], [248, 149, 64], [249, 151, 63], [249, 152, 62], [249, 154, 62], [250, 155, 61], [250, 156, 60], [250, 158, 59], [251, 159, 58], [251, 161, 57], [251, 162, 56], [252, 163, 56], [252, 165, 55], [252, 166, 54], [252, 168, 53], [252, 169, 52], [253, 171, 51], [253, 172, 51], [253, 174, 50], [253, 175, 49], [253, 177, 48], [253, 178, 47], [253, 180, 47], [253, 181, 46], [254, 183, 45], [254, 184, 44], [254, 186, 44], [254, 187, 43], [254, 189, 42], [254, 190, 42], [254, 192, 41], [253, 194, 41], [253, 195, 40], [253, 197, 39], [253, 198, 39], [253, 200, 39], [253, 202, 38], [253, 203, 38], [252, 205, 37], [252, 206, 37], [252, 208, 37], [252, 210, 37], [251, 211, 36], [251, 213, 36], [251, 215, 36], [250, 216, 36], [250, 218, 36], [249, 220, 36], [249, 221, 37], [248, 223, 37], [248, 225, 37], [247, 226, 37], [247, 228, 37], [246, 230, 38], [246, 232, 38], [245, 233, 38], [245, 235, 39], [244, 237, 39], [243, 238, 39], [243, 240, 39], [242, 242, 39], [241, 244, 38], [241, 245, 37], [240, 247, 36], [240, 249, 33]];
|
|
18637
|
+
function rgbSpline(spline) {
|
|
18638
|
+
return (colors) => {
|
|
18639
|
+
const n2 = colors.length;
|
|
18640
|
+
const r2 = new Array(n2);
|
|
18641
|
+
const g2 = new Array(n2);
|
|
18642
|
+
const b = new Array(n2);
|
|
18643
|
+
let i2;
|
|
18644
|
+
let color2;
|
|
18645
|
+
for (i2 = 0; i2 < n2; ++i2) {
|
|
18646
|
+
color2 = [colors[i2][0], colors[i2][1], colors[i2][2]];
|
|
18647
|
+
r2[i2] = color2[0] || 0;
|
|
18648
|
+
g2[i2] = color2[1] || 0;
|
|
18649
|
+
b[i2] = color2[2] || 0;
|
|
18650
|
+
}
|
|
18651
|
+
const rFunc = spline(r2);
|
|
18652
|
+
const gFunc = spline(g2);
|
|
18653
|
+
const bFunc = spline(b);
|
|
18654
|
+
return (t2) => [rFunc(t2), gFunc(t2), bFunc(t2)];
|
|
18655
|
+
};
|
|
18656
|
+
}
|
|
18657
|
+
function basis(values2) {
|
|
18658
|
+
function innerBasis(t1, v0, v12, v2, v32) {
|
|
18659
|
+
const t2 = t1 * t1;
|
|
18660
|
+
const t3 = t2 * t1;
|
|
18661
|
+
return ((1 - 3 * t1 + 3 * t2 - t3) * v0 + (4 - 6 * t2 + 3 * t3) * v12 + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2 + t3 * v32) / 6;
|
|
18662
|
+
}
|
|
18663
|
+
const n2 = values2.length - 1;
|
|
18664
|
+
return (t2) => {
|
|
18665
|
+
const i2 = t2 <= 0 ? t2 = 0 : t2 >= 1 ? (t2 = 1, n2 - 1) : Math.floor(t2 * n2);
|
|
18666
|
+
const v12 = values2[i2];
|
|
18667
|
+
const v2 = values2[i2 + 1];
|
|
18668
|
+
const v0 = i2 > 0 ? values2[i2 - 1] : 2 * v12 - v2;
|
|
18669
|
+
const v32 = i2 < n2 - 1 ? values2[i2 + 2] : 2 * v2 - v12;
|
|
18670
|
+
return innerBasis((t2 - i2 / n2) * n2, v0, v12, v2, v32);
|
|
18671
|
+
};
|
|
18672
|
+
}
|
|
18673
|
+
const interpolateRgbBasis = rgbSpline(basis);
|
|
18674
|
+
function interpolateSequentialMulti(range2) {
|
|
18675
|
+
const n2 = range2.length;
|
|
18676
|
+
return (t2) => range2[Math.max(0, Math.min(n2 - 1, Math.floor(t2 * n2)))];
|
|
18677
|
+
}
|
|
18678
|
+
interpolateRgbBasis(schemeRdBu);
|
|
18679
|
+
interpolateSequentialMulti(schemePlasma);
|
|
18680
|
+
function getCellColors(params) {
|
|
18681
|
+
const { cellSets, cellSetSelection, cellSetColor, obsIndex, theme } = params;
|
|
18682
|
+
if (cellSetSelection && cellSets) {
|
|
18683
|
+
return treeToCellColorsBySetNames(
|
|
18684
|
+
cellSets,
|
|
18685
|
+
cellSetSelection,
|
|
18686
|
+
cellSetColor,
|
|
18687
|
+
theme
|
|
18688
|
+
/* as string */
|
|
18689
|
+
);
|
|
18690
|
+
}
|
|
18691
|
+
if (obsIndex && theme) {
|
|
18692
|
+
return new Map(obsIndex.map((o2) => [o2, getDefaultColor(theme)]));
|
|
18693
|
+
}
|
|
18694
|
+
return /* @__PURE__ */ new Map();
|
|
18695
|
+
}
|
|
18690
18696
|
function tree_add(d) {
|
|
18691
18697
|
var x2 = +this._x.call(null, d), y2 = +this._y.call(null, d);
|
|
18692
18698
|
return add$6(this.cover(x2, y2), x2, y2, d);
|
|
@@ -121308,16 +121314,16 @@ function addDecoder(cases, importFn) {
|
|
|
121308
121314
|
}
|
|
121309
121315
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
121310
121316
|
}
|
|
121311
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
121312
|
-
addDecoder(5, () => import("./lzw-
|
|
121317
|
+
addDecoder([void 0, 1], () => import("./raw-e09dceaf.js").then((m2) => m2.default));
|
|
121318
|
+
addDecoder(5, () => import("./lzw-5ee876a5.js").then((m2) => m2.default));
|
|
121313
121319
|
addDecoder(6, () => {
|
|
121314
121320
|
throw new Error("old style JPEG compression is not supported.");
|
|
121315
121321
|
});
|
|
121316
|
-
addDecoder(7, () => import("./jpeg-
|
|
121317
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
121318
|
-
addDecoder(32773, () => import("./packbits-
|
|
121319
|
-
addDecoder(34887, () => import("./lerc-
|
|
121320
|
-
addDecoder(50001, () => import("./webimage-
|
|
121322
|
+
addDecoder(7, () => import("./jpeg-bf9fd2bf.js").then((m2) => m2.default));
|
|
121323
|
+
addDecoder([8, 32946], () => import("./deflate-143b7b76.js").then((m2) => m2.default));
|
|
121324
|
+
addDecoder(32773, () => import("./packbits-11e46ecd.js").then((m2) => m2.default));
|
|
121325
|
+
addDecoder(34887, () => import("./lerc-fd829a7c.js").then((m2) => m2.default));
|
|
121326
|
+
addDecoder(50001, () => import("./webimage-9fafb50a.js").then((m2) => m2.default));
|
|
121321
121327
|
function decodeRowAcc(row, stride) {
|
|
121322
121328
|
let length2 = row.length - stride;
|
|
121323
121329
|
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-82a0ed1f.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@vitessce/vit-s";
|
|
5
5
|
import "react-dom";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbeddingScatterplotSubscriber.d.ts","sourceRoot":"","sources":["../src/EmbeddingScatterplotSubscriber.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EmbeddingScatterplotSubscriber.d.ts","sourceRoot":"","sources":["../src/EmbeddingScatterplotSubscriber.js"],"names":[],"mappings":"AAoCA;;;;;;;;;;;;GAYG;AACH;IAVyB,IAAI,EAAlB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAEU,mBAAmB;IAErB,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;gBA8WhB"}
|
|
@@ -3,8 +3,8 @@ import React, { useState, useEffect, useCallback, useMemo, } from 'react';
|
|
|
3
3
|
import { extent } from 'd3-array';
|
|
4
4
|
import { isEqual } from 'lodash-es';
|
|
5
5
|
import { TitleInfo, useReady, useUrls, useDeckCanvasSize, useUint8FeatureSelection, useExpressionValueGetter, useGetObsInfo, useObsEmbeddingData, useObsSetsData, useFeatureSelection, useObsFeatureMatrixIndices, useFeatureLabelsData, useMultiObsLabels, useCoordination, useLoaders, useSetComponentHover, useSetComponentViewInfo, useInitialCoordination, } from '@vitessce/vit-s';
|
|
6
|
-
import { setObsSelection, mergeObsSets, getCellSetPolygons } from '@vitessce/sets-utils';
|
|
7
|
-
import { pluralize as plur,
|
|
6
|
+
import { setObsSelection, mergeObsSets, getCellSetPolygons, getCellColors, } from '@vitessce/sets-utils';
|
|
7
|
+
import { pluralize as plur, commaNumber } from '@vitessce/utils';
|
|
8
8
|
import { Scatterplot, ScatterplotTooltipSubscriber, ScatterplotOptions, getPointSizeDevicePixels, getPointOpacity, } from '@vitessce/scatterplot';
|
|
9
9
|
import { Legend } from '@vitessce/legend';
|
|
10
10
|
import { ViewType, COMPONENT_COORDINATION_TYPES } from '@vitessce/constants-internal';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/scatterplot-embedding",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.4",
|
|
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/
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
28
|
-
"@vitessce/
|
|
23
|
+
"@vitessce/scatterplot": "3.3.4",
|
|
24
|
+
"@vitessce/sets-utils": "3.3.4",
|
|
25
|
+
"@vitessce/utils": "3.3.4",
|
|
26
|
+
"@vitessce/vit-s": "3.3.4",
|
|
27
|
+
"@vitessce/legend": "3.3.4",
|
|
28
|
+
"@vitessce/constants-internal": "3.3.4"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"react": "^18.0.0",
|
|
@@ -22,8 +22,10 @@ import {
|
|
|
22
22
|
useSetComponentViewInfo,
|
|
23
23
|
useInitialCoordination,
|
|
24
24
|
} from '@vitessce/vit-s';
|
|
25
|
-
import {
|
|
26
|
-
|
|
25
|
+
import {
|
|
26
|
+
setObsSelection, mergeObsSets, getCellSetPolygons, getCellColors,
|
|
27
|
+
} from '@vitessce/sets-utils';
|
|
28
|
+
import { pluralize as plur, commaNumber } from '@vitessce/utils';
|
|
27
29
|
import {
|
|
28
30
|
Scatterplot, ScatterplotTooltipSubscriber, ScatterplotOptions,
|
|
29
31
|
getPointSizeDevicePixels,
|