OSCR

Spatial Collinearity Constrains Multivariate Molecular-Enriched Network Estimation.

Code ↔ Paper

3 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 3 matches · 2 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
  1. [1] § Methods › HCP Test–Retest Dataset ↔ functions/preprocess.m, the whole file · a weak match · score 0.81 · CIFTI grayordinates, phase encoding, hp2000 clean, preprocessing, timeseries, voxels · Report a mismatch
  2. [2] § Methods › HCP Test–Retest Dataset ↔ external_packages/matlab/non_default_packages/palm/palm-alpha109/fileio/@nifti/private/nifti1.h, lines 1070 to 1158 · score 0.60 · phase encoding direction, EPI, slices, space · Report a mismatch
  3. [3] § Methods › HCP Test–Retest Dataset ↔ functions/preprocess.m, the whole file · a weak match · score 0.51 · Human Connectome Project, fMRI, HCP · Report a mismatch

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

MATLAB · 124 lines · 3.6 KB · MIT · 2 matches

  1. % This script dose a few additional preprocessing steps on top of HCP
  2. % minimal preprocessing pipeline (Glasser et al 2013)
  3. % 1. Spatial smoothing
  4. % 2. Wishart filtering
  5. % And concatenate two runs (L-R and R-L phase encoding)
  6. clear
  7. close all
  8. addpath ../masks
  9. addpath ../functions/wishart
  10. addpath ../functions
  11. % Subcortex mask
  12. insFile='subcortex_mask.nii';
  13. % Gray matter mask
  14. gmFile='GMmask.nii';
  15. % Subject ID
  16. SubID='100206';
  17. % Gaussian smoothness in mm
  18. FWHM=6;
  19. % Voxel size in mm
  20. voxelsize=2;
  21. % minimally preprocessed fMRI data
  22. % Data Source: Human Connectome Project: https://www.humanconnectome.org/
  23. dataFile1='rfMRI_REST1_LR_hp2000_clean.nii.gz';% L-R phase encoding
  24. dataFile2='rfMRI_REST1_RL_hp2000_clean.nii.gz';% R-L phase encoding
  25. %subcortex mask
  26. [~,ins_msk]=read(insFile); ind_ins=find(ins_msk);
  27. %Gray matter mask
  28. [~,gm_msk]=read(gmFile); ind_msk=find(gm_msk);
  29. % index of subcortex into gray matter
  30. ind_ind_ins=zeros(1,length(ind_ins));
  31. for i=1:length(ind_ins)
  32. ind_ind_ins(i)=find(ind_ins(i)==ind_msk);
  33. end
  34. % Process images
  35. % L-R phase encoding
  36. system(['gunzip ',dataFile1]);
  37. dataFile1=dataFile1(1:end-3);
  38. fprintf('Read and smooth data with FWHM=%dmm\n',FWHM);
  39. [~,data]=read(dataFile1);
  40. T=size(data,4); % Number of time points
  41. xLR=zeros(T,length(ind_msk));
  42. frst=0;
  43. for i=1:T
  44. data(:,:,:,i)=imgaussfilt3(data(:,:,:,i),FWHM/voxelsize/2.355);
  45. tmp=data(:,:,:,i);
  46. xLR(i,:)=tmp(ind_msk);
  47. show_progress(i,T,frst);frst=1;
  48. end
  49. clear data
  50. % Perform Wishart filter. Glasser et al. 2016
  51. fprintf('Wishart filtering\n')
  52. DEMDT=1; %Use 1 if demeaning and detrending (e.g. a timeseries) or -1 if not doing this (e.g. a PCA series)
  53. VN=1; %Initial variance normalization dimensionality
  54. Iterate=2; %Iterate to convergence of dim estimate and variance normalization
  55. NDist=2; %Number of Wishart Filters to apply (for most single subject CIFTI grayordinates data 2 works well)
  56. Out=icaDim(xLR',DEMDT,VN,Iterate,NDist);
  57. xLR=Out.data';
  58. x_insLR=xLR(:,ind_ind_ins);
  59. % Demean and std
  60. xLR=detrend(xLR,'constant'); xLR=xLR./repmat(std(xLR),T,1); %remove mean and make std=1
  61. x_insLR=detrend(x_insLR,'constant'); x_insLR=x_insLR./repmat(std(x_insLR),T,1);
  62. clear i j Out
  63. % R-L phase encoding
  64. system(['gunzip ',dataFile2]);
  65. dataFile2=dataFile2(1:end-3);
  66. fprintf('Read and smooth Data with FWHM=%dmm\n',FWHM)
  67. [~,data]=read(dataFile2);
  68. T=size(data,4); %number of time points
  69. xRL=zeros(T,length(ind_msk));
  70. frst=0;
  71. for i=1:T
  72. data(:,:,:,i)=imgaussfilt3(data(:,:,:,i),FWHM/voxelsize/2.355);
  73. tmp=data(:,:,:,i);
  74. xRL(i,:)=tmp(ind_msk);
  75. show_progress(i,T,frst);frst=1;
  76. end
  77. clear data
  78. % Perform Wishart filter
  79. fprintf('Wishart filtering\n')
  80. DEMDT=1; %Use 1 if demeaning and detrending (e.g. a timeseries) or -1 if not doing this (e.g. a PCA series)
  81. VN=1; %Initial variance normalization dimensionality
  82. Iterate=2; %Iterate to convergence of dim estimate and variance normalization
  83. NDist=2; %Number of Wishart Filters to apply (for most single subject CIFTI grayordinates data 2 works well)
  84. Out=icaDim(xRL',DEMDT,VN,Iterate,NDist);
  85. xRL=Out.data';
  86. x_insRL=xRL(:,ind_ind_ins);
  87. % Demean and std
  88. xRL=detrend(xRL,'constant'); xRL=xRL./repmat(std(xRL),T,1); %remove mean and make std=1
  89. x_insRL=detrend(x_insRL,'constant'); x_insRL=x_insRL./repmat(std(x_insRL),T,1);
  90. clear i j Out
  91. % Concatenate the two runs
  92. x=[xLR;xRL]; % Time series of all gray matter voxels
  93. x_ins=[x_insLR;x_insRL]; % Time series of subcortical voxels
  94. T=size(x_insLR,1) + size(x_insRL,1);
  95. % Demean
  96. x=detrend(x,'constant'); x=x./repmat(std(x),T,1); %remove mean and make std=1
  97. x_ins=detrend(x_ins,'constant'); x_ins=x_ins./repmat(std(x_ins),T,1); %remove mean and make std=1

preprocess.m at commit dcad934, under MIT · at the source

Overview

Authors: Timothy Lawn1,2,3, Johan Nakuci4, Steve C R Williams2, Federico Turkheimer2, Mitul A Mehta2
  1. Oxford Centre for Integrative Neuroimaging, Department of Experimental Psychology, University of Oxford, Oxford, UK
  2. Department of Neuroimaging, Institute of Psychiatry, Psychology and Neuroscience, King's College London, London, UK
  3. Athinoula A. Martinos Center for Biomedical Imaging, Massachusetts General Hospital and Harvard Medical School, Boston, Massachusetts, USA
  4. U.S. Army DEVCOM Army Research Laboratory, Adelphi, Maryland, USA
Journal: Human brain mapping, volume 47, issue 14, article e70645
Dates: received 10 June 2026; accepted 10 September 2026; published online 20 September 2026; in print October 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1002/hbm.70645 · PMID 42764460 · PMCID PMC13590927 · OpenAlex W7164544987
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: fMRI (modality), PET / SPECT (modality), human (organism), cellular / molecular (subfield)
Methods: Connectivity, Statistics, Smoothing, state filtering, decompositions, Machine learning
Keywords: collinearity, connectivity, fMRI, networks, PET, pharmacoimaging, REACT
MeSH: Brain*, Connectome*, Magnetic Resonance Imaging*, Nerve Net*, Positron-Emission Tomography*, Receptors, Neurotransmitter*, Humans (* major topic)
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: Wellcome Trust (343923/Z/26/Z); NIMH NIH HHS (U54 MH091657); National Institute for Health and Care Research (NIHR) Maudsley Biomedical Research Centre (BRC)
Citations: not cited yet (Europe PMC); 53 references in the paper

Abstract

Analyses of neuroimaging data increasingly leverage the distribution of neurotransmitter receptors derived from positron emission tomography (PET) to bridge the gap between micro‐ and macro‐scale brain function. However, these receptor maps are highly spatially overlapping, which can give rise to interpretive and analytical challenges. Here, we systematically investigate the impact of spatial collinearity among PET maps in the context of Receptor‐Enriched Analysis of functional Connectivity by Targets (REACT), a method that uses receptor maps as spatial regressors to derive subject‐level molecular‐enriched functional connectivity networks. Exhaustive combinatorial analysis across 19 receptor and transporter maps showed that collinearity scales rapidly with the number of receptors modelled simultaneously, and that the underlying correlation structure was relatively stable across parcellation scales, reflecting the intrinsic organisation of neurotransmitter systems. Using test–retest fMRI data from the Human Connectome Project, we demonstrate that modelling greater numbers of receptors degrades the reliability of molecular‐enriched networks derived from conventional multivariate REACT models, and that collinearity among receptor maps drives this degradation. An alternative univariate approach, in which each receptor is modelled independently, yielded more reliable networks and, when applied to a within‐subjects study of LSD compared to placebo, better recovered the role of the 5‐HT2A receptor in LSD's neural effects. These findings identify spatial collinearity as a fundamental constraint on multivariate molecular‐enriched network estimation. We therefore recommend univariate models as the default, with multivariate models used only where specifically motivated and reported alongside the univariate result.

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

Repositories

Its files are read in the Code ↔ Paper reader above, with 3 matches between paragraphs and lines of code.

thomasyeolab/cbig

License: MIT
State: the link answers, verified on 27 October 2026
Evidence: files inventoried
Commit: 634f676630929a71297852d01dd92a287103e861, 1 October 2026
Languages: MATLAB (2110), Shell (652), Python (589), C (113), C++ (65), C/C++ (62), R (25), Jupyter (5)
Size: 9,316 files, 3,621 scripts
Software Heritage: not archived
Found in: “Data Availability Statement”
Holds: README, license file, environment (external_packages/python/mapalign-master/requirements.txt, external_packages/python/mapalign-master/setup.py, external_packages/python/yapf-master/setup.cfg, external_packages/python/yapf-master/setup.py), tests, documentation, 2 notebooks
Not found: CITATION.cff, continuous integration
Tools: NumPy (130 files), PyTorch (122 files), FreeSurfer (94 files), SciPy (61 files), FieldTrip (60 files), Statistics and Machine Learning Toolbox (50 files), FSL (44 files), SPM (40 files), GIfTI library for MATLAB (10 files), Image Processing Toolbox (8 files), Connectome Workbench (8 files), scikit-learn (5 files), AFNI (2 files), Matplotlib (2 files), Tools for NIfTI and ANALYZE image (MATLAB) (2 files), ANTs (1 file), NiBabel (1 file), Nilearn (1 file), tedana (1 file)
Availability: 2 checks, the latest on 27 October 2026: the link answers
  • 27 October 2026: the link answers
  • 27 September 2026: the link answers
2,000 files

yetianmed/subcortex

License: MIT
State: the link answers, verified on 11 November 2026
Evidence: files inventoried
Commit: dcad93421ea8021d6c5738df0a915a2223cd82aa, 5 July 2025
Languages: MATLAB (44)
Size: 317 files, 44 scripts
Software Heritage: archived
Found in: “Data Availability Statement”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 2 checks, the latest on 11 November 2026: the link answers
  • 11 November 2026: the link answers
  • 1 October 2026: the link answers
46 files

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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 2,042 scripts, each with its path and the digest of its content;
  • 3 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • 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

Data Availability Statement

This work made use of publicly available datasets. The PET map data (https://github.com/netneurolab/hansen_receptors), Human Connectome Project Young Adult (HCP‐YA) test–retest data (https://balsa.wustl.edu/project?project=HCP_Retest) and LSD pharmacoimaging data (https://openneuro.org/datasets/ds003059/versions/1.0.0) are all freely available for download. The Schaefer cortical atlas (https://github.com/ThomasYeoLab/CBIG/tree/master/stable_projects/brain_parcellation/Schaefer2018_LocalGlobal) and Tian subcortical atlas (https://github.com/yetianmed/subcortex) are also freely available.

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, 1 October 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 7 keywords, 7 MeSH terms, 3 funders, 52 references.

Cite

This paper

Lawn, T., Nakuci, J., Williams, S. C. R., Turkheimer, F., & Mehta, M. A. (2026). Spatial Collinearity Constrains Multivariate Molecular-Enriched Network Estimation. Human brain mapping, 47(14), e70645. https://doi.org/10.1002/hbm.70645

BibTeX

@article{lawn2026spatial,
author = {Lawn, Timothy and Nakuci, Johan and Williams, Steve C R and Turkheimer, Federico and Mehta, Mitul A},
title = {{Spatial Collinearity Constrains Multivariate Molecular-Enriched Network Estimation}},
journal = {Human brain mapping},
year = {2026},
month = oct,
volume = {47},
number = {14},
pages = {e70645},
publisher = {Wiley},
issn = {1065-9471},
doi = {10.1002/hbm.70645},
url = {https://doi.org/10.1002/hbm.70645},
pmid = {42764460},
pmcid = {PMC13590927}
}

RIS

TY - JOUR
AU - Lawn, Timothy
AU - Nakuci, Johan
AU - Williams, Steve C R
AU - Turkheimer, Federico
AU - Mehta, Mitul A
TI - Spatial Collinearity Constrains Multivariate Molecular-Enriched Network Estimation
T2 - Human brain mapping
J2 - Hum Brain Mapp
PY - 2026
DA - 2026/10/01
VL - 47
IS - 14
SP - e70645
SN - 1065-9471
PB - Wiley
DO - 10.1002/hbm.70645
UR - https://doi.org/10.1002/hbm.70645
LA - en
ER -

CSL-JSON

{
"id": "10.1002/hbm.70645",
"type": "article-journal",
"title": "Spatial Collinearity Constrains Multivariate Molecular-Enriched Network Estimation",
"container-title": "Human brain mapping",
"author": [
{
"family": "Lawn",
"given": "Timothy"
},
{
"family": "Nakuci",
"given": "Johan"
},
{
"family": "Williams",
"given": "Steve C R"
},
{
"family": "Turkheimer",
"given": "Federico"
},
{
"family": "Mehta",
"given": "Mitul A"
}
],
"container-title-short": "Hum Brain Mapp",
"volume": "47",
"issue": "14",
"page": "e70645",
"DOI": "10.1002/hbm.70645",
"PMID": "42764460",
"PMCID": "PMC13590927",
"ISSN": "1065-9471",
"publisher": "Wiley",
"URL": "https://doi.org/10.1002/hbm.70645",
"language": "en",
"issued": {
"date-parts": [
[
2026,
10,
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-024-48781-5 [code]
Systematic evaluation of fMRI data-processing pipelines for consistent functional connectomics.
Journal: Nature communications
In common: tedana, boundedline, Connectome Workbench, 18 other tools, fMRI, 7 references
[2] doi:10.1016/j.neubiorev.2023.105193 [code]
From neurotransmitters to networks: Transcending organisational hierarchies with molecular-informed functional imaging.
Journal: Neuroscience and biobehavioral reviews
In common: NumPy, PET / SPECT, fMRI, cellular / molecular, 17 references, author Timothy Lawn
[3] doi:10.1038/s42003-025-08561-3 [code]
Network spreading and local biological vulnerability in amyotrophic lateral sclerosis.
Journal: Communications biology
In common: tedana, Connectome Workbench, AFNI, 16 other tools, 8 references
[4] doi:10.1038/s41467-023-41689-6 [code]
Neurophysiological signatures of cortical micro-architecture.
Journal: Nature communications
In common: tedana, Connectome Workbench, AFNI, 16 other tools, cellular / molecular, 7 references
[5] doi:10.1523/jneurosci.0802-24.2025 [code]
Association of Bidirectional Network Cores in the Brain with Perceptual Awareness and Cognition.
Journal: The Journal of neuroscience : the official journal of the Society for Neuroscience
In common: tedana, boundedline, Connectome Workbench, 18 other tools, fMRI, 2 references
[6] doi:10.1038/s42003-025-08439-4 [code]
Exploratory GABAa-informed control network modulates hyperarousal brain dynamics in chronic insomnia.
Journal: Communications biology
In common: tedana, Connectome Workbench, AFNI, 16 other tools, cellular / molecular, 5 references
[7] doi:10.1016/j.neuroimage.2023.120044 [code]
Comparison between gradients and parcellations for functional connectivity prediction of behavior.
Journal: NeuroImage
In common: tedana, Connectome Workbench, AFNI, 16 other tools, fMRI, 5 references
[8] doi:10.1186/s12916-025-04099-7 [code]
Normative structural connectome constrains spreading transient brain activity in generalized epilepsy.
Journal: BMC medicine
In common: tedana, Connectome Workbench, AFNI, 16 other tools, 5 references
[9] doi:10.1038/s41467-025-62812-9 [code]
Mapping the coupling between tract reachability and cortical geometry of the human brain.
Journal: Nature communications
In common: tedana, Connectome Workbench, AFNI, 17 other tools, 4 references
[10] doi:10.1371/journal.pbio.3003619 [code]
Five energy metabolism pathways show distinct regional distributions and lifespan trajectories in the human brain.
Journal: PLoS biology
In common: tedana, Connectome Workbench, AFNI, 16 other tools, cellular / molecular, 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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1002/hbm.70645.svg)](https://openscicode.org/badge/doi/10.1002/hbm.70645)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1002/hbm.70645.svg
   :target: https://openscicode.org/badge/doi/10.1002/hbm.70645
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1002/hbm.70645"><img src="https://openscicode.org/badge/doi/10.1002/hbm.70645.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

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)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

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