OSCR

Thalamic modulation of cortical linearity across arousal states.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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 · 71 lines · 1.9 KB · CC-BY-4.0

  1. function [lmse,msd] = run_LFA(data_ts,n_lag, exp_var_lim)
  2. %RUN_LFA Summary of this function goes here
  3. % Detailed explanation goes here
  4. %
  5. %
  6. % Input:
  7. % data_ts = 3d matrix(double); variable x time x subj/trial/run
  8. %
  9. % n_lag = Number of future timepoints to predict (scalar int)
  10. %
  11. % exp_var_lim = percentage of explained variance to predict (scalar - double)
  12. %
  13. if nargin < 2
  14. n_lag = 10; % Number of future time-points to predict
  15. end
  16. if nargin < 3
  17. exp_var_lim = 99; % Variance explained
  18. end
  19. % Data dimensions
  20. [~,n_time,n_subjs] = size(data_ts);
  21. for subj = 1: n_subjs
  22. subj_ts = data_ts(:,:,subj);
  23. X = subj_ts(:,1:end-1); % X_t
  24. Y = subj_ts(:,2:end); % X_t+1
  25. % SVD
  26. [U, S, V]=svd(X,0); % X = U*S*V'
  27. % ---- Variance Explained
  28. exp_var = 100.*diag(S).^2./sum(diag(S).^2);
  29. accum_exp_var = cumsum(exp_var);
  30. n_pcs = find(accum_exp_var > exp_var_lim,1,'first');
  31. % Reduce rank
  32. U=U(:,1:n_pcs); % Space
  33. V=V(:,1:n_pcs); % Time
  34. S=S(1:n_pcs,1:n_pcs);
  35. % Projection timeseries
  36. X_svd = (S*V.').';
  37. % Estimate linear propagator A_tilde
  38. A_tilde=U'*Y*V/S; % Y = AX -> A = Y*inv(X)
  39. % X = U*S*V'
  40. % ----- Forecast Linear model
  41. % For each timepoint
  42. for ss = 1:n_time-n_lag
  43. X_plus = X_svd(ss,:); % Initialize current point
  44. % For each lag into the future
  45. for ll = 1 : n_lag
  46. % MSE linear model predictions
  47. X_plus(ll+1,:) = A_tilde*X_plus(ll,:).';
  48. lmse(ss,ll,subj) = mean((X_plus(ll,:) - X_svd(ss+ll-1,:)).^2);
  49. % MSD of autocorrelation
  50. msd(ss,ll,subj) = mean((X_svd(ss,:) - X_svd(ss+ll-1,:)).^2);
  51. end
  52. end
  53. %disp(subj)
  54. end
  55. end

run_LFA.m, under CC-BY-4.0 · at the source

Overview

  1. School of Medical Sciences, Faculty of Medicine and Health, The University of Sydney, Sydney, NSW, Australia
  2. Centre for Complex Systems, The University of Sydney, Sydney, NSW, Australia
  3. School of Physics, The University of Sydney, Sydney, NSW, Australia
  4. Latin American Brain Health Institute, Universidad Adolfo Ibañez, Santiago, Chile
  5. Facultad de Ciencias Biológicas, Pontificia Universidad Católica de Chile, Santiago, Chile
  6. Department of Biology, Stanford University, Stanford, CA, USA
  7. Department of Psychology, University of Wisconsin–Madison, Madison, WI, USA
  8. Wisconsin National Primate Research Center, Madison, WI, USA
  9. Central Clinical School, Faculty of Medicine and Health, The University of Sydney, NSW, Australia
  10. Department of Anaesthetics, Royal Prince Alfred Hospital, Sydney Local Health District, NSW, Australia
  11. Department of Biology, University of Washington, Seattle, WA, USA
  12. Department of Mechanical Engineering, University of Washington, Seattle, WA, USA
Journal: Science advances, volume 12, issue 38, article eaef5358
Dates: received 18 January 2026; accepted 7 August 2026; published online 18 September 2026; in print September 2026
Type: Research article · Language: English
License: CC BY-NC
Identifiers: DOI 10.1126/sciadv.aef5358 · PMID 42758834 · PMCID PMC13588182 · OpenAlex W7213562880
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: human (organism)
Methods: Spectral & time-frequency, Connectivity, Smoothing, state filtering, decompositions, Machine learning, Preprocessing, fMRI & imaging, Physiology & signal measures
MeSH: Arousal*, Cerebral Cortex*, Thalamus*, Animals, Brain Mapping, Humans, Magnetic Resonance Imaging, Male (* major topic)
Journal subjects: Neuroscience, Systems Biology
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: national institutes of health (R01MH110311, P51OD011106, 201732); Alzheimer's Association (25-1490306); Department of Education and Training | Australian Research Council (ARC) (DE250100540, DE260101935); Department of Health | National Health and Medical Research Council (NHMRC) (GNT2033162); ANID Fondecyt de Iniciación (11251578); ANID/FONDECYT Exploración (13240170)
Citations: not cited yet (Europe PMC); 84 references in the paper

Abstract

The human brain must support both stable and flexible neural dynamics to adapt to changing contexts. The thalamus has been hypothesized to coordinate these opposing dynamical regimes in the cerebral cortex; however, this has not been directly tested at the systems level. Here, we apply a time-resolved measure of linearity to multimodal recordings in humans and macaques, demonstrating irregular fluctuations in both human functional magnetic resonance imaging and electrophysiological in the awake state. These fluctuations follow a key neuroanatomical axis of the thalamus, are diminished under pharmacological ablation of arousal, and recovered following arousal-inducing direct electrical stimulation of thalamus. Together, these findings identify a thalamic organizational axis that modulates cortical linearity across arousal states, linking thalamocortical architecture to the regulation of large-scale cortical dynamics.

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

Repository

Its files are read in the Code ↔ Paper reader above.

Zenodo 19905547

License: CC-BY-4.0
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Languages: MATLAB (2)
Size: 2 files, 2 scripts
Software Heritage: not checked
Found in: the text, “Linear forecast analysis”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 26 September 2026: the link answers (HTTP 200)
  • 26 September 2026: the link answers (HTTP 200)
2 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:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 2 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

Data, code, and materials availability

All data and code needed to evaluate and reproduce the results in the paper are present in the paper and/or the Supplementary Materials. This study did not generate new materials. The human EEG data can be provided by R. A. Pearce (University of Wisconsin) pending scientific review and a completed material transfer agreement through University of Wisconsin. Requests for the EEG data should be submitted to .

Reproduced under the paper's license (CC BY-NC), 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, 12 authors, 8 MeSH terms, 6 funders, 75 references.

Cite

This paper

Müller, E. J., Munn, B. R., Baracchini, G., Fulcher, B. D., Medel, V., Redinbaugh, M. J., Saalmann, Y. B., Wehrman, J. J., Sanders, R. D., Brunton, B. W., Brunton, S. L., & Shine, J. M. (2026). Thalamic modulation of cortical linearity across arousal states. Science advances, 12(38), eaef5358. https://doi.org/10.1126/sciadv.aef5358

BibTeX

@article{muller2026thalamic,
author = {Müller, Eli J. and Munn, Brandon R. and Baracchini, Giulia and Fulcher, Ben D. and Medel, Vicente and Redinbaugh, Michelle J. and Saalmann, Yuri B. and Wehrman, Jordan J. and Sanders, Robert D. and Brunton, Bingni W. and Brunton, Steven L. and Shine, James M.},
title = {{Thalamic modulation of cortical linearity across arousal states}},
journal = {Science advances},
year = {2026},
month = sep,
volume = {12},
number = {38},
pages = {eaef5358},
publisher = {American Association for the Advancement of Science},
issn = {2375-2548},
doi = {10.1126/sciadv.aef5358},
url = {https://doi.org/10.1126/sciadv.aef5358},
pmid = {42758834},
pmcid = {PMC13588182}
}

RIS

TY - JOUR
AU - Müller, Eli J.
AU - Munn, Brandon R.
AU - Baracchini, Giulia
AU - Fulcher, Ben D.
AU - Medel, Vicente
AU - Redinbaugh, Michelle J.
AU - Saalmann, Yuri B.
AU - Wehrman, Jordan J.
AU - Sanders, Robert D.
AU - Brunton, Bingni W.
AU - Brunton, Steven L.
AU - Shine, James M.
TI - Thalamic modulation of cortical linearity across arousal states
T2 - Science advances
J2 - Sci Adv
PY - 2026
DA - 2026/09/18
VL - 12
IS - 38
SP - eaef5358
SN - 2375-2548
PB - American Association for the Advancement of Science
DO - 10.1126/sciadv.aef5358
UR - https://doi.org/10.1126/sciadv.aef5358
LA - en
ER -

CSL-JSON

{
"id": "10.1126/sciadv.aef5358",
"type": "article-journal",
"title": "Thalamic modulation of cortical linearity across arousal states",
"container-title": "Science advances",
"author": [
{
"family": "Müller",
"given": "Eli J."
},
{
"family": "Munn",
"given": "Brandon R."
},
{
"family": "Baracchini",
"given": "Giulia"
},
{
"family": "Fulcher",
"given": "Ben D."
},
{
"family": "Medel",
"given": "Vicente"
},
{
"family": "Redinbaugh",
"given": "Michelle J."
},
{
"family": "Saalmann",
"given": "Yuri B."
},
{
"family": "Wehrman",
"given": "Jordan J."
},
{
"family": "Sanders",
"given": "Robert D."
},
{
"family": "Brunton",
"given": "Bingni W."
},
{
"family": "Brunton",
"given": "Steven L."
},
{
"family": "Shine",
"given": "James M."
}
],
"container-title-short": "Sci Adv",
"volume": "12",
"issue": "38",
"page": "eaef5358",
"DOI": "10.1126/sciadv.aef5358",
"PMID": "42758834",
"PMCID": "PMC13588182",
"ISSN": "2375-2548",
"publisher": "American Association for the Advancement of Science",
"URL": "https://doi.org/10.1126/sciadv.aef5358",
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
18
]
]
}
}

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-023-42465-2 [code]
Neuronal connected burst cascades bridge macroscale adaptive signatures across arousal states.
Journal: Nature communications
In common: 10 references, 4 authors
[2] doi:10.1073/pnas.2308670120 [code]
A thalamocortical substrate for integrated information via critical synchronous bursting.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: 10 references, 3 authors
[3] doi:10.1038/s41467-024-51837-1 [code]
Propofol disrupts the functional core-matrix architecture of the thalamus in humans.
Journal: Nature communications
In common: 18 references
[4] doi:10.7554/elife.93191 [code]
Evidence from pupillometry, fMRI, and RNN modelling shows that gain neuromodulation mediates task-relevant perceptual switches.
Journal: eLife
In common: 4 references, 4 authors
[5] doi:10.1038/s42003-025-08467-0 [code]
Cerebellar and subcortical contributions to working memory manipulation.
Journal: Communications biology
In common: 4 references, 4 authors
[6] doi:10.7554/elife.88173 [code]
A synergistic workspace for human consciousness revealed by Integrated Information Decomposition.
Journal: eLife
In common: 18 references
[7] doi:10.1371/journal.pcbi.1012951 [code]
A burst-dependent thalamocortical substrate for perceptual awareness.
Journal: PLoS computational biology
In common: 6 references, 3 authors
[8] doi:10.1093/braincomms/fcag021 [code]
A thalamic perspective of (un)consciousness in pharmacological and pathological states in humans.
Journal: Brain communications
In common: 16 references
[9] doi:10.1038/s41467-026-68700-0 [code]
The biological role of local and global fMRI BOLD signal variability in multiscale human brain organization.
Journal: Nature communications
In common: 10 references, author Giulia Baracchini
[10] doi:10.1371/journal.pcbi.1010294 [code]
Thalamic deep brain stimulation paradigm to reduce consciousness: Cortico-striatal dynamics implicated in mechanisms of consciousness.
Journal: PLoS computational biology
In common: 5 references, 2 authors

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.1126/sciadv.aef5358.svg)](https://openscicode.org/badge/doi/10.1126/sciadv.aef5358)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1126/sciadv.aef5358.svg
   :target: https://openscicode.org/badge/doi/10.1126/sciadv.aef5358
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1126/sciadv.aef5358"><img src="https://openscicode.org/badge/doi/10.1126/sciadv.aef5358.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.