OSCR

Functional connectivity predictors and mechanisms of symptom change in functional neurological disorder.

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, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

MATLAB · 103 lines · 2.8 KB · no license

  1. clear;clc;
  2. addpath( 'scripts_matlab');
  3. subjects_file_list='subjects.txt'; %txt file with subject IDs (1 per line)
  4. mask_file='GM_mask_3mm.nii.gz'; %grey matter mask in the resolution of your data
  5. atlas_file='Yeo7_3mm.nii.gz'; %network parcellation map
  6. data_path='data3mm'; % a folder with processed fmri files (one per individual)
  7. out_path='results/intgr_segr_3mm/'; %output folder
  8. apply_fisher=0;
  9. block_sz=10000;
  10. %%%%%%%%%%%%%%% Code starts here %%%%%%%%%%%%%%%%%%
  11. %Read subjects filenames from txt file
  12. fid = fopen(subjects_file_list);
  13. tline = fgetl(fid);
  14. subjects={}; num_subjects=0;
  15. while ischar(tline)
  16. num_subjects=num_subjects+1;
  17. subjects{num_subjects}=tline;
  18. tline = fgetl(fid);
  19. end
  20. fclose(fid);
  21. %Read mask
  22. [hdr mask]=read_nii(mask_file);
  23. %Read atlas
  24. [hdra atlas]=read_nii(atlas_file);
  25. atlas=atlas.*(mask>0); %apply mask to atlas
  26. atlas=reshape(atlas,[],1); %reshape to 1d
  27. indx_mask=find(atlas>0); %find gm voxels
  28. num_voxels=length(indx_mask);
  29. atlas=atlas(indx_mask);
  30. num_rois_atlas=max(atlas(:));
  31. %Create output directories
  32. if exist([out_path '/segregation'])==0
  33. mkdir([out_path '/segregation']);
  34. end
  35. if exist([out_path '/integration'])==0
  36. mkdir([out_path '/integration']);
  37. end
  38. %For each file
  39. files=strsplit(ls([data_path '/*.nii.gz'])); files(end)=[];
  40. seg_all = zeros(1,num_voxels,num_subjects);
  41. int_all = zeros(1,num_voxels,num_subjects);
  42. for i=1:num_subjects %length(files)
  43. %read fmri
  44. fprintf('[%.3d/%.3d] %s\n',i,num_subjects,subjects{i});
  45. [hdri fmri]=read_nii([ data_path '/' subjects{i} '.nii.gz']);
  46. fmri=reshape(fmri,[],size(fmri,4)); % convert fmri to 2d matrix
  47. fmri=fmri(indx_mask,:); %apply mask
  48. %Comptue integration, segregation
  49. segregation=zeros(1,num_voxels);
  50. integration=zeros(1,num_voxels);
  51. %for each roi
  52. for a=1:num_rois_atlas
  53. fprintf(' Network %d\n',a);
  54. sgr=find(atlas==a);
  55. intr=setdiff(1:num_voxels,sgr);
  56. num_blocks=ceil(length(sgr)./block_sz);
  57. for b=1:num_blocks
  58. sv=((b-1)*block_sz)+1;
  59. ev=sv+block_sz-1;
  60. if ev>length(sgr)
  61. ev=length(sgr);
  62. end
  63. fc=corr(fmri(sgr(sv:ev),:)',fmri');
  64. fc(find(fc<0))=0;
  65. if (apply_fisher==1)
  66. fc= 0.5 * log( ( 1 + fc)./( 1 - fc) ); %fisher
  67. end
  68. segregation(sgr(sv:ev))=nansum(fc(:,sgr)')-1;
  69. integration(sgr(sv:ev))=nansum(fc(:,intr)');
  70. clear fc;
  71. end
  72. clear sgr intr;
  73. end
  74. int_all(:,:,i) = integration;
  75. seg_all(:,:,i) = segregation;
  76. img=zeros(size(mask));
  77. img(indx_mask)=segregation;
  78. save_nii(hdr,img,[out_path '/segregation/' subjects{i} '.nii.gz']);
  79. img=zeros(size(mask));
  80. img(indx_mask)=integration;
  81. save_nii(hdr,img,[out_path '/integration/' subjects{i} '.nii.gz']);
  82. end
  83. save([out_path '/integration_voxelLevel.mat'],'int_all');
  84. save([out_path '/segregation_voxelLevel.mat'],'seg_all');

IntegrationSegregation.m at commit e78dbd4, no license · at the source

Overview

Authors: Christiana Westlin1,2,3, Cristina Bleier1,3, Andrew J Guthrie1,3, Sara A Finkelstein1, Julie Maggio4, Jessica Ranford5, Julie MacLean5, Ellen Godena1, Daniel Millstein1,2, Jennifer Freeburn6, Caitlin Adams1,2, Christopher D Stephen1, Ibai Diez7,8,9, David L Perez1,2,3,10
  1. Mass General Brigham Department of Neurology, Massachusetts General Hospital, Harvard Medical School, Boston, MA 02114, USA
  2. Mass General Brigham Department of Psychiatry, Massachusetts General Hospital, Harvard Medical School, Boston, MA 02114, USA
  3. Athinoula A. Martinos Center for Biomedical Imaging, Massachusetts General Hospital, Harvard Medical School, Boston, MA 02129, USA
  4. Department of Physical Therapy, Massachusetts General Hospital, Boston, MA 02114, USA
  5. Department of Occupational Therapy, Massachusetts General Hospital, Boston, MA 02114, USA
  6. Department of Speech, Language, and Swallowing Disorders, Massachusetts General Hospital, Harvard Medical School, Boston, MA 02114, USA
  7. Computational Neuroimaging Lab, Biobizkaia Health Research Institute, Barakaldo 48903, Spain
  8. Ikerbasque Basque Foundation for Science, Bilbao 48903, Spain
  9. Center for Inflammation Imaging, Department of Radiology, Massachusetts General Hospital, Harvard Medical School, Boston, MA 20114, USA
  10. Mass General Brigham Departments of Neurology and Psychiatry, Brigham and Women’s Hospital, Harvard Medical School, Boston, MA 20115, USA
Institutions: Harvard University (United States); Massachusetts General Hospital (United States); Athinoula A. Martinos Center for Biomedical Imaging (United States); Mass General Brigham (United States); Ikerbasque (Spain); Brigham and Women's Hospital (United States)
Journal: Brain communications, volume 8, issue 4, article fcag290
Dates: received 13 February 2026; accepted 9 July 2026; published online 22 July 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1093/braincomms/fcag290 · PMID 42553752 · PMCID PMC13435623 · OpenAlex W7170063802
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: fMRI (modality), human (organism), epilepsy (population), clinical / translational (subfield)
Methods: Spectral & time-frequency, Statistics, Connectivity, fMRI & imaging
Keywords: functional movement disorder, functional seizures, fMRI, graph theory, outcomes
Topic: Psychosomatic Disorders and Their Treatments (Psychiatry and Mental health, Medicine), according to OpenAlex
Citations: not cited yet (Europe PMC); 65 references in the paper

Abstract

Clinical trajectories in patients with functional neurological disorder (FND) are variable, and the neural mechanisms underlying this heterogeneity remain poorly understood. This longitudinal brain imaging study examined resting-state functional connectivity predictors and mechanisms of symptom change in FND. Thirty-two adults with FND (motor and/or seizure phenotypes) completed baseline questionnaires and functional MRI (fMRI), followed by naturalistic treatment for 6.8 ± 0.8 months. All participants completed follow-up questionnaires; 28 completed follow-up fMRI. At each timepoint, three graph-theory network metrics of resting-state functional connectivity were computed: whole-brain weighted-degree (centrality), cortical integration (between-network connectivity), and cortical segregation (within-network connectivity). All analyses adjusted for age, sex, antidepressants, head motion, time between sessions and baseline score of interest, with cluster-wise correction. Results were contextualized against 50 age-, sex-, and head motion-matched healthy controls (HCs). Based on patient-reported Clinical Global Impression of Improvement ratings, 59.4% improved, 31.3% were unchanged, and 9.3% worsened. Core FND symptom (i.e. Screening for Somatoform Symptoms-7 Subscale for Conversion Disorder) and non-core physical symptom (Patient Health Questionnaire-15) scores showed variable trajectories, with no group-level changes. For whole-brain weighted-degree analyses, baseline centrality in right middle frontal, precentral, and left cerebellar regions was positively associated with core FND symptom change; longitudinally, centrality decreases in right precentral, superior parietal, lateral occipital, and cerebellar regions were associated with symptom improvement. For cortical integration analyses, baseline between-network connectivity in ventral attention, frontoparietal, and default mode network regions was positively associated with core FND symptom change; longitudinally, decreases in between-network connectivity for regions of these same networks were associated with symptom improvement. For cortical segregation analyses, baseline within-network connectivity in frontoparietal network regions was positively associated with core FND symptom change; no regions showed longitudinal segregation changes associated with symptom change. The right anterior insula emerged as a convergent site across baseline and longitudinal integration analyses, with the most improved participants showing elevated baseline between-network connectivity relative to HCs that normalized at follow-up. More modest functional connectivity associations were observed with non-core physical symptom change, spanning baseline within-network connectivity in dorsal attention network regions and longitudinal between-network connectivity increases in visual network regions. Findings remained significant adjusting for FND phenotype, although several attenuated when accounting for baseline affective symptoms or trauma burden. In conclusion, this study identified baseline and longitudinal resting-state functional connectivity features linked to symptom change in FND, highlighting the potential of large-scale network interactions as prognostic markers and providing mechanistic insights that set the stage for novel, biologically informed interventions.

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

Repository

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

FND-RG-Lab/NetworkIntegrationSegregation

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: e78dbd4edb187de5f1cb5493f437c51846049c46, 28 March 2025
Languages: MATLAB (5)
Size: 5 files, 5 scripts
Software Heritage: not archived
Found in: “Data availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
5 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;
  • 5 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

No dataset and no data link were found in the paper.

Data availability

For qualified researchers, de-identified data pertaining only to study results can be made available following local IRB approval upon reasonable request. Analysis code can be found in the following GitHub repository: https://github.com/FND-RG-Lab/NetworkIntegrationSegregation.

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, 14 authors, 5 keywords, 1 funder, 65 references.

Cite

This paper

Westlin, C., Bleier, C., Guthrie, A. J., Finkelstein, S. A., Maggio, J., Ranford, J., MacLean, J., Godena, E., Millstein, D., Freeburn, J., Adams, C., Stephen, C. D., Diez, I., & Perez, D. L. (2026). Functional connectivity predictors and mechanisms of symptom change in functional neurological disorder. Brain communications, 8(4), fcag290. https://doi.org/10.1093/braincomms/fcag290

BibTeX

@article{westlin2026functional,
author = {Westlin, Christiana and Bleier, Cristina and Guthrie, Andrew J and Finkelstein, Sara A and Maggio, Julie and Ranford, Jessica and MacLean, Julie and Godena, Ellen and Millstein, Daniel and Freeburn, Jennifer and Adams, Caitlin and Stephen, Christopher D and Diez, Ibai and Perez, David L},
title = {{Functional connectivity predictors and mechanisms of symptom change in functional neurological disorder}},
journal = {Brain communications},
year = {2026},
month = jul,
volume = {8},
number = {4},
pages = {fcag290},
publisher = {Oxford University Press},
issn = {2632-1297},
doi = {10.1093/braincomms/fcag290},
url = {https://doi.org/10.1093/braincomms/fcag290},
pmid = {42553752},
pmcid = {PMC13435623}
}

RIS

TY - JOUR
AU - Westlin, Christiana
AU - Bleier, Cristina
AU - Guthrie, Andrew J
AU - Finkelstein, Sara A
AU - Maggio, Julie
AU - Ranford, Jessica
AU - MacLean, Julie
AU - Godena, Ellen
AU - Millstein, Daniel
AU - Freeburn, Jennifer
AU - Adams, Caitlin
AU - Stephen, Christopher D
AU - Diez, Ibai
AU - Perez, David L
TI - Functional connectivity predictors and mechanisms of symptom change in functional neurological disorder
T2 - Brain communications
J2 - Brain Commun
PY - 2026
DA - 2026/07/22
VL - 8
IS - 4
SP - fcag290
SN - 2632-1297
PB - Oxford University Press
DO - 10.1093/braincomms/fcag290
UR - https://doi.org/10.1093/braincomms/fcag290
LA - en
ER -

CSL-JSON

{
"id": "10.1093/braincomms/fcag290",
"type": "article-journal",
"title": "Functional connectivity predictors and mechanisms of symptom change in functional neurological disorder",
"container-title": "Brain communications",
"author": [
{
"family": "Westlin",
"given": "Christiana"
},
{
"family": "Bleier",
"given": "Cristina"
},
{
"family": "Guthrie",
"given": "Andrew J"
},
{
"family": "Finkelstein",
"given": "Sara A"
},
{
"family": "Maggio",
"given": "Julie"
},
{
"family": "Ranford",
"given": "Jessica"
},
{
"family": "MacLean",
"given": "Julie"
},
{
"family": "Godena",
"given": "Ellen"
},
{
"family": "Millstein",
"given": "Daniel"
},
{
"family": "Freeburn",
"given": "Jennifer"
},
{
"family": "Adams",
"given": "Caitlin"
},
{
"family": "Stephen",
"given": "Christopher D"
},
{
"family": "Diez",
"given": "Ibai"
},
{
"family": "Perez",
"given": "David L"
}
],
"container-title-short": "Brain Commun",
"volume": "8",
"issue": "4",
"page": "fcag290",
"DOI": "10.1093/braincomms/fcag290",
"PMID": "42553752",
"PMCID": "PMC13435623",
"ISSN": "2632-1297",
"publisher": "Oxford University Press",
"URL": "https://doi.org/10.1093/braincomms/fcag290",
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
22
]
]
}
}

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.1016/j.nicl.2026.103996
Relationships between brain functional connectivity and resting cardiac autonomic profiles in functional neurological disorder: A pilot study.
Journal: NeuroImage. Clinical
In common: fMRI, 21 references, author David L Perez
[2] doi:10.1002/hbm.70483 [code]
Untamed: Unconstrained Tensor Decomposition and Graph Node Embedding for Cortical Parcellation.
Journal: Human brain mapping
In common: Tools for NIfTI and ANALYZE image (MATLAB), fMRI, 2 references
[3] doi:10.7554/elife.106070 [code]
Dynamic fMRI networks of human emotion.
Journal: eLife
In common: fMRI, 3 references
[4] doi:10.1038/s41467-026-72605-3 [code]
Resolving mesoscale brainstem-prefrontal-striatal pathways underlying decisions upon salient events using submillimeter-resolution fMRI.
Journal: Nature communications
In common: fMRI, 3 references
[5] doi:10.1371/journal.pbio.3003684 [code]
The retrieval of previously learned motor memories is facilitated by the reinstatement of default mode network manifold structures.
Journal: PLoS biology
In common: fMRI, 3 references
[6] doi:10.1002/epi.70323 [code]
Individual-specific resting-state networks predict language dominance in drug-resistant epilepsy.
Journal: Epilepsia
In common: Tools for NIfTI and ANALYZE image (MATLAB), epilepsy, fMRI, 1 reference
[7] doi:10.1016/j.celrep.2026.117404 [code]
Action and rest tremor map to distinct networks within the primary motor cortex.
Journal: Cell reports
In common: Tools for NIfTI and ANALYZE image (MATLAB), 2 references
[8] doi:10.1038/s41398-026-04025-2 [code]
Brain energetic landscapes shape state dysregulation in major depressive disorder: a morphological network controllability perspective.
Journal: Translational psychiatry
In common: Tools for NIfTI and ANALYZE image (MATLAB), 2 references
[9] doi:10.7554/elife.104684 [code]
Regime shift detection and neurocomputational substrates for under and overreactions to change.
Journal: eLife
In common: fMRI, 3 references
[10] doi:10.1016/j.bbih.2026.101299 [code]
Multimodal approach to identify neuropsychophysiological subgroups in myalgic encephalomyelitis/chronic fatigue syndrome and their relevance for rehabilitation: protocol for a mechanistic cross-sectional and longitudinal study.
Journal: Brain, behavior, & immunity - health
In common: Tools for NIfTI and ANALYZE image (MATLAB), clinical / translational, 1 reference

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.

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.