Arousal-driven critical roaming reproduces human functional connectivity dynamics.
The 2 matches · all tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
- [1] § Methods › FC, FCD, and FCD Speed ↔ dfc-walk/TS2dFCstream.m, the whole file · a weak match · score 0.54 · TS2FC, TS2dFCstream, frame, matrix
- [2] § Methods › FC, FCD, and FCD Speed ↔ dfc-walk/TS2dFCstream.m, the whole file · a weak match · score 0.53 · sliding window, FC matrices, overlapping
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 · 85 lines · 2.4 KB · CC-BY-4.0 · 2 matches
- function dFCstream = TS2dFCstream(TS, W, lag, format)
- % FUNCTION dFCstream = TS2dFCstream(TS, W, lag, format)
- % takes time-series (TS), size of window (W), and value of shift of window
- % (lag) as input and calculates dynamic functional connectivity stream
- % (dFCstream) as output.
- %
- % inputs: TS(t,n) --> rows are t different time-points;
- % columns are n different regions;
- % W --> size of window to slide;
- % lag --> shifting value, default is lag=W;
- % format --> '2D' (default) provides a [l]x[F] dFCstream
- % (FC vector over time) where l=n(n-1)/2 is the number
- % of links for n regions and F is the number of frames
- % depending on values of (t,W,lag);
- % '3D' provides a [n]x[n]x[F] dFCstream (FC matrix
- % over time).
- %
- % Example: dfcstream = TS2dFCstream(ts,10,10,'2D')
- % Example: dfcstream = TS2dFCstream(ts,10,[],'2D')
- % computes the dFCstream with window size 10 and without overlap between
- % windows. Since lag assumes a value equal to the default one and the
- % default is '2D', the syntax above is equivalent to the simpler syntax below:
- % Example: dfcstream = TS2dFCstream(ts,10)
- if ~exist('W','var') || isempty(W)
- disp('Provide at least a window size!!!')
- return
- end
- if ~exist('lag','var') || isempty(lag)
- lag = W; % default value for the size of sliding window if no argument for it is given
- end
- if ~exist('format','var') || isempty(format)
- format = '2D';
- end
- t = size(TS,1);
- n = size(TS,2);
- l = n*(n-1)/2;
- % calculate F
- wstart = 1;
- wstop = W;
- k = 0;
- while (wstop <= t)
- k = k+1;
- wstart = wstart + lag;
- wstop = wstop + lag;
- end
- kmax = k;
- % preallocate the dFCstream
- if (strcmp(format, '3D'))
- dFCstream = zeros(n,n,kmax);
- else
- dFCstream = zeros(l,kmax);
- end
- if (strcmp(format, '3D'))
- wstart = 1;
- wstop = W;
- k = 0;
- while (wstop <= t)
- k = k+1;
- % compute FC matrix for each lag column between wstart and wstop
- dFCstream(1:n, 1:n, k) = TS2FC(TS(wstart:wstop, :), '2D');
- wstart = wstart + lag;
- wstop = wstop + lag;
- end
- else
- wstart = 1;
- wstop = W;
- k = 0;
- while (wstop <= t)
- k = k+1;
- % compute FC vector for each lag column between wstart and wstop
- dFCstream(:, k) = TS2FC(TS(wstart:wstop, :), '1D');
- wstart = wstart + lag;
- wstop = wstop + lag;
- end
- end
TS2dFCstream.m, under CC-BY-4.0 · at the source
Overview
Abstract
Ongoing brain activity displays rich temporal variability associated with efficient cognition, with functional connectivity (FC) continually reconfiguring over time. The resulting functional connectivity dynamics (FCD) specifically show complex, fat-tailed statistics that alternate between persistent epochs and faster reconfiguration transients. While nonlinear whole-brain models tuned nearby a critical point have reproduced some aspects of FCD, they fall short of capturing its full temporal complexity. We propose that slow fluctuations in arousal offer a biologically plausible mechanism for exploring critical regimes in large-scale brain dynamics and thus enrich FCD. Using a connectome-based model of coupled cortical populations, we identified phase boundaries where system dynamics transition between regimes of faster or slower FCD. We then phenomenologically incorporated arousal changes, modeling them as stochastic fluctuations in key parameters such as cortical excitability, input gain, and noise amplitude. This explicitly time-dependent formulation enables the system to roam dynamically across regime boundaries, flexibly tuning its distance from critical transition lines and producing intermittent transitions that mirror the stochastic evolution observed in empirical FCD. Fitting these models to human resting-state fMRI and performing model comparison, we find that arousal-driven models more accurately reproduce the distinctive quantitative features of FCD, with the greatest improvements coming from the previously poorly accounted fat-tailed portions of the distributions. Together, these results suggest that arousal fluctuations—likely mediated by changes in neuromodulatory tone—shape the brain’s attractor landscape over time, expanding the repertoire of accessible functional network states and providing a mechanistic basis for the complexity of spontaneous functional dynamics.
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 2 matches between paragraphs and lines of code.
Zenodo 20798972
Availability: 1 check, the latest on 26 September 2026: the link answers (HTTP 200)
- 26 September 2026: the link answers (HTTP 200)
29 files
- ParamSweepGit/
WongWangFluc.m , MATLAB, 51 lines - ParamSweepGit/
main_script.m , MATLAB, 59 lines - dfc-walk/
BuildSpeedHistogram.m , MATLAB, 59 lines - dfc-walk/
DFA_fun.m , MATLAB, 60 lines - dfc-walk/
ExtractTrimerStrengths.m , MATLAB, 41 lines - dfc-walk/
Matrix2Vec.m , MATLAB, 20 lines - dfc-walk/
Mutual_Information_Label , MATLAB, 66 liness.m - dfc-walk/
PhaseRand_surrogates.m , MATLAB, 96 lines - dfc-walk/
Pick_MCModuleStream.m , MATLAB, 43 lines - dfc-walk/
Pick_StarStream.m , MATLAB, 53 lines - dfc-walk/
Pick_SubgraphStream.m , MATLAB, 53 lines - dfc-walk/
PlotSpeedHisto.m , MATLAB, 15 lines - dfc-walk/
TS2FC.m , MATLAB, 34 lines - dfc-walk/
TS2dFCstream.m , MATLAB, 85 lines, 2 matches - dfc-walk/
TS2eFC.m , MATLAB, 28 lines - dfc-walk/
Which_Link_ThisMCIndex.m , MATLAB, 24 lines - dfc-walk/
Which_MCIndex_ThisLink.m , MATLAB, 23 lines - dfc-walk/
Which_StreamIndex_ThisLi , MATLAB, 25 linesnk.m - dfc-walk/
Which_StreamIndices_This , MATLAB, 64 linesMCmodule.m - dfc-walk/
community_louvain.m , MATLAB, 198 lines - dfc-walk/
dFC_Speeds.m , MATLAB, 70 lines - dfc-walk/
dFCstream2MC.m , MATLAB, 135 lines - dfc-walk/
dFCstream2dFC.m , MATLAB, 31 lines - filter-lib/
FilterAllChannels.m , MATLAB, 7 lines - filter-lib/
bandpasshopf.m , MATLAB, 31 lines - filter-lib/
convert_back_to_time.m , MATLAB, 24 lines - fld-dim/
MA_EEG_Man_Dim_Flui.m , MATLAB, 41 lines - fld-dim/
extremal_Sueveges.m , MATLAB, 11 lines - README.md, Text, 1 line
juanitacabral/NetworkModel_Toolbox
f044a937ba64743935de790c79a74669ac8b4064, 21 January 2019Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
8 files
- BOLDs.m, MATLAB, 51 lines
- CompareNeuroimaging.m, MATLAB, 68 lines
- Kuramoto_Delays_Run.m, MATLAB, 106 lines
- Kuramoto_Delays_Run.py, Python, 113 lines
- RunAnalyse_Simulations.m
, MATLAB, 153 lines - RunAnalyse_Simulations.p
y , Python, 134 lines - bandpass.m, MATLAB, 37 lines
- convert_back_to_time.m, MATLAB, 24 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:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 36 scripts, each with its path and the digest of its content;
- 2 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
No dataset and no data link were found in the paper.
Data Availability
The code used for all analyses and simulations is publicly available at https://
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, 2 authors, 7 MeSH terms, 2 funders, 78 references, 1 integrity notice.
Cite
This paper
Pathak, A., & Battaglia, D. (2026). Arousal-driven critical roaming reproduces human functional connectivity dynamics. PLoS biology, 24(9), e3003916. https://
BibTeX
@article{pathak2026arous
author = {Pathak, Anagh and Battaglia, Demian},
title = {{Arousal-driven critical roaming reproduces human functional connectivity dynamics}},
journal = {PLoS biology},
year = {2026},
month = sep,
volume = {24},
number = {9},
pages = {e3003916},
publisher = {PLOS},
issn = {1544-9173},
doi = {10.1371/
url = {https://
pmid = {42678916},
pmcid = {PMC13533355}
}
RIS
TY - JOUR
AU - Pathak, Anagh
AU - Battaglia, Demian
TI - Arousal-driven critical roaming reproduces human functional connectivity dynamics
T2 - PLoS biology
J2 - PLoS Biol
PY - 2026
DA - 2026/
VL - 24
IS - 9
SP - e3003916
SN - 1544-9173
PB - PLOS
DO - 10.1371/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1371/
"type": "article-journal",
"title": "Arousal-driven critical roaming reproduces human functional connectivity dynamics",
"container-title": "PLoS biology",
"author": [
{
"family": "Pathak",
"given": "Anagh"
},
{
"family": "Battaglia",
"given": "Demian"
}
],
"container-title-short":
"volume": "24",
"issue": "9",
"page": "e3003916",
"DOI": "10.1371/
"PMID": "42678916",
"PMCID": "PMC13533355",
"ISSN": "1544-9173",
"publisher": "PLOS",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
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.1002/alz.71547
- Cortical synchrony is reduced in Alzheimer's disease and relates to arousal state.Journal: Alzheimer's & dementia : the journal of the Alzheimer's AssociationIn common: fMRI, 11 references
- [2] doi:10.1073/pnas.2532072123 [code]
- Spatially structured heterogeneity shapes large-scale cortical dynamics in a model of the human cortex.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: SciPy, Matplotlib, NumPy, 10 references
- [3] doi:10.1038/s41467-026-76011-7 [code]
- Human cortex organizes dynamic co-fluctuations along the sensorimotor-association
axis. Journal: Nature communicationsIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, SciPy, 2 other tools, systems, 7 references - [4] doi:10.7554/elife.110294 [code]
- Arousal modulates functional connectivity through structured and hemispherically asymmetric community architecture during wakefulness.Journal: eLifeIn common: SciPy, Matplotlib, NumPy, fMRI, 7 references
- [5] doi:10.1162/netn.a.548
- Phase-dependent stimulation response is shaped by the brain's dynamic functional connectivity.Journal: Network neuroscience (Cambridge, Mass.)In common: fMRI, systems, 7 references
- [6] doi:10.1038/s41467-026-75959-w [code]
- Charting higher-order models of brain function beyond pairwise interactions.Journal: Nature communicationsIn common: Statistics and Machine Learning Toolbox, SciPy, Matplotlib, 1 other tool, 6 references
- [7] doi:10.1371/journal.pcbi.1013463 [code]
- A multi-frequency whole-brain neural mass model with homeostatic feedback inhibition.Journal: PLoS computational biologyIn common: SciPy, Matplotlib, NumPy, 6 references
- [8] doi:10.1162/imag.a.1254 [code]
- The individuality of single-frame functional brain connectivity.Journal: Imaging neuroscience (Cambridge, Mass.)In common: Parallel Computing Toolbox, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, fMRI, systems, 4 references
- [9] doi:10.1038/s41467-026-71725-0 [code]
- Interactions across hemispheres in prefrontal cortex reflect global cognitive processing.Journal: Nature communicationsIn common: Parallel Computing Toolbox, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 3 other tools, 3 references
- [10] doi:10.1038/s41531-026-01354-3 [code]
- Neuromodulation-induced normalization of cortical metastable dynamics signatures in Parkinson's disease.Journal: NPJ Parkinson's diseaseIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, SciPy, 2 other tools, 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: 2 repositories of the authors' code, each at its verified commit and with its license, 36 scripts, and 2 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:acc3af833cd50f96…
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
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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: 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.
