@vitessce/comparative 3.9.9 → 3.9.10
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/{OrbitControls-CTwuQBHm.js → OrbitControls-RphIngUQ.js} +1 -1
- package/dist/{ReactNeuroglancer-DVTouLdy.js → ReactNeuroglancer-Bg6A0u4L.js} +1 -1
- package/dist/{deflate-dpVUbWzG.js → deflate-BadsKHp5.js} +1 -1
- package/dist/{higlass-DA6D2z7x.js → higlass-DJTjCY0s.js} +1 -1
- package/dist/{index-D10X079V.js → index-2HxK8U2z.js} +32913 -32850
- package/dist/{index-Cl09bGJd.js → index-BfVPwT8H.js} +3 -3
- package/dist/{index-CtfYbkUc.js → index-D_tJZ2DX.js} +2 -2
- package/dist/index.min.js +1 -1
- package/dist/{jpeg-B-udBgEy.js → jpeg-COw52KMD.js} +1 -1
- package/dist/{lerc-C__sKrTH.js → lerc-BIJmc6fl.js} +1 -1
- package/dist/{lzw-CtJXYMNt.js → lzw-GK2Y1HCX.js} +1 -1
- package/dist/{packbits-DapYEvYC.js → packbits-o1MIaLdB.js} +1 -1
- package/dist/{raw-DacX-0Ky.js → raw-wj9RzOH_.js} +1 -1
- package/dist/{troika-three-text.esm-CDlWralX.js → troika-three-text.esm-BwYALabC.js} +1 -1
- package/dist/{webimage-CXsNm_Gt.js → webimage-DdnUdiNq.js} +1 -1
- package/dist-tsc/BiomarkerSelect.js +1 -1
- package/dist-tsc/ComparativeConfig.d.ts.map +1 -1
- package/dist-tsc/ComparativeConfig.js +40 -8
- package/dist-tsc/ControlledComparative.js +1 -1
- package/package.json +11 -11
- package/src/BiomarkerSelect.jsx +1 -1
- package/src/ComparativeConfig.jsx +40 -8
- package/src/ControlledComparative.jsx +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { G as Ge, M as J, T as di, a as vn, b as Bs, R as Ds, L as hi, c as Xe, F as Os, d as Re, V as k, C as Ue, S as pi, P as mi, D as gi, e as L, I as xi, Q as Fs, O as Fn, f as yi, g as vi, B as _t, h as Ai, i as Us, N as _i, j as Ti, k as wi, l as Wt, m as Si, n as An, o as bi, p as Ei, q as Mi, r as Jt, s as Li, t as Un, u as zs, v as ke, w as Ci, x as js, y as Pi, z as ze, A as Ri, E as Ii, H as Ni, J as Bi, K as Di, U as Hs, W as Oi, X as Fi, Y as Ui, Z as ks, _ as zi, $ as ji, a0 as Ve, a1 as qn, a2 as Hi, a3 as Kn, a4 as ki, a5 as at, a6 as Vi, a7 as Y, a8 as ct, a9 as Gi, aa as Wn, ab as _n, ac as Xi, ad as qi, ae as Tn, af as $n, ag as bt, ah as Ee, ai as Ki, aj as St, ak as Vs, al as vt, am as Gs, an as Wi, ao as N, ap as $i, aq as ue, ar as Yi, as as Zi, at as Qi, au as Ji, av as eo } from "./index-
|
|
1
|
+
import { G as Ge, M as J, T as di, a as vn, b as Bs, R as Ds, L as hi, c as Xe, F as Os, d as Re, V as k, C as Ue, S as pi, P as mi, D as gi, e as L, I as xi, Q as Fs, O as Fn, f as yi, g as vi, B as _t, h as Ai, i as Us, N as _i, j as Ti, k as wi, l as Wt, m as Si, n as An, o as bi, p as Ei, q as Mi, r as Jt, s as Li, t as Un, u as zs, v as ke, w as Ci, x as js, y as Pi, z as ze, A as Ri, E as Ii, H as Ni, J as Bi, K as Di, U as Hs, W as Oi, X as Fi, Y as Ui, Z as ks, _ as zi, $ as ji, a0 as Ve, a1 as qn, a2 as Hi, a3 as Kn, a4 as ki, a5 as at, a6 as Vi, a7 as Y, a8 as ct, a9 as Gi, aa as Wn, ab as _n, ac as Xi, ad as qi, ae as Tn, af as $n, ag as bt, ah as Ee, ai as Ki, aj as St, ak as Vs, al as vt, am as Gs, an as Wi, ao as N, ap as $i, aq as ue, ar as Yi, as as Zi, at as Qi, au as Ji, av as eo } from "./index-2HxK8U2z.js";
|
|
2
2
|
import * as C from "react";
|
|
3
3
|
import { useRef as Fe, useEffect as qt, useState as oe, forwardRef as to } from "react";
|
|
4
|
-
import { u as Ce, a as lt, c as Xs, e as qs, b as wn, O as no, C as so } from "./OrbitControls-
|
|
4
|
+
import { u as Ce, a as lt, c as Xs, e as qs, b as wn, O as no, C as so } from "./OrbitControls-RphIngUQ.js";
|
|
5
5
|
const io = (r) => typeof r == "object" && typeof r.then == "function", Mt = [];
|
|
6
6
|
function oo(r, e, t = (s, n) => s === n) {
|
|
7
7
|
if (r === e) return !0;
|
|
@@ -3346,7 +3346,7 @@ const Mr = /* @__PURE__ */ C.forwardRef(function({
|
|
|
3346
3346
|
const {
|
|
3347
3347
|
Text: u,
|
|
3348
3348
|
preloadFont: f
|
|
3349
|
-
} = Yn(async () => import("./troika-three-text.esm-
|
|
3349
|
+
} = Yn(async () => import("./troika-three-text.esm-BwYALabC.js"), []), d = Ce(({
|
|
3350
3350
|
invalidate: x
|
|
3351
3351
|
}) => x), [h] = C.useState(() => new u()), [y, A] = C.useMemo(() => {
|
|
3352
3352
|
const x = [];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aw as n, ax as we, ay as se, ar as ue, as as ze, az as _e, l as he, aA as ke, aB as Ie, m as re, aC as le, e as C, V as _, ag as Z, ae as De, aq as M, aD as Me, aE as Pe, av as Ae, W as Be, ad as Ne, z as Ue, aF as Le, aG as j, ao as N, aH as Oe, am as Fe } from "./index-
|
|
1
|
+
import { aw as n, ax as we, ay as se, ar as ue, as as ze, az as _e, l as he, aA as ke, aB as Ie, m as re, aC as le, e as C, V as _, ag as Z, ae as De, aq as M, aD as Me, aE as Pe, av as Ae, W as Be, ad as Ne, z as Ue, aF as Le, aG as j, ao as N, aH as Oe, am as Fe } from "./index-2HxK8U2z.js";
|
|
2
2
|
import { useRef as P, useState as fe, useMemo as de, useEffect as $, Suspense as Ve } from "react";
|
|
3
|
-
import { u as ve, a as Ge, O as me, C as qe } from "./OrbitControls-
|
|
3
|
+
import { u as ve, a as Ge, O as me, C as qe } from "./OrbitControls-RphIngUQ.js";
|
|
4
4
|
const S = 32, B = 64, G = 64, ce = 4, oe = B * G * ce, ge = B * S, xe = G * S, pe = ce * S, V = {
|
|
5
5
|
NOT_STARTED: "not_started",
|
|
6
6
|
IN_PROGRESS: "in_progress",
|
package/dist/index.min.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cq as s, b$ as i, bW as n, bU as c, bV as t, c3 as r, c4 as l, bX as p, cf as d, cd as C, cb as u, ce as g, cc as T, cr as S, bT as y, ca as b, bY as m, bS as P, bR as f, c1 as I, c7 as N, c0 as F, c2 as _, c6 as U, c5 as V, b_ as v, c8 as x, c9 as A, ck as M, cn as O, ch as w, co as E, cp as H, ci as L, cl as Y, cm as h, cj as z, bZ as G, cg as R } from "./index-
|
|
1
|
+
import { cq as s, b$ as i, bW as n, bU as c, bV as t, c3 as r, c4 as l, bX as p, cf as d, cd as C, cb as u, ce as g, cc as T, cr as S, bT as y, ca as b, bY as m, bS as P, bR as f, c1 as I, c7 as N, c0 as F, c2 as _, c6 as U, c5 as V, b_ as v, c8 as x, c9 as A, ck as M, cn as O, ch as w, co as E, cp as H, ci as L, cl as Y, cm as h, cj as z, bZ as G, cg as R } from "./index-2HxK8U2z.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
s as ControlledComparative,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as sA } from "./pako.esm-D68R8YXe.js";
|
|
2
|
-
import { aI as DA, aZ as nA, a_ as fA, a$ as gA } from "./index-
|
|
2
|
+
import { aI as DA, aZ as nA, a_ as fA, a$ as gA } from "./index-2HxK8U2z.js";
|
|
3
3
|
var BA = { exports: {} }, iA;
|
|
4
4
|
function tA() {
|
|
5
5
|
return iA || (iA = 1, function(j) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bM as wn, bN as Tn, bO as Fn, ae as Cn, bP as An, a9 as Dn, a8 as En, a7 as Mn, am as Rn, u as on, z as vr, a5 as Gn, v as On, C as pr, e as gr, M as Ln, V as Bt, ap as Bn, ag as Wr, a1 as Pn, l as zr, aF as mr, x as In, aa as Nn, bQ as Wn } from "./index-
|
|
1
|
+
import { bM as wn, bN as Tn, bO as Fn, ae as Cn, bP as An, a9 as Dn, a8 as En, a7 as Mn, am as Rn, u as on, z as vr, a5 as Gn, v as On, C as pr, e as gr, M as Ln, V as Bt, ap as Bn, ag as Wr, a1 as Pn, l as zr, aF as mr, x as In, aa as Nn, bQ as Wn } from "./index-2HxK8U2z.js";
|
|
2
2
|
function zn() {
|
|
3
3
|
var c = /* @__PURE__ */ Object.create(null);
|
|
4
4
|
function r(t, e) {
|
|
@@ -6,7 +6,7 @@ import { Vitessce } from '@vitessce/all';
|
|
|
6
6
|
import { isEqual } from 'lodash-es';
|
|
7
7
|
import { BiomarkerSelectPageComponent, generateComparativeConfig } from './ComparativeConfig.jsx';
|
|
8
8
|
export function BiomarkerSelect(props) {
|
|
9
|
-
const { datasetUrl = 'https://data-2.vitessce.io/kpmp-atlas-v2/sn-rna-seq/processed/kpmp-
|
|
9
|
+
const { datasetUrl = 'https://data-2.vitessce.io/kpmp-atlas-v2/sn-rna-seq/processed/kpmp-may-2026.adata.zarr', geneSelection, sampleSetSelection, setGeneSelection, setSampleSetSelection, theme = 'light2', debugMode = false, logLevel = undefined, } = props;
|
|
10
10
|
const initialConfig = useMemo(() => generateComparativeConfig(datasetUrl, true), [datasetUrl]);
|
|
11
11
|
const [currentConfig, setCurrentConfig] = useState(null);
|
|
12
12
|
// Merge currentConfig with geneSelection and sampleSetSelection,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComparativeConfig.d.ts","sourceRoot":"","sources":["../src/ComparativeConfig.jsx"],"names":[],"mappings":"AAgBA;;;;;;;GAOG;AACH,mDAJW,MAAM,yBACN,OAAO,
|
|
1
|
+
{"version":3,"file":"ComparativeConfig.d.ts","sourceRoot":"","sources":["../src/ComparativeConfig.jsx"],"names":[],"mappings":"AAgBA;;;;;;;GAOG;AACH,mDAJW,MAAM,yBACN,OAAO,UA0QjB;AAED,4DAkDC;AAED,wDA4PC"}
|
|
@@ -36,7 +36,7 @@ export function generateComparativeConfig(baseUrl, isBiomarkerSelectOnly) {
|
|
|
36
36
|
url: baseUrl,
|
|
37
37
|
options: {
|
|
38
38
|
metadataPath: 'uns/comparison_metadata',
|
|
39
|
-
indexColumn: '
|
|
39
|
+
indexColumn: 'variable',
|
|
40
40
|
pValueColumn: 'pvals_adj',
|
|
41
41
|
foldChangeColumn: 'logfoldchanges',
|
|
42
42
|
// pValueTransformation: 'minuslog10',
|
|
@@ -107,6 +107,40 @@ export function generateComparativeConfig(baseUrl, isBiomarkerSelectOnly) {
|
|
|
107
107
|
embeddingType: 'densMAP',
|
|
108
108
|
},
|
|
109
109
|
],
|
|
110
|
+
/*
|
|
111
|
+
obsSets: [
|
|
112
|
+
{
|
|
113
|
+
name: 'Subclass L1',
|
|
114
|
+
path: 'obs/subclass_l1',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
name: 'Subclass L2',
|
|
118
|
+
path: 'obs/subclass_l2',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
name: 'Subclass L3',
|
|
122
|
+
path: 'obs/subclass_l3',
|
|
123
|
+
},
|
|
124
|
+
], */
|
|
125
|
+
/* featureLabels: {
|
|
126
|
+
path: 'var/features',
|
|
127
|
+
}, */
|
|
128
|
+
sampleEdges: {
|
|
129
|
+
path: 'obs/specimen',
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
})
|
|
133
|
+
.addFile({
|
|
134
|
+
fileType: 'anndata.zarr',
|
|
135
|
+
// TODO: fix obs/subclass_l1 column
|
|
136
|
+
url: 'https://data-2.vitessce.io/kpmp-atlas-v2/sn-rna-seq/processed/kpmp-may-2026.adata.zarr',
|
|
137
|
+
coordinationValues: {
|
|
138
|
+
obsType: 'cell',
|
|
139
|
+
featureType: 'gene',
|
|
140
|
+
featureValueType: 'expression',
|
|
141
|
+
sampleType: 'sample',
|
|
142
|
+
},
|
|
143
|
+
options: {
|
|
110
144
|
obsSets: [
|
|
111
145
|
{
|
|
112
146
|
name: 'Subclass L1',
|
|
@@ -141,12 +175,6 @@ export function generateComparativeConfig(baseUrl, isBiomarkerSelectOnly) {
|
|
|
141
175
|
path: 'obs/EnrollmentCategory',
|
|
142
176
|
}, */
|
|
143
177
|
],
|
|
144
|
-
/* featureLabels: {
|
|
145
|
-
path: 'var/features',
|
|
146
|
-
}, */
|
|
147
|
-
sampleEdges: {
|
|
148
|
-
path: 'obs/specimen',
|
|
149
|
-
},
|
|
150
178
|
},
|
|
151
179
|
})
|
|
152
180
|
.addFile({
|
|
@@ -158,6 +186,10 @@ export function generateComparativeConfig(baseUrl, isBiomarkerSelectOnly) {
|
|
|
158
186
|
name: 'Adjudicated Category',
|
|
159
187
|
path: 'AdjudicatedCategory',
|
|
160
188
|
},
|
|
189
|
+
{
|
|
190
|
+
name: 'Merged Adjudicated Category',
|
|
191
|
+
path: 'MergedAdjudicatedCategory',
|
|
192
|
+
},
|
|
161
193
|
{
|
|
162
194
|
name: 'Enrollment Category',
|
|
163
195
|
path: 'EnrollmentCategory',
|
|
@@ -322,5 +354,5 @@ export function ComparativePageComponent() {
|
|
|
322
354
|
.view-row-right > div {
|
|
323
355
|
max-height: 100vh;
|
|
324
356
|
}
|
|
325
|
-
` }), _jsxs("div", { style: { width: '100%', display: 'flex', flexDirection: 'row' }, children: [_jsxs("div", { style: { width: '85%' }, children: [_jsxs("div", { className: clsx('view-row', 'view-row-tall'), children: [_jsx("div", { className: "view-row-left", children: _jsx("p", { children: "This view contains contour scatterplots which display the results of a density-preserving dimensionality reduction (Narayan et al. 2021). Contour opacities correspond to the shown percentile thresholds." }) }), _jsx("div", { className: "view-row-center", children: _jsx(DualScatterplot, {}) })] }), _jsxs("div", { className: clsx('view-row'), children: [_jsx("div", { className: "view-row-left" }), _jsx("div", { className: "view-row-center", children: _jsx(Link, { component: "button", href: "#", variant: "body2", children: "Show analysis details" }) })] }), _jsxs("div", { className: clsx('view-row'), children: [_jsx("div", { className: "view-row-left", children: _jsx("p", { className: "tabs-description", children: "Use the tabs to switch the visualization rendered below." }) }), _jsx("div", { className: "view-row-center", children: _jsxs(Tabs, { value: visTab, onChange: (event, newValue) => setVisTab(newValue), "aria-label": "Switch visualization tabs", children: [_jsx(Tab, { label: "Treemap Plot" }), _jsx(Tab, { label: "Volcano Plot" }), _jsx(Tab, { label: "Dot Plot" }), _jsx(Tab, { label: "Violin Plot" }), _jsx(Tab, { label: "Cell Type Composition Bar Plot" })] }) })] }), visTab === 0 ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: clsx('view-row', 'view-row-short'), children: [_jsx("div", { className: "view-row-left", children: _jsx("p", { children: "This view contains a treemap visualization to communicate cell type composition in each of the selected sample groups." }) }), _jsx("div", { className: "view-row-center", children: _jsx(Treemap, {}) })] }), _jsxs("div", { className: clsx('view-row'), children: [_jsx("div", { className: "view-row-left" }), _jsx("div", { className: "view-row-center", children: _jsx(Link, { component: "button", href: "#", variant: "body2", children: "Show analysis details" }) })] })] })) : null, visTab === 1 ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: clsx('view-row', 'view-row-tall'), children: [_jsx("div", { className: "view-row-left", children: _jsxs("p", { children: ["This view displays differential expression test results, performed using
|
|
357
|
+
` }), _jsxs("div", { style: { width: '100%', display: 'flex', flexDirection: 'row' }, children: [_jsxs("div", { style: { width: '85%' }, children: [_jsxs("div", { className: clsx('view-row', 'view-row-tall'), children: [_jsx("div", { className: "view-row-left", children: _jsx("p", { children: "This view contains contour scatterplots which display the results of a density-preserving dimensionality reduction (Narayan et al. 2021). Contour opacities correspond to the shown percentile thresholds." }) }), _jsx("div", { className: "view-row-center", children: _jsx(DualScatterplot, {}) })] }), _jsxs("div", { className: clsx('view-row'), children: [_jsx("div", { className: "view-row-left" }), _jsx("div", { className: "view-row-center", children: _jsx(Link, { component: "button", href: "#", variant: "body2", children: "Show analysis details" }) })] }), _jsxs("div", { className: clsx('view-row'), children: [_jsx("div", { className: "view-row-left", children: _jsx("p", { className: "tabs-description", children: "Use the tabs to switch the visualization rendered below." }) }), _jsx("div", { className: "view-row-center", children: _jsxs(Tabs, { value: visTab, onChange: (event, newValue) => setVisTab(newValue), "aria-label": "Switch visualization tabs", children: [_jsx(Tab, { label: "Treemap Plot" }), _jsx(Tab, { label: "Volcano Plot" }), _jsx(Tab, { label: "Dot Plot" }), _jsx(Tab, { label: "Violin Plot" }), _jsx(Tab, { label: "Cell Type Composition Bar Plot" })] }) })] }), visTab === 0 ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: clsx('view-row', 'view-row-short'), children: [_jsx("div", { className: "view-row-left", children: _jsx("p", { children: "This view contains a treemap visualization to communicate cell type composition in each of the selected sample groups." }) }), _jsx("div", { className: "view-row-center", children: _jsx(Treemap, {}) })] }), _jsxs("div", { className: clsx('view-row'), children: [_jsx("div", { className: "view-row-left" }), _jsx("div", { className: "view-row-center", children: _jsx(Link, { component: "button", href: "#", variant: "body2", children: "Show analysis details" }) })] })] })) : null, visTab === 1 ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: clsx('view-row', 'view-row-tall'), children: [_jsx("div", { className: "view-row-left", children: _jsxs("p", { children: ["This view displays differential expression test results, performed using PyDESeq2 (Muzellec et al. 2023). ", _jsx("br", {}), _jsx("br", {}), "Tests have only been run when each group contains at least 25 cells and at least three participants. Genes are filtered to those that are expressed above zero counts in at least half of the pseudobulked observations.", _jsx("br", {}), _jsx("br", {}), "The arrows on the bottom left and bottom right denote the direction of the effect. Click a point in the plot to select the corresponding gene. ", _jsx("br", {}), _jsx("br", {}), "Note that differential expression tests have been run for each cell type separately, so the each gene can appear multiple times (once per cell type). If there are too many points on the plot, cell types can be selected to filter the points."] }) }), _jsx("div", { className: "view-row-center", children: _jsx(VolcanoPlot, {}) })] }), _jsxs("div", { className: clsx('view-row'), children: [_jsx("div", { className: "view-row-left" }), _jsx("div", { className: "view-row-center", children: _jsx(Link, { component: "button", href: "#", variant: "body2", children: "Show analysis details" }) })] })] })) : null, visTab === 2 ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: clsx('view-row', 'view-row-tall'), children: [_jsx("div", { className: "view-row-left", children: _jsx("p", { children: "This dot plot view displays gene expression values per cell type and sample group for the selected biomarkers." }) }), _jsx("div", { className: "view-row-center", children: _jsx(DotPlot, {}) })] }), _jsxs("div", { className: clsx('view-row'), children: [_jsx("div", { className: "view-row-left" }), _jsx("div", { className: "view-row-center", children: _jsx(Link, { component: "button", href: "#", variant: "body2", children: "Show analysis details" }) })] })] })) : null, visTab === 3 ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: clsx('view-row', 'view-row-tall'), children: [_jsx("div", { className: "view-row-left", children: _jsx("p", { children: "This violin plot view displays gene expression values per cell type and sample group for the selected biomarker." }) }), _jsx("div", { className: "view-row-center", children: _jsx(ViolinPlot, {}) })] }), _jsxs("div", { className: clsx('view-row'), children: [_jsx("div", { className: "view-row-left" }), _jsx("div", { className: "view-row-center", children: _jsx(Link, { component: "button", href: "#", variant: "body2", children: "Show analysis details" }) })] })] })) : null, visTab === 4 ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: clsx('view-row', 'view-row-tall'), children: [_jsx("div", { className: "view-row-left", children: _jsx("p", { children: "This view displays the results of a cell type composition analysis performed using the ScCODA algorithm (B\u00FCttner et al. 2021). Cell types with significantly different composition between the selected sample groups are displayed opaque while not-signficant results are displayed with transparent bars. The single outlined bar denotes the automatically-selected reference cell type." }) }), _jsx("div", { className: "view-row-center", children: _jsx(SccodaPlot, {}) })] }), _jsxs("div", { className: clsx('view-row'), children: [_jsx("div", { className: "view-row-left" }), _jsx("div", { className: "view-row-center", children: _jsx(Link, { component: "button", href: "#", variant: "body2", children: "Show analysis details" }) })] })] })) : null, _jsxs("div", { className: clsx('view-row'), children: [_jsx("div", { className: "view-row-left", children: _jsx("p", { className: "tabs-description", children: "Use the tabs to switch the table rendered below." }) }), _jsx("div", { className: "view-row-center", children: _jsxs(Tabs, { value: tableTab, onChange: (event, newValue) => setTableTab(newValue), "aria-label": "Switch table tabs", children: [_jsx(Tab, { label: "Differential Expression Results for Selected Gene" }), _jsx(Tab, { label: "Differential Expression Results for All Genes" }), _jsx(Tab, { label: "Gene Set Enrichment Analysis Results" })] }) })] }), tableTab === 0 ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: clsx('view-row', 'view-row-tall'), children: [_jsx("div", { className: "view-row-left", children: _jsx("p", { children: "This view displays differential expression test results in tabular form. Click a row in the table to select the corresponding gene." }) }), _jsx("div", { className: "view-row-center", children: _jsx(VolcanoPlotTable, {}) })] }), _jsxs("div", { className: clsx('view-row'), children: [_jsx("div", { className: "view-row-left" }), _jsx("div", { className: "view-row-center", children: _jsx(Link, { component: "button", href: "#", variant: "body2", children: "Show analysis details" }) })] })] })) : null] }), _jsx("div", { style: { width: '14%', marginTop: '114px', marginBottom: '100px' }, children: _jsx(Sticky, { children: _jsx("div", { className: "view-row-right", children: _jsx(CellSets, {}) }) }) })] })] }));
|
|
326
358
|
}
|
|
@@ -25,7 +25,7 @@ import { ComparativePageComponent, generateComparativeConfig } from './Comparati
|
|
|
25
25
|
* @returns {React.ReactElement} The comparative visualization component.
|
|
26
26
|
*/
|
|
27
27
|
export function ControlledComparative(props) {
|
|
28
|
-
const { datasetUrl = 'https://data-2.vitessce.io/kpmp-atlas-v2/sn-rna-seq/processed/kpmp-
|
|
28
|
+
const { datasetUrl = 'https://data-2.vitessce.io/kpmp-atlas-v2/sn-rna-seq/processed/kpmp-may-2026.adata.zarr', geneSelection, setGeneSelection, sampleSetSelection, setSampleSetSelection, theme = 'light2', debugMode = false, logLevel = undefined, } = props;
|
|
29
29
|
const initialConfig = useMemo(() => generateComparativeConfig(datasetUrl, false), [datasetUrl]);
|
|
30
30
|
const [currentConfig, setCurrentConfig] = useState(null);
|
|
31
31
|
// Merge currentConfig with geneSelection and sampleSetSelection,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/comparative",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.10",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"react-sticky-el": "^2.1.1",
|
|
23
23
|
"react-window": "^1.8.10",
|
|
24
24
|
"nuqs": "^2.6.0",
|
|
25
|
-
"@vitessce/abstract": "3.9.
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
28
|
-
"@vitessce/config": "3.9.
|
|
29
|
-
"@vitessce/constants-internal": "3.9.
|
|
30
|
-
"@vitessce/
|
|
31
|
-
"@vitessce/
|
|
32
|
-
"@vitessce/
|
|
33
|
-
"@vitessce/
|
|
34
|
-
"@vitessce/
|
|
25
|
+
"@vitessce/abstract": "3.9.10",
|
|
26
|
+
"@vitessce/all": "3.9.10",
|
|
27
|
+
"@vitessce/constants": "3.9.10",
|
|
28
|
+
"@vitessce/config": "3.9.10",
|
|
29
|
+
"@vitessce/constants-internal": "3.9.10",
|
|
30
|
+
"@vitessce/export-utils": "3.9.10",
|
|
31
|
+
"@vitessce/error": "3.9.10",
|
|
32
|
+
"@vitessce/vit-s": "3.9.10",
|
|
33
|
+
"@vitessce/styles": "3.9.10",
|
|
34
|
+
"@vitessce/zarr": "3.9.10"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@vitejs/plugin-react": "^4.5.0",
|
package/src/BiomarkerSelect.jsx
CHANGED
|
@@ -7,7 +7,7 @@ import { BiomarkerSelectPageComponent, generateComparativeConfig } from './Compa
|
|
|
7
7
|
|
|
8
8
|
export function BiomarkerSelect(props) {
|
|
9
9
|
const {
|
|
10
|
-
datasetUrl = 'https://data-2.vitessce.io/kpmp-atlas-v2/sn-rna-seq/processed/kpmp-
|
|
10
|
+
datasetUrl = 'https://data-2.vitessce.io/kpmp-atlas-v2/sn-rna-seq/processed/kpmp-may-2026.adata.zarr',
|
|
11
11
|
geneSelection,
|
|
12
12
|
sampleSetSelection,
|
|
13
13
|
setGeneSelection,
|
|
@@ -40,7 +40,7 @@ export function generateComparativeConfig(baseUrl, isBiomarkerSelectOnly) {
|
|
|
40
40
|
url: baseUrl,
|
|
41
41
|
options: {
|
|
42
42
|
metadataPath: 'uns/comparison_metadata',
|
|
43
|
-
indexColumn: '
|
|
43
|
+
indexColumn: 'variable',
|
|
44
44
|
pValueColumn: 'pvals_adj',
|
|
45
45
|
foldChangeColumn: 'logfoldchanges',
|
|
46
46
|
// pValueTransformation: 'minuslog10',
|
|
@@ -111,6 +111,40 @@ export function generateComparativeConfig(baseUrl, isBiomarkerSelectOnly) {
|
|
|
111
111
|
embeddingType: 'densMAP',
|
|
112
112
|
},
|
|
113
113
|
],
|
|
114
|
+
/*
|
|
115
|
+
obsSets: [
|
|
116
|
+
{
|
|
117
|
+
name: 'Subclass L1',
|
|
118
|
+
path: 'obs/subclass_l1',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
name: 'Subclass L2',
|
|
122
|
+
path: 'obs/subclass_l2',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
name: 'Subclass L3',
|
|
126
|
+
path: 'obs/subclass_l3',
|
|
127
|
+
},
|
|
128
|
+
], */
|
|
129
|
+
/* featureLabels: {
|
|
130
|
+
path: 'var/features',
|
|
131
|
+
}, */
|
|
132
|
+
sampleEdges: {
|
|
133
|
+
path: 'obs/specimen',
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
})
|
|
137
|
+
.addFile({
|
|
138
|
+
fileType: 'anndata.zarr',
|
|
139
|
+
// TODO: fix obs/subclass_l1 column
|
|
140
|
+
url: 'https://data-2.vitessce.io/kpmp-atlas-v2/sn-rna-seq/processed/kpmp-may-2026.adata.zarr',
|
|
141
|
+
coordinationValues: {
|
|
142
|
+
obsType: 'cell',
|
|
143
|
+
featureType: 'gene',
|
|
144
|
+
featureValueType: 'expression',
|
|
145
|
+
sampleType: 'sample',
|
|
146
|
+
},
|
|
147
|
+
options: {
|
|
114
148
|
obsSets: [
|
|
115
149
|
{
|
|
116
150
|
name: 'Subclass L1',
|
|
@@ -145,12 +179,6 @@ export function generateComparativeConfig(baseUrl, isBiomarkerSelectOnly) {
|
|
|
145
179
|
path: 'obs/EnrollmentCategory',
|
|
146
180
|
}, */
|
|
147
181
|
],
|
|
148
|
-
/* featureLabels: {
|
|
149
|
-
path: 'var/features',
|
|
150
|
-
}, */
|
|
151
|
-
sampleEdges: {
|
|
152
|
-
path: 'obs/specimen',
|
|
153
|
-
},
|
|
154
182
|
},
|
|
155
183
|
})
|
|
156
184
|
.addFile({
|
|
@@ -162,6 +190,10 @@ export function generateComparativeConfig(baseUrl, isBiomarkerSelectOnly) {
|
|
|
162
190
|
name: 'Adjudicated Category',
|
|
163
191
|
path: 'AdjudicatedCategory',
|
|
164
192
|
},
|
|
193
|
+
{
|
|
194
|
+
name: 'Merged Adjudicated Category',
|
|
195
|
+
path: 'MergedAdjudicatedCategory',
|
|
196
|
+
},
|
|
165
197
|
{
|
|
166
198
|
name: 'Enrollment Category',
|
|
167
199
|
path: 'EnrollmentCategory',
|
|
@@ -440,7 +472,7 @@ export function ComparativePageComponent() {
|
|
|
440
472
|
<>
|
|
441
473
|
<div className={clsx('view-row', 'view-row-tall')}>
|
|
442
474
|
<div className="view-row-left">
|
|
443
|
-
<p>This view displays differential expression test results, performed using
|
|
475
|
+
<p>This view displays differential expression test results, performed using PyDESeq2 (Muzellec et al. 2023). <br /><br />Tests have only been run when each group contains at least 25 cells and at least three participants. Genes are filtered to those that are expressed above zero counts in at least half of the pseudobulked observations.<br /><br />The arrows on the bottom left and bottom right denote the direction of the effect. Click a point in the plot to select the corresponding gene. <br /><br />Note that differential expression tests have been run for each cell type separately, so the each gene can appear multiple times (once per cell type). If there are too many points on the plot, cell types can be selected to filter the points.</p>
|
|
444
476
|
</div>
|
|
445
477
|
<div className="view-row-center">
|
|
446
478
|
<VolcanoPlot />
|
|
@@ -26,7 +26,7 @@ import { ComparativePageComponent, generateComparativeConfig } from './Comparati
|
|
|
26
26
|
*/
|
|
27
27
|
export function ControlledComparative(props) {
|
|
28
28
|
const {
|
|
29
|
-
datasetUrl = 'https://data-2.vitessce.io/kpmp-atlas-v2/sn-rna-seq/processed/kpmp-
|
|
29
|
+
datasetUrl = 'https://data-2.vitessce.io/kpmp-atlas-v2/sn-rna-seq/processed/kpmp-may-2026.adata.zarr',
|
|
30
30
|
geneSelection,
|
|
31
31
|
setGeneSelection,
|
|
32
32
|
sampleSetSelection,
|