@vitessce/comparative 3.9.9 → 3.9.11

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.
@@ -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-D10X079V.js";
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-C-6liJcn.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-CTwuQBHm.js";
3
+ import { u as ve, a as Ge, O as me, C as qe } from "./OrbitControls-DcfwhirX.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-D10X079V.js";
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-C-6liJcn.js";
2
2
  import "react";
3
3
  export {
4
4
  s as ControlledComparative,
@@ -1,4 +1,4 @@
1
- import { aZ as re } from "./index-D10X079V.js";
1
+ import { aZ as re } from "./index-C-6liJcn.js";
2
2
  const O = new Int32Array([
3
3
  0,
4
4
  1,
@@ -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-D10X079V.js";
2
+ import { aI as DA, aZ as nA, a_ as fA, a$ as gA } from "./index-C-6liJcn.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 { aZ as k } from "./index-D10X079V.js";
1
+ import { aZ as k } from "./index-C-6liJcn.js";
2
2
  const b = 9, E = 256, p = 257, x = 12;
3
3
  function A(c, o, r) {
4
4
  const i = o % 8, n = Math.floor(o / 8), h = 8 - i, g = o + r - (n + 1) * 8;
@@ -1,4 +1,4 @@
1
- import { aZ as c } from "./index-D10X079V.js";
1
+ import { aZ as c } from "./index-C-6liJcn.js";
2
2
  class l extends c {
3
3
  decodeBlock(r) {
4
4
  const a = new DataView(r), n = [];
@@ -1,4 +1,4 @@
1
- import { aZ as a } from "./index-D10X079V.js";
1
+ import { aZ as a } from "./index-C-6liJcn.js";
2
2
  class d extends a {
3
3
  decodeBlock(e) {
4
4
  return e;
@@ -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-D10X079V.js";
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-C-6liJcn.js";
2
2
  function zn() {
3
3
  var c = /* @__PURE__ */ Object.create(null);
4
4
  function r(t, e) {
@@ -1,4 +1,4 @@
1
- import { aZ as r } from "./index-D10X079V.js";
1
+ import { aZ as r } from "./index-C-6liJcn.js";
2
2
  class s extends r {
3
3
  constructor() {
4
4
  if (super(), typeof createImageBitmap > "u")
@@ -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-aug-2025.adata.zarr', geneSelection, sampleSetSelection, setGeneSelection, setSampleSetSelection, theme = 'light2', debugMode = false, logLevel = undefined, } = props;
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,UA0OjB;AAED,4DAkDC;AAED,wDA4PC"}
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: 'names',
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 the rank_genes_groups function from Scanpy (Wolf et al. 2018) with method \"wilcoxon\". ", _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, {}) }) }) })] })] }));
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-aug-2025.adata.zarr', geneSelection, setGeneSelection, sampleSetSelection, setSampleSetSelection, theme = 'light2', debugMode = false, logLevel = undefined, } = props;
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.9",
3
+ "version": "3.9.11",
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.9",
26
- "@vitessce/error": "3.9.9",
27
- "@vitessce/all": "3.9.9",
28
- "@vitessce/config": "3.9.9",
29
- "@vitessce/constants-internal": "3.9.9",
30
- "@vitessce/vit-s": "3.9.9",
31
- "@vitessce/export-utils": "3.9.9",
32
- "@vitessce/constants": "3.9.9",
33
- "@vitessce/zarr": "3.9.9",
34
- "@vitessce/styles": "3.9.9"
25
+ "@vitessce/abstract": "3.9.11",
26
+ "@vitessce/config": "3.9.11",
27
+ "@vitessce/all": "3.9.11",
28
+ "@vitessce/constants": "3.9.11",
29
+ "@vitessce/error": "3.9.11",
30
+ "@vitessce/constants-internal": "3.9.11",
31
+ "@vitessce/export-utils": "3.9.11",
32
+ "@vitessce/vit-s": "3.9.11",
33
+ "@vitessce/styles": "3.9.11",
34
+ "@vitessce/zarr": "3.9.11"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@vitejs/plugin-react": "^4.5.0",
@@ -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-aug-2025.adata.zarr',
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: 'names',
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 the rank_genes_groups function from Scanpy (Wolf et al. 2018) with method &quot;wilcoxon&quot;. <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>
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-aug-2025.adata.zarr',
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,