Logistic regression for estimating functional effects with spatial transcriptomics.
Overview
- Department of Neuroscience, Washington University School of Medicine in St. Louis, 660 S. Euclid Ave., 63110 Missouri, United States
- Department of Biology, The City University of New York Graduate Center, 365 Fifth Ave., 10016 New York, United States
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
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
- alleninstitute.github.io
/ , at alleninstitute.github.io; found in “Data availability”abc_atlas_access - geo:GSE319949, at NCBI GEO; found in “Data availability”
- github.com/
naef-lab/ , at github.com; found in “Data availability”circadian-zonation
Other data links
- ncbi.nlm.nih.gov/
geo , NCBI; found in “Data availability”
Data availability
S1 MERFISH data: Raw image files are available on the European Bioinformatics Institute’s (EBI) BioImage Archive at ebi.ac.uk/
S1_laminar_countdata_NAR
Droin_radial_count_data_
Allen_data.csv: seed data used for attractor simulations.
benchmark_results_NARres
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://
BibTeX
@article{barkasi2026logi
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/
url = {https://
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/
VL - 54
IS - 9
SP - gkag466
SN - 0305-1048
PB - Oxford University Press
DO - 10.1093/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1093/
"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":
"volume": "54",
"issue": "9",
"page": "gkag466",
"DOI": "10.1093/
"PMID": "42137981",
"PMCID": "PMC13176786",
"ISSN": "0305-1048",
"publisher": "Oxford University Press",
"URL": "https://
"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/s41467-025-58891-3 [code]
- Asynchronous development of the mouse auditory cortex is driven by hemispheric identity and sex.Journal: Nature communicationsIn common: mouse, 2 references, 2 authors
- [2] doi:10.1073/pnas.2503952122 [code]
- A unified framework for identification of cell-type-specific spatially variable genes in spatial transcriptomic studies.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: genetics / omics, mouse, 10 references
- [3] doi:10.1038/s41592-026-03194-8 [code]
- Beyond benchmarking: an expert-guided consensus approach to spatially aware clustering.Journal: Nature methodsIn common: alleninstitute.github.io/abc_atlas_access, genetics / omics, 5 references
- [4] doi:10.1038/s41586-023-06808-9 [code]
- Molecularly defined and spatially resolved cell atlas of the whole mouse brain.Journal: NatureIn common: alleninstitute.github.io/abc_atlas_access, genetics / omics, mouse, 5 references
- [5] doi:10.1186/s13059-022-02734-7 [code]
- BASS: multi-scale and multi-sample analysis enables accurate cell type clustering and spatial domain detection in spatial transcriptomic studies.Journal: Genome biologyIn common: genetics / omics, 8 references
- [6] doi:10.1093/nar/gkag621 [code]
- Optimal gene panel selection for targeted spatial transcriptomics experiments.Journal: Nucleic acids researchIn common: genetics / omics, mouse, 8 references
- [7] doi:10.1093/nsr/nwaf030 [code]
- DSCT: a novel deep-learning framework for rapid and accurate spatial transcriptomic cell typing.Journal: National science reviewIn common: genetics / omics, 8 references
- [8] doi:10.1038/s41587-022-01455-3 [code]
- Scalable in situ single-cell profiling by electrophoretic capture of mRNA using EEL FISH.Journal: Nature biotechnologyIn common: genetics / omics, mouse, 8 references
- [9] doi:10.1186/s13059-025-03747-8 [code]
- Cross-expression meta-analysis of mouse brain slices reveals coordinated gene expression across spatially adjacent cells.Journal: Genome biologyIn common: genetics / omics, mouse, 8 references
- [10] doi:10.1038/s41598-026-39703-0 [code]
- Attention-guided enhanced deconvolution enables reference-free cell type estimation in spatial transcriptomics.Journal: Scientific reportsIn common: genetics / omics, mouse, 7 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.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 0 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:2b56dc7f041c07b5…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1093/nar/gkag466)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1093/nar/gkag466.svg
:target: https://openscicode.org/badge/doi/10.1093/nar/gkag466
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1093/nar/gkag466"><img src="https://openscicode.org/badge/doi/10.1093/nar/gkag466.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge 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: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
