Thalamic modulation of cortical linearity across arousal states.
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
- function [lmse,msd] = run_LFA(data_ts,n_lag, exp_var_lim)
- %RUN_LFA Summary of this function goes here
- % Detailed explanation goes here
- %
- %
- % Input:
- % data_ts = 3d matrix(double); variable x time x subj/trial/run
- %
- % n_lag = Number of future timepoints to predict (scalar int)
- %
- % exp_var_lim = percentage of explained variance to predict (scalar - double)
- %
- if nargin < 2
- n_lag = 10; % Number of future time-points to predict
- end
- if nargin < 3
- exp_var_lim = 99; % Variance explained
- end
- % Data dimensions
- [~,n_time,n_subjs] = size(data_ts);
- for subj = 1: n_subjs
- subj_ts = data_ts(:,:,subj);
- X = subj_ts(:,1:end-1); % X_t
- Y = subj_ts(:,2:end); % X_t+1
- % SVD
- [U, S, V]=svd(X,0); % X = U*S*V'
- % ---- Variance Explained
- exp_var = 100.*diag(S).^2./sum(diag(S).^2);
- accum_exp_var = cumsum(exp_var);
- n_pcs = find(accum_exp_var > exp_var_lim,1,'first');
- % Reduce rank
- U=U(:,1:n_pcs); % Space
- V=V(:,1:n_pcs); % Time
- S=S(1:n_pcs,1:n_pcs);
- % Projection timeseries
- X_svd = (S*V.').';
- % Estimate linear propagator A_tilde
- A_tilde=U'*Y*V/S; % Y = AX -> A = Y*inv(X)
- % X = U*S*V'
- % ----- Forecast Linear model
- % For each timepoint
- for ss = 1:n_time-n_lag
- X_plus = X_svd(ss,:); % Initialize current point
- % For each lag into the future
- for ll = 1 : n_lag
- % MSE linear model predictions
- X_plus(ll+1,:) = A_tilde*X_plus(ll,:).';
- lmse(ss,ll,subj) = mean((X_plus(ll,:) - X_svd(ss+ll-1,:)).^2);
- % MSD of autocorrelation
- msd(ss,ll,subj) = mean((X_svd(ss,:) - X_svd(ss+ll-1,:)).^2);
- end
- end
- %disp(subj)
- end
- end
run_LFA.m, under CC-BY-4.0 · at the source
Overview
- School of Medical Sciences, Faculty of Medicine and Health, The University of Sydney, Sydney, NSW, Australia
- Centre for Complex Systems, The University of Sydney, Sydney, NSW, Australia
- School of Physics, The University of Sydney, Sydney, NSW, Australia
- Latin American Brain Health Institute, Universidad Adolfo Ibañez, Santiago, Chile
- Facultad de Ciencias Biológicas, Pontificia Universidad Católica de Chile, Santiago, Chile
- Department of Biology, Stanford University, Stanford, CA, USA
- Department of Psychology, University of Wisconsin–Madison, Madison, WI, USA
- Wisconsin National Primate Research Center, Madison, WI, USA
- Central Clinical School, Faculty of Medicine and Health, The University of Sydney, NSW, Australia
- Department of Anaesthetics, Royal Prince Alfred Hospital, Sydney Local Health District, NSW, Australia
- Department of Biology, University of Washington, Seattle, WA, USA
- Department of Mechanical Engineering, University of Washington, Seattle, WA, USA
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
Availability: 1 check, the latest on 26 September 2026: the link answers (HTTP 200)
- 26 September 2026: the link answers (HTTP 200)
2 files
- run_LFA.m, MATLAB, 71 lines
- run_LFA_with_DMD.m, MATLAB, 78 lines
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
- doi:10.18112/
openneuro.ds003171.v2.0. , at OpenNeuro; found in the text, “Human neuroimaging data”0
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/
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://
BibTeX
@article{muller2026thala
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/
url = {https://
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/
VL - 12
IS - 38
SP - eaef5358
SN - 2375-2548
PB - American Association for the Advancement of Science
DO - 10.1126/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1126/
"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":
"volume": "12",
"issue": "38",
"page": "eaef5358",
"DOI": "10.1126/
"PMID": "42758834",
"PMCID": "PMC13588182",
"ISSN": "2375-2548",
"publisher": "American Association for the Advancement of Science",
"URL": "https://
"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 communicationsIn 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 AmericaIn 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 communicationsIn 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: eLifeIn common: 4 references, 4 authors
- [5] doi:10.1038/s42003-025-08467-0 [code]
- Cerebellar and subcortical contributions to working memory manipulation.Journal: Communications biologyIn common: 4 references, 4 authors
- [6] doi:10.7554/elife.88173 [code]
- A synergistic workspace for human consciousness revealed by Integrated Information Decomposition.Journal: eLifeIn common: 18 references
- [7] doi:10.1371/journal.pcbi.1012951 [code]
- A burst-dependent thalamocortical substrate for perceptual awareness.Journal: PLoS computational biologyIn 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 communicationsIn 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 communicationsIn 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 biologyIn 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.
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, 2 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:79c591e7fe00edc2…
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.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:endHTML
<!-- 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.
