Thalamic modulation of cortical linearity across arousal states.
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: 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.1371/journal.pcbi.1014673 [code]
- Modeling the influences of non-local connectomic projections on geometrically constrained cortical dynamics.Journal: PLoS computational biologyIn common: 6 references, author Ben D. Fulcher
- [2] doi:10.1186/s41016-026-00441-x
- Advances in local field potential research in prolonged disorders of consciousness: a narrative review.Journal: Chinese neurosurgical journalIn common: 8 references
- [3] doi:10.1093/braincomms/fcag151
- Brain function in language and associated networks in non- or minimally verbal children.Journal: Brain communicationsIn common: OpenNeuro 10.18112/openneuro.ds003171.v2.0.0, 5 references
- [4] doi:10.1038/s41467-026-76011-7 [code]
- Human cortex organizes dynamic co-fluctuations along the sensorimotor-association
axis. Journal: Nature communicationsIn common: 7 references - [5] doi:10.1038/s41467-026-75585-6 [code]
- Brain network dynamics reflect psychiatric illness status and transdiagnostic symptom profiles across health and disease.Journal: Nature communicationsIn common: 5 references
- [6] doi:10.7554/elife.110294 [code]
- Arousal modulates functional connectivity through structured and hemispherically asymmetric community architecture during wakefulness.Journal: eLifeIn common: 4 references
- [7] doi:10.1038/s41467-026-72931-6 [code]
- Three parsimonious spatiotemporal patterns in cerebellum reveal individual traits in function and behavior.Journal: Nature communicationsIn common: 4 references
- [8] doi:10.1371/journal.pbio.3003916 [code]
- Arousal-driven critical roaming reproduces human functional connectivity dynamics.Journal: PLoS biologyIn common: 4 references
- [9] doi:10.1212/wnl.0000000000218472 [code]
- Lesion-Level Subtypes of White Matter Hyperintensity Evolution Beyond Spatial Location.Journal: NeurologyIn common: author Vicente Medel
- [10] doi:10.1038/s41593-026-02205-3 [code]
- Competitive interactions shape mammalian brain network dynamics and computation.Journal: Nature neuroscienceIn common: 4 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, 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 its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[.
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.
