OSCR

Logistic regression for estimating functional effects with spatial transcriptomics.

Overview

  1. Department of Neuroscience, Washington University School of Medicine in St. Louis, 660 S. Euclid Ave., 63110 Missouri, United States
  2. Department of Biology, The City University of New York Graduate Center, 365 Fifth Ave., 10016 New York, United States
Institutions: Washington University in St. Louis (United States); City University of New York (United States)
Journal: Nucleic acids research, volume 54, issue 9, article gkag466
Dates: received 23 June 2025; accepted 19 April 2026; published online 15 May 2026; in print May 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1093/nar/gkag466 · PMID 42137981 · PMCID PMC13176786 · OpenAlex W7161299857
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: genetics / omics (modality), mouse (organism)
Methods: Connectivity, Statistics, fMRI & imaging
MeSH: Gene Expression Profiling*, Spatial Transcriptomics*, Transcriptome*, Animals, Liver, Mice, Somatosensory Cortex (* major topic)
Topic: Single-cell and spatial transcriptomics (Molecular Biology, Biochemistry, Genetics and Molecular Biology), according to OpenAlex
Funding: Washington University School of Medicine
Citations: not cited yet (Europe PMC); 82 references in the paper
Research resources: We used MapMyCells RRID:SCR_024672

Abstract

Spatial transcriptomics (ST) unlocks potential for studying gene functions in processes that depend on orchestration of transcription across space. However, analysis tools for ST remain aimed at data exploration, with few resources for hypothesis testing. What’s missing is a way to test whether a factor of interest affects functionally relevant parameters of a gene’s spatial distribution. We present a tool to fill this gap, which we call a warped sigmoidal Poisson-process mixed-effects (WSP, pronounced “wisp”) model. WSP models are the first ST tool allowing researchers to test critical questions without bespoke preprocessing pipelines for identifying key spatial parameters. By aligning coordinates to an axis of interest and letting a likelihood-based regression find between-group effects on expression rates and boundaries, WSP models replace error-prone manual preprocessing with minimally biased hypothesis testing. After introducing WSP models, we demonstrate their statistical validity using semi-synthetic simulated data and their ability to test for effects by applying them to MERFISH data from mouse somatosensory cortex and bulk sequencing data from mouse liver lobules with extrapolated spatial coordinates. Together, these validations and applications demonstrate that WSP models offer a practical and statistically rigorous approach to quantifying and testing for effects on spatial variation in transcriptomic data.

Reproduced under the paper's license (CC BY), from the paper cited above.

Code

No file of the authors' code could be read here: it is described below, and read at its source.

Zenodo 19681335

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Data availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)

The paper's code and data availability statement is in the Data section.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 0 scripts, each with its path and the digest of its content;
  • no match between paragraphs and code yet;
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

Datasets cited

Other data links

Data availability

S1 MERFISH data: Raw image files are available on the European Bioinformatics Institute’s (EBI) BioImage Archive at ebi.ac.uk/bioimage-archive/, accession number S-BIAD2957, DOI: 10.6019/S-BIAD2957. Vizgen Post-processing Tool output with CCFv3 registration is available as HDF5 files on the NIH Gene Expression Omnibus (GEO) atncbi.nlm.nih.gov/geo/, accession number GSE319949 (https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE319949). Liver–lobule data from Droin et al. [14] is available at github.com/naef-lab/Circadian-zonation/tree/master/Datasets/Profiles. MERFISH data from Yao et al. [55] is available at alleninstitute.github.io/abc_atlas_access/descriptions/MERFISH-C57BL6J-638850.html. Available at github.com/Oviedo-Lab/wspmm_methods and https://doi.org/10.5281/zenodo.19681335 are the following files:

S1_laminar_countdata_NARresub_feb14_2026 .csv: final version of the S1 MERFISH data with transformation into laminar coordinates.

Droin_radial_count_data_sim.csv: preprocessed version of the Droin et al. [14] data used here.

Allen_data.csv: seed data used for attractor simulations.

benchmark_results_NARresub_feb14_2026 .csv: results of running the 250 attractor-simulation benchmarking.

This Git Repo also contains all the code used in this paper, excluding wispack.

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 7 MeSH terms, 1 funder, 77 references, 1 RRID.

Cite

This paper

Barkasi, M., Pham, C. N., Neophytou, D., & Oviedo, H. V. (2026). Logistic regression for estimating functional effects with spatial transcriptomics. Nucleic acids research, 54(9), gkag466. https://doi.org/10.1093/nar/gkag466

BibTeX

@article{barkasi2026logistic,
author = {Barkasi, Michael and Pham, Cody Nhan and Neophytou, Demetrios and Oviedo, Hysell V},
title = {{Logistic regression for estimating functional effects with spatial transcriptomics}},
journal = {Nucleic acids research},
year = {2026},
month = may,
volume = {54},
number = {9},
pages = {gkag466},
publisher = {Oxford University Press},
issn = {0305-1048},
doi = {10.1093/nar/gkag466},
url = {https://doi.org/10.1093/nar/gkag466},
pmid = {42137981},
pmcid = {PMC13176786}
}

RIS

TY - JOUR
AU - Barkasi, Michael
AU - Pham, Cody Nhan
AU - Neophytou, Demetrios
AU - Oviedo, Hysell V
TI - Logistic regression for estimating functional effects with spatial transcriptomics
T2 - Nucleic acids research
J2 - Nucleic Acids Res
PY - 2026
DA - 2026/05/01
VL - 54
IS - 9
SP - gkag466
SN - 0305-1048
PB - Oxford University Press
DO - 10.1093/nar/gkag466
UR - https://doi.org/10.1093/nar/gkag466
LA - en
ER -

CSL-JSON

{
"id": "10.1093/nar/gkag466",
"type": "article-journal",
"title": "Logistic regression for estimating functional effects with spatial transcriptomics",
"container-title": "Nucleic acids research",
"author": [
{
"family": "Barkasi",
"given": "Michael"
},
{
"family": "Pham",
"given": "Cody Nhan"
},
{
"family": "Neophytou",
"given": "Demetrios"
},
{
"family": "Oviedo",
"given": "Hysell V"
}
],
"container-title-short": "Nucleic Acids Res",
"volume": "54",
"issue": "9",
"page": "gkag466",
"DOI": "10.1093/nar/gkag466",
"PMID": "42137981",
"PMCID": "PMC13176786",
"ISSN": "0305-1048",
"publisher": "Oxford University Press",
"URL": "https://doi.org/10.1093/nar/gkag466",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
1
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1038/s41592-026-03194-8 [code]
Beyond benchmarking: an expert-guided consensus approach to spatially aware clustering.
Journal: Nature methods
In common: alleninstitute.github.io/abc_atlas_access, genetics / omics, 5 references
[2] doi:10.1093/nar/gkag621 [code]
Optimal gene panel selection for targeted spatial transcriptomics experiments.
Journal: Nucleic acids research
In common: genetics / omics, mouse, 8 references
[3] doi:10.1073/pnas.2527896123
Spatially tunable multiomic sequencing using light-driven combinatorial barcoding of molecules in tissues.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: genetics / omics, mouse, 6 references
[4] doi:10.1038/s41467-026-71720-5 [code]
RESCUE: recovery of unattributed expression patterns in spatial transcriptomics.
Journal: Nature communications
In common: genetics / omics, 7 references
[5] doi:10.1002/advs.77003 [code]
SemanticST: A Scalable Multi-Contextual Graph Learning Framework for Uncovering Spatial Niches and Robust Multi-Sample Integration in Spatial Transcriptomics.
Journal: Advanced science (Weinheim, Baden-Wurttemberg, Germany)
In common: genetics / omics, 6 references
[6] doi:10.1038/s41593-026-02293-1 [code]
Optics-free spatial genomics for mapping mammalian brain aging by IRISeq.
Journal: Nature neuroscience
In common: genetics / omics, mouse, 6 references
[7] doi:10.1016/j.isci.2026.117206 [code]
ReliST: A model-agnostic risk layer for spatial transcriptomics deconvolution.
Journal: iScience
In common: genetics / omics, mouse, 5 references
[8] doi:10.1038/s41593-026-02388-9 [code]
Hippocampal CA3 connectomics reveals a gradient of mossy fiber inputs and selective feedforward inhibition onto pyramidal cells.
Journal: Nature neuroscience
In common: alleninstitute.github.io/abc_atlas_access, mouse, 2 references
[9] doi:10.1093/bib/bbag331 [code]
SPOmiAlign: a modality-agnostic computational framework for multimodal spatial omics alignment enabled by a feature matching foundation model.
Journal: Briefings in bioinformatics
In common: alleninstitute.github.io/abc_atlas_access, genetics / omics, mouse, 1 reference
[10] doi:10.3791/71046 [code]
Spatially Resolved, Integrated Single-Cell Multiomic Profiling of the Transcriptome and Epigenomic Targets in Frozen Tissue Sections.
Journal: Journal of visualized experiments : JoVE
In common: genetics / omics, 5 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.