Dynamic Repertoire of Brain Networks in Mindfulness-Based Cognitive Therapy During Rumination: A Randomized Controlled Trial.
The 4 matches · all tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
- [1] § Methods and Materials › Leading Eigenvector Dynamics Analysis ↔ utilities/analyses_scripts/LEiDA_data.m, the whole file · a weak match · score 0.86 · phase coherence matrix, Hilbert transform, brain areas, leading eigenvector, fMRI, filtered
- [2] § Methods and Materials › Leading Eigenvector Dynamics Analysis ↔ utilities/analyses_scripts/EigenVectors_VoxelSpace.m, the whole file · a weak match · score 0.82 · phase coherence matrix, Hilbert transform, leading eigenvector, fMRI, space, LEiDA
- [3] § Methods and Materials › Study Design and Participants ↔ utilities/analyses_scripts/LEiDA_data.m, the whole file · a weak match · score 0.73 · phase coherence matrix, Hilbert transformed, Leading Eigenvector, fMRI, signal, parcellated
- [4] § Methods and Materials › Study Design and Participants ↔ utilities/analyses_scripts/EigenVectors_VoxelSpace.m, the whole file · a weak match · score 0.72 · phase coherence matrix, Hilbert transformed, Leading Eigenvector, fMRI, LEiDA, signal
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 · 124 lines · 4.6 KB · MIT · 2 matches
- function [V1_all,Time_sessions,Data_info] = LEiDA_data(data_dir,save_dir,n_areas,tmax,filter,flp,fhi,tr)
- %
- % For each subject compute the leading eigenvetor of the phase coherence
- % matrix calculated at each recording frame.
- %
- % INPUT:
- % data_dir directory where the parcellated fMRI data are saved;
- % fMRI data should be one file per subject; data can be a
- % matrix containing the time series in the formats .mat,
- % .1D and .txt; if data is as a struct then fMRI signal
- % should correspond to a field called data
- % save_dir directory where the leading eigenvectors will be saved
- % n_areas number of brain areas to consider for analysis
- % tmax maximum number of volumes across fMRI sessions
- % filter 0, temporal filtering (default); 1, no temporal filtering
- % flp lowpass frequency of filter
- % fhi highpass frequency of filter
- % tr TR of fMRI data
- %
- % OUTPUT:
- % V1_all (n_scans*(tmax-2) x n_areas) leading eigenvectors of all
- % subjects at each time point
- % Time_sessions (1 x n_scans*(tmax-2)) scan number of each leading
- % eigenvector
- % Data_info parcellated data
- %
- % Author: Joana Cabral, University of Minho, [email hidden]
- % Miguel Farinha, University of Minho, [email hidden]
- disp('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LEADING EIGENVECTORS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%');
- disp(' ')
- % Get the files containg the data (.mat or .1D or .txt)
- Data_info = [dir([data_dir '*.mat']); dir([data_dir '*.1D']); dir([data_dir '*.txt'])];
- % Total number of scans that will be read
- n_scans = size(Data_info,1);
- disp(['Total number of scans in folder: ' num2str(n_scans)])
- disp(' ')
- % Matrix to store the leading eigenvectors of all subjects at each TR
- V1_all = zeros(n_scans*(tmax-2),n_areas);
- % Row vector with the scan number of each leading eigenvector
- Time_sessions = zeros(1,n_scans*(tmax-2));
- t_all = 0;
- discarded = [];
- idx_data = [];
- for s = 1:n_scans
- disp(['Computing the leading eigenvectors for scan ' num2str(s) ' ' Data_info(s).name]);
- % Handling the data differently depending on the file extension:
- % Regardless of the extension we import the data
- signal = importdata([data_dir Data_info(s).name]);
- if isstruct(signal)
- % Load the fMRI signal from the struct signal variable
- % fMRI data should be stored in a field called data
- signal = signal.data;
- end
- % Selecting only the areas specified by the user
- signal = signal(1:n_areas,:);
- if any(isnan(signal(:))) || any(isinf(signal(:))) || any(all(signal == 0,2))
- disp(' - NaN, Inf or rows of 0s were found -> Discarded');
- discarded = cat(2,discarded,s);
- else
- % Add index of participant to idx_data
- idx_data = cat(2,idx_data,s);
- % De-meaning the fMRI signal
- for n = 1:n_areas
- signal(n,:) = detrend(signal(n,:) - mean(signal(n,:)));
- end
- % Apply temporal filtering to the parcellated data
- if filter
- signal = TemporalFiltering(signal,flp,fhi,tr);
- end
- % Get the fMRI signal phase using the Hilbert transform
- for seed = 1:n_areas
- signal(seed,:) = angle(hilbert(signal(seed,:)));
- end
- % Compute leading eigenvector of each phase coherence matrix
- for t = 2:size(signal,2)-1 % exclude 1st and last TR of each fMRI signal
- % Save the leading eigenvector for time t
- [v1,~] = eigs(cos(signal(:,t)-signal(:,t)'),1);
- if sum(v1) > 0 % for eigenvectors with sum of entries > 0
- v1 = -v1;
- end
- t_all = t_all + 1; % time point in V1_all
- % row t_all correponds to the computed eigenvector at time t for subject s
- V1_all(t_all,:) = v1;
- % to which subject the computed leading eigenvector belongs
- Time_sessions(t_all) = s;
- end
- end
- end
- % Reduce size in case some scans have less TRs than tmax
- % In this case, these lines of code will not result in changes
- V1_all(t_all+1:end,:) = [];
- Time_sessions(:,t_all+1:end) = [];
- disp(' ')
- disp(['Total number of scans used to compute the leading eigenvectors: ' num2str(length(idx_data))]);
- for d = 1:length(discarded)
- disp(['Attention: ' Data_info(discarded(d)).name ' was discarded'])
- end
- disp(' ')
- % Name of the file to save output
- save_file = 'LEiDA_EigenVectors.mat';
- save([save_dir save_file], 'V1_all','Time_sessions','Data_info','idx_data')
- disp(['fMRI Phase Leading Eigenvectors saved successfully as ' save_file])
- disp(' ')
LEiDA_data.m at commit ab03cbb, under MIT · at the source
Overview
- Department of Clinical Medicine, Aarhus University, Aarhus, Denmark
- Department of Psychiatry, University of Oxford, Oxford, United Kingdom
- Department of Psychiatry, Radboud University Medical Center, Nijmegen, the Netherlands
- Donders Institute for Brain, Cognition and Behaviour, Radboud University, Nijmegen, the Netherlands
- Centre for Eudaimonia and Human Flourishing, Linacre College, University of Oxford, Oxford, United Kingdom
- Centre for Brain and Cognition, Computational Neuroscience Group, Department of Information and Communication Technologies, Universitat Pompeu Fabra, Barcelona, Spain
- International Centre for Flourishing, Universities of Oxford (UK), Aarhus (DK), and Pompeu Fabra (Spain)
- Teaching, Research and Innovation Unit, Parc Sanitari Sant Joan de Déu, Sant Boi de Llobregat, Barcelona, Spain
- Center for Biomedical Research in Epidemiology and Public Health, Madrid, Spain
- Contemplative Studies Centre, School of Psychological Sciences, University of Melbourne, Melbourne, Australia
- McGovern Institute for Brain Research, Department of Brain and Cognitive Sciences, Massachusetts Institute of Technology, Cambridge, Massachusetts
Abstract
Background: Depression is a prevalent and debilitating affective disorder characterized by the dominance and persistence of depressive rumination. Mindfulness-based cognitive therapy (MBCT) is an effective treatment for recurrent depression developed specifically to target rumination and recurrence risk by training metacognitive awareness and adaptive attention, emotion, and self-regulation skills. However, the underlying mechanisms by which mindfulness training impacts maladaptive depressive rumination are not well understood, and a deeper understanding of its effects on the complex brain dynamics during depressive rumination is needed.
Methods: In a randomized controlled functional magnetic resonance imaging (fMRI) study (N = 80), we examined dynamic neural changes during resting-state fMRI of an experimentally induced rumination state before and after treatment with MBCT (n = 27) for recurrent depression in addition to treatment as usual (TAU) or TAU alone (n = 21). More specifically, we characterized the changes during a depressive rumination state as a repertoire of metastable substates, each with an occurrence frequency (fractional occupancy) and stability (lifetimes).
Results: We found that MBCT training compared with TAU altered the fractional occupancy of a salience-somatomotor metastable substate during the depressive rumination state. These dynamic network changes in turn were associated with reduced trait rumination posttreatment and reduced depressive symptoms at the 3-month follow-up.
Conclusions: In a ruminative state, changes in the dynamics of the somatosensory-salience network following mindfulness training was associated with improved clinical outcomes and reduced trait rumination, which may provide insight into candidate brain mechanisms or markers of treatment response to MBCT.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 4 matches between paragraphs and lines of code.
PSYMARKER/leida-matlab
ab03cbb6f987a80fd65ed1aebe75419b660b907e, 29 January 2025Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
51 files
- LEiDA_AnalysisCentroid.m
, MATLAB, 89 lines - LEiDA_AnalysisK.m, MATLAB, 98 lines
- LEiDA_Start.m, MATLAB, 134 lines
- LEiDA_StateTime.m, MATLAB, 75 lines
- LEiDA_TransitionsK.m, MATLAB, 87 lines
- utilities/
analyses_scripts/ , MATLAB, 149 lines, 2 matchesEigenVectors_VoxelSpace. m - utilities/
analyses_scripts/ , MATLAB, 64 linesLEiDA_cluster.m - utilities/
analyses_scripts/ , MATLAB, 124 lines, 2 matchesLEiDA_data.m - utilities/
analyses_scripts/ , MATLAB, 213 linesLEiDA_stats_DwellTime.m - utilities/
analyses_scripts/ , MATLAB, 184 linesLEiDA_stats_FracOccup.m - utilities/
analyses_scripts/ , MATLAB, 196 linesLEiDA_stats_TransitionMa trix.m - utilities/
analyses_scripts/ , MATLAB, 84 linesOverlap_LEiDA_Yeo.m - utilities/
analyses_scripts/ , MATLAB, 92 linesParcellate.m - utilities/
analyses_scripts/ , MATLAB, 144 linesParcellate_ABIDE_func_pr eproc.m - utilities/
analyses_scripts/ , MATLAB, 18 linesTemporalFiltering.m - utilities/
analyses_scripts/ , MATLAB, 48 linesappend_tag.m - utilities/
analyses_scripts/ , MATLAB, 186 linesbootstrap_within_permuta tion_paired_samples.m - utilities/
analyses_scripts/ , MATLAB, 222 linesbootstrap_within_permuta tion_ttest2.m - utilities/
analyses_scripts/ , MATLAB, 111 linescluster_performance.m - utilities/
analyses_scripts/ , MATLAB, 162 linescluster_stability.m - utilities/
analyses_scripts/ , MATLAB, 27 linesdunns.m - utilities/
analyses_scripts/ , MATLAB, 121 linesrand_index.m - utilities/
figures_scripts/ , MATLAB, 128 linesPlot_C_boxplot_DT.m - utilities/
figures_scripts/ , MATLAB, 126 linesPlot_C_boxplot_FO.m - utilities/
figures_scripts/ , MATLAB, 299 linesPlot_C_summary.m - utilities/
figures_scripts/ , MATLAB, 72 linesPlot_C_vector_labelled.m - utilities/
figures_scripts/ , MATLAB, 84 linesPlot_C_vector_ordered.m - utilities/
figures_scripts/ , MATLAB, 137 linesPlot_Centroid_Pyramid.m - utilities/
figures_scripts/ , MATLAB, 258 linesPlot_DwellTime.m - utilities/
figures_scripts/ , MATLAB, 258 linesPlot_FracOccup.m - utilities/
figures_scripts/ , MATLAB, 153 linesPlot_K_3Dbrain.m - utilities/
figures_scripts/ , MATLAB, 161 linesPlot_K_V1_VoxelSpace.m - utilities/
figures_scripts/ , MATLAB, 97 linesPlot_K_V1_VoxelSpace_Sli ce.m - utilities/
figures_scripts/ , MATLAB, 138 linesPlot_K_boxplot_DT.m - utilities/
figures_scripts/ , MATLAB, 137 linesPlot_K_boxplot_FO.m - utilities/
figures_scripts/ , MATLAB, 113 linesPlot_K_diffs_transitions .m - utilities/
figures_scripts/ , MATLAB, 112 linesPlot_K_links_in_cortex.m - utilities/
figures_scripts/ , MATLAB, 52 linesPlot_K_matrix.m - utilities/
figures_scripts/ , MATLAB, 100 linesPlot_K_nodes_in_cortex.m - utilities/
figures_scripts/ , MATLAB, 85 linesPlot_K_overlap_yeo_nets. m - utilities/
figures_scripts/ , MATLAB, 314 linesPlot_K_repertoire.m - utilities/
figures_scripts/ , MATLAB, 110 linesPlot_K_state_time.m - utilities/
figures_scripts/ , MATLAB, 67 linesPlot_K_tpm.m - utilities/
figures_scripts/ , MATLAB, 72 linesPlot_K_vector_labelled.m - utilities/
figures_scripts/ , MATLAB, 61 linesPlot_K_vector_numbered.m - utilities/
figures_scripts/ , MATLAB, 100 linesPlot_subj_cluster_blocks .m - utilities/
figures_scripts/ , MATLAB, 90 linesPlot_subj_stairs.m - utilities/
figures_scripts/ , MATLAB, 261 lineslinspecer.m - utilities/
figures_scripts/ , MATLAB, 55 linessubplot_tight.m - LICENSE, License, 21 lines
- README.md, Text, 202 lines
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;
- 49 scripts, each with its path and the digest of its content;
- 4 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.
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, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 8 authors, 5 keywords, 2 funders, 48 references.
Cite
This paper
van der Velden, A. M., Vohryzek, J., Dagnino, P. C., Kuyken, W., Montero-Marin, J., Collin, G., Kringelbach, M. L., & Ruhe, H. G. (2026). Dynamic Repertoire of Brain Networks in Mindfulness-Based Cognitive Therapy During Rumination: A Randomized Controlled Trial. Biological psychiatry global open science, 6(5), 100753. https://
BibTeX
@article{vandervelden202
author = {van der Velden, Anne Maj and Vohryzek, Jakub and Dagnino, Paulina Clara and Kuyken, Willem and Montero-Marin, Jesus and Collin, Guusje and Kringelbach, Morten L. and Ruhe, Henricus G.},
title = {{Dynamic Repertoire of Brain Networks in Mindfulness-Based Cognitive Therapy During Rumination: A Randomized Controlled Trial}},
journal = {Biological psychiatry global open science},
year = {2026},
month = may,
volume = {6},
number = {5},
pages = {100753},
publisher = {Elsevier},
issn = {2667-1743},
doi = {10.1016/
url = {https://
pmid = {42518781},
pmcid = {PMC13382308}
}
RIS
TY - JOUR
AU - van der Velden, Anne Maj
AU - Vohryzek, Jakub
AU - Dagnino, Paulina Clara
AU - Kuyken, Willem
AU - Montero-Marin, Jesus
AU - Collin, Guusje
AU - Kringelbach, Morten L.
AU - Ruhe, Henricus G.
TI - Dynamic Repertoire of Brain Networks in Mindfulness-Based Cognitive Therapy During Rumination: A Randomized Controlled Trial
T2 - Biological psychiatry global open science
J2 - Biol Psychiatry Glob Open Sci
PY - 2026
DA - 2026/
VL - 6
IS - 5
SP - 100753
SN - 2667-1743
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Dynamic Repertoire of Brain Networks in Mindfulness-Based Cognitive Therapy During Rumination: A Randomized Controlled Trial",
"container-title": "Biological psychiatry global open science",
"author": [
{
"family": "van der Velden",
"given": "Anne Maj"
},
{
"family": "Vohryzek",
"given": "Jakub"
},
{
"family": "Dagnino",
"given": "Paulina Clara"
},
{
"family": "Kuyken",
"given": "Willem"
},
{
"family": "Montero-Marin",
"given": "Jesus"
},
{
"family": "Collin",
"given": "Guusje"
},
{
"family": "Kringelbach",
"given": "Morten L."
},
{
"family": "Ruhe",
"given": "Henricus G."
}
],
"container-title-short":
"volume": "6",
"issue": "5",
"page": "100753",
"DOI": "10.1016/
"PMID": "42518781",
"PMCID": "PMC13382308",
"ISSN": "2667-1743",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
12
]
]
}
}
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.64898/2026.06.21.26356048
- Changes in hierarchical brain dynamics of rumination following mindfulness-based cognitive therapy for depressionJournal: medRxiv (preprint)In common: depression, clinical / translational, 6 references
- [2] doi:10.1016/j.bbih.2026.101274 [code]
- Brain dynamics of attentional, default-mode and limbic networks are disrupted at rest in post-COVID-19 syndrome.Journal: Brain, behavior, & immunity - healthIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, fMRI, 5 references
- [3] doi:10.64898/2026.06.26.26356643
- Complex harmonic manifolds in mindfulness-based cognitive therapy for major depressive disorderJournal: medRxiv (preprint)In common: depression, clinical / translational, 6 references
- [4] doi:10.1007/s10548-026-01247-x [code]
- Salience Network Dynamics Across Spontaneous Attacks, Interictal Rest and Interictal Pain Imagery in Menstrually Related Migraine.Journal: Brain topographyIn common: Image Processing Toolbox, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, fMRI, 4 references
- [5] 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, 5 references
- [6] doi:10.1038/s41593-026-02205-3 [code]
- Competitive interactions shape mammalian brain network dynamics and computation.Journal: Nature neuroscienceIn common: Image Processing Toolbox, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 3 references
- [7] 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, 4 references
- [8] doi:10.1371/journal.pbio.3003916 [code]
- Arousal-driven critical roaming reproduces human functional connectivity dynamics.Journal: PLoS biologyIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, fMRI, 3 references
- [9] doi:10.1038/s41467-026-76011-7 [code]
- Human cortex organizes dynamic co-fluctuations along the sensorimotor-association
axis. Journal: Nature communicationsIn common: Image Processing Toolbox, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 3 references - [10] doi:10.1038/s41467-026-71742-z [code]
- Hypercapnia dissociates neuronal and hemodynamic responses impairing neurovascular coupling and functional brain connectivity.Journal: Nature communicationsIn common: Image Processing Toolbox, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, fMRI, 2 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, 49 scripts, and 4 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:1de93a67f5e32cf2…
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.
