@vitessce/scatterplot-embedding 3.5.7 → 3.5.9
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-7ff395f6.js → deflate-38080dfa.js} +1 -1
- package/dist/{index-6931089e.js → index-5909753b.js} +599 -622
- package/dist/index.js +1 -1
- package/dist/{jpeg-db1f9adb.js → jpeg-8c087dbd.js} +1 -1
- package/dist/{lerc-9859e1c5.js → lerc-6f97422d.js} +1 -1
- package/dist/{lzw-4b6e12be.js → lzw-551d533e.js} +1 -1
- package/dist/{packbits-61eb655b.js → packbits-da285c36.js} +1 -1
- package/dist/{raw-3928687d.js → raw-44cfcc64.js} +1 -1
- package/dist/{webimage-62020543.js → webimage-201fd4a3.js} +1 -1
- package/dist-tsc/DualEmbeddingScatterplotSubscriber.d.ts.map +1 -1
- package/dist-tsc/DualEmbeddingScatterplotSubscriber.js +2 -2
- package/package.json +7 -7
- package/src/DualEmbeddingScatterplotSubscriber.js +3 -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-5909753b.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@vitessce/vit-s";
|
|
5
5
|
import "react-dom";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DualEmbeddingScatterplotSubscriber.d.ts","sourceRoot":"","sources":["../src/DualEmbeddingScatterplotSubscriber.js"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;GAeG;AACH,0DAVG;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":"DualEmbeddingScatterplotSubscriber.d.ts","sourceRoot":"","sources":["../src/DualEmbeddingScatterplotSubscriber.js"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;GAeG;AACH,0DAVG;IAAsB,IAAI,EAAlB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAEU,mBAAmB;IAErB,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;CAEhB,eA4CA"}
|
|
@@ -22,12 +22,12 @@ import { EmbeddingScatterplotSubscriber } from './EmbeddingScatterplotSubscriber
|
|
|
22
22
|
export function DualEmbeddingScatterplotSubscriber(props) {
|
|
23
23
|
const { uuid, coordinationScopes, } = props;
|
|
24
24
|
// Get "props" from the coordination space.
|
|
25
|
-
const [{ sampleSetSelection, }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType.DUAL_SCATTERPLOT], coordinationScopes);
|
|
25
|
+
const [{ embeddingType, sampleSetSelection, }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType.DUAL_SCATTERPLOT], coordinationScopes);
|
|
26
26
|
const caseSampleSetSelection = useMemo(() => (sampleSetSelection?.[0]
|
|
27
27
|
? [sampleSetSelection[0]]
|
|
28
28
|
: null), [sampleSetSelection]);
|
|
29
29
|
const ctrlSampleSetSelection = useMemo(() => (sampleSetSelection?.[1]
|
|
30
30
|
? [sampleSetSelection[1]]
|
|
31
31
|
: null), [sampleSetSelection]);
|
|
32
|
-
return (_jsxs("div", { style: { width: '100%', height: '100%', display: 'flex', flexDirection: 'row' }, children: [_jsx("div", { style: { width: '50%', display: 'flex', flexDirection: 'column' }, children: _jsx(EmbeddingScatterplotSubscriber, { ...props, uuid: `${uuid}-case`, sampleSetSelection: caseSampleSetSelection }) }), _jsx("div", { style: { width: '50%', display: 'flex', flexDirection: 'column' }, children: _jsx(EmbeddingScatterplotSubscriber, { ...props, uuid: `${uuid}-ctrl`, sampleSetSelection: ctrlSampleSetSelection }) })] }));
|
|
32
|
+
return (_jsxs("div", { style: { width: '100%', height: '100%', display: 'flex', flexDirection: 'row' }, children: [_jsx("div", { style: { width: '50%', display: 'flex', flexDirection: 'column' }, children: _jsx(EmbeddingScatterplotSubscriber, { ...props, uuid: `${uuid}-case`, title: `Scatterplot (${embeddingType}), ${caseSampleSetSelection?.[0]?.at(-1)}`, sampleSetSelection: caseSampleSetSelection }) }), _jsx("div", { style: { width: '50%', display: 'flex', flexDirection: 'column' }, children: _jsx(EmbeddingScatterplotSubscriber, { ...props, uuid: `${uuid}-ctrl`, title: `Scatterplot (${embeddingType}), ${ctrlSampleSetSelection?.[0]?.at(-1)}`, sampleSetSelection: ctrlSampleSetSelection }) })] }));
|
|
33
33
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/scatterplot-embedding",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.9",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
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.5.
|
|
24
|
-
"@vitessce/legend": "3.5.
|
|
25
|
-
"@vitessce/scatterplot": "3.5.
|
|
26
|
-
"@vitessce/sets-utils": "3.5.
|
|
27
|
-
"@vitessce/utils": "3.5.
|
|
28
|
-
"@vitessce/vit-s": "3.5.
|
|
23
|
+
"@vitessce/constants-internal": "3.5.9",
|
|
24
|
+
"@vitessce/legend": "3.5.9",
|
|
25
|
+
"@vitessce/scatterplot": "3.5.9",
|
|
26
|
+
"@vitessce/sets-utils": "3.5.9",
|
|
27
|
+
"@vitessce/utils": "3.5.9",
|
|
28
|
+
"@vitessce/vit-s": "3.5.9"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"react": "^18.0.0",
|
|
@@ -30,6 +30,7 @@ export function DualEmbeddingScatterplotSubscriber(props) {
|
|
|
30
30
|
|
|
31
31
|
// Get "props" from the coordination space.
|
|
32
32
|
const [{
|
|
33
|
+
embeddingType,
|
|
33
34
|
sampleSetSelection,
|
|
34
35
|
}] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType.DUAL_SCATTERPLOT], coordinationScopes);
|
|
35
36
|
|
|
@@ -50,6 +51,7 @@ export function DualEmbeddingScatterplotSubscriber(props) {
|
|
|
50
51
|
<EmbeddingScatterplotSubscriber
|
|
51
52
|
{...props}
|
|
52
53
|
uuid={`${uuid}-case`}
|
|
54
|
+
title={`Scatterplot (${embeddingType}), ${caseSampleSetSelection?.[0]?.at(-1)}`}
|
|
53
55
|
sampleSetSelection={caseSampleSetSelection}
|
|
54
56
|
/>
|
|
55
57
|
</div>
|
|
@@ -57,6 +59,7 @@ export function DualEmbeddingScatterplotSubscriber(props) {
|
|
|
57
59
|
<EmbeddingScatterplotSubscriber
|
|
58
60
|
{...props}
|
|
59
61
|
uuid={`${uuid}-ctrl`}
|
|
62
|
+
title={`Scatterplot (${embeddingType}), ${ctrlSampleSetSelection?.[0]?.at(-1)}`}
|
|
60
63
|
sampleSetSelection={ctrlSampleSetSelection}
|
|
61
64
|
/>
|
|
62
65
|
</div>
|