OSCR

Network flexibility facilitates treatment-induced recovery in post-stroke aphasia.

Code ↔ Paper

6 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 6 matches · 3 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
  1. [1] § Materials and methods › Temporal metrics › Community stability ↔ dFC_toolbox/other_required_code/BCT_files/community_louvain.m, lines 1–71 · score 0.64 · Louvain community detection, maximizing, algorithm, nodes, matrix, network
  2. [2] § Materials and methods › Temporal metrics › Community stability ↔ dFC_toolbox/other_required_code/get_transition_threshold.m, the whole file · a weak match · score 0.63 · adjacent window, inter window, apart, probability, threshold
  3. [3] § Materials and methods › Temporal metrics › Community stability ↔ dFC_toolbox/other_required_code/get_transition_threshold.m, the whole file · a weak match · score 0.56 · adjacent windows, inter window, Probability, apart, threshold
  4. [4] § Materials and methods › dFC states analysis ↔ dFC_toolbox/other_required_code/dFC_kmeans_app.m, lines 1–89 · score 0.55 · kmeans, elbow, PCA, reshaped, sum, clustering
  5. [5] § Materials and methods › MRI acquisition and preprocessing ↔ dFC_toolbox/other_required_code/compute_dFC.m, the whole file · a weak match · score 0.52 · functional scans, lesion mapping, TR, preprocessing, duration
  6. [6] § Results › Temporal metrics of dFC ↔ stats_revision2.Rmd, lines 327–357 · score 0.51 · WAB AQ, lesion volume, models, accuracy, predicting, temporal

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 · 2.1 KB · MIT · 2 matches

  1. function [threshold,AUC,density_1] = get_transition_threshold(comm_sim,TR,plot_density)
  2. nwin = size(comm_sim,1);
  3. nsub = size(comm_sim,3);
  4. % Keep only similarity values for windows more than 30 seconds apart
  5. comm_sim_1 = zeros(nwin,nwin,nsub);
  6. for i=1:nwin
  7. for j=1:nwin
  8. if abs(j-i)<=(60/TR)
  9. comm_sim_1(i,j,:) = nan;
  10. else
  11. comm_sim_1(i,j,:) = comm_sim(i,j);
  12. end
  13. end
  14. end
  15. % Keep only similarity values for windows within 30 seconds of each other
  16. comm_sim_2 = zeros(nwin,nwin,nsub);
  17. for i=1:nwin
  18. for j=1:nwin
  19. if abs(j-i)>1 || i==j
  20. comm_sim_2(i,j,:) = nan;
  21. else
  22. comm_sim_2(i,j,:) = comm_sim(i,j);
  23. end
  24. end
  25. end
  26. pts = (1:100)/100;
  27. [density_1,x1] = ksdensity(reshape(comm_sim_1,[nsub*nwin^2 1]),pts);
  28. [density_2,x2] = ksdensity(reshape(comm_sim_2,[nsub*nwin^2 1]),pts);
  29. density_1 = smoothdata(density_1);
  30. density_2 = smoothdata(density_2);
  31. start = find(density_1 == max(density_1));
  32. stop = find(density_2 == max(density_2));
  33. abs_diff = abs(density_2(start:stop) - density_1(start:stop));
  34. stop = find(abs_diff == min(abs_diff))+start-1;
  35. threshold = pts(stop);
  36. % for i=1:numel(pts)-1
  37. % AUC = (pts(2)-pts(1))*sum(density_1(numel(pts)-i:numel(pts)));
  38. % if AUC>=0.05
  39. % stop = numel(pts)-i;
  40. % threshold = pts(stop);
  41. % break
  42. % end
  43. % end
  44. % nonzero1 = find(density_1>0.001);
  45. % threshold = pts(max(nonzero1));
  46. if plot_density
  47. figure; hold on
  48. plot(x1,density_1/100)
  49. plot(x2,density_2/100)
  50. ylim([0 1.1*max(density_1/100)])
  51. xlim([0 1])
  52. plot([threshold threshold],[0 1.1*max(density_1/100)],'k','LineStyle','--')
  53. area([1:stop]*(pts(2)-pts(1)),density_2(1:stop)/100,'EdgeColor','none','FaceColor',[0.8500, 0.3250, 0.0980],'FaceAlpha',0.5)
  54. hold off
  55. legend({'Windows >60s apart','Adjacent windows','Transition Threshold'},'Location','northeast')
  56. xlabel('Inter-window similarity')
  57. ylabel('Probability')
  58. end
  59. % AUC = (pts(2)-pts(1))*sum(density_2(1:intersection));
  60. end

get_transition_threshold.m at commit 00d16a1, under MIT · at the source

Overview

Authors: Isaac Falconer1,2, Maria Varkanitsa2,3, Anne Billot4,5, Swathi Kiran2,3
  1. Chobanian & Avedisian School of Medicine, Boston University, Boston, MA 02118, USA
  2. Center for Brain Recovery, Boston University, Boston, MA 02215, USA
  3. Department of Speech, Language, and Hearing Sciences, Sargent College of Health and Rehabilitation Sciences, Boston University, Boston, MA 02215, USA
  4. Department of Neurology, Massachusetts General Hospital and Harvard Medical School, Charlestown, MA 02115, USA
  5. Department of Psychology, Center for Brain Science, Harvard University, Cambridge, MA 02138, USA
Institutions: Boston University (United States); Harvard University (United States); Massachusetts General Hospital (United States)
Journal: Brain communications, volume 8, issue 5, article fcag279
Dates: received 3 July 2024; accepted 3 November 2025; published online 18 September 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1093/braincomms/fcag279 · PMID 42761528 · PMCID PMC13586764 · OpenAlex W7213542091
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: fMRI (modality), human (organism), stroke (population)
Methods: Statistics, Smoothing, state filtering, decompositions, Machine learning, Connectivity, Graphs, fMRI & imaging
Keywords: aphasia, stroke, dynamic functional connectivity, functional MRI
Topic: Neurobiology of Language and Bilingualism (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: NIDCD NIH HHS (P50 DC012283)
Citations: not cited yet (Europe PMC); 82 references in the paper

Abstract

Predicting the recovery of post-stroke aphasia, particularly in the chronic phase, poses significant challenges. While many studies have focused on static resting state functional connectivity measures as biomarkers for language recovery, there is a significant lack of studies investigating dynamic functional connectivity, which takes into account second to minute timescale variation in connectivity and has been used extensively in other contexts. This retrospective cohort study investigates the predictive value of dynamic functional connectivity for treatment response in post-stroke aphasia. Two temporal metrics, temporal variability and community stability were explored. Temporal variability quantifies the magnitude of variation in the strength of functional connections over time, while community stability measures the mean length of time over which dynamic functional connectivity remains relatively stable. Additionally, a dynamic functional connectivity states analysis, in which time windows are clustered into states using a k-means clustering algorithm, was used to investigate time-varying network properties of dynamic functional connectivity in relation to treatment response. Baseline MRI data were collected for 30 participants with chronic post-stroke aphasia who received a semantic treatment aimed at improving word-finding. Dynamic functional connectivity was generated using a sliding-window approach and the relationships between treatment-induced improvements in naming accuracy and the respective temporal metrics and network properties were evaluated using linear mixed effects models predicting naming accuracy. Specifically, a significant interaction effect of session (i.e. time) and the respective measure was interpreted as a significant relationship between the measure and treatment response. Both temporal metrics were found to be significantly associated with naming improvements, with both higher temporal variability (i.e. magnitude of fluctuations in dynamic functional connectivity; interaction effect: β = 0.45, P = 3.6e−09, η1 = 0.072) and higher community stability (i.e. moment-to-moment stability of dynamic functional connectivity; interaction effect: β = 0.0046, P = 5.4e−06, η1 = 0.044) predicting greater treatment gains. These findings suggest that patients who benefit most from treatment have neural dynamics characterized by a large magnitude, but low frequency, of fluctuations in network synchrony. Finally, consistent with previous studies, patients who spent more time in a state characterized by higher modularity showed greater treatment response (interaction effect: β = 7.9e−05, P = 6.2e−04, η1 = 0.025). Overall, the findings of this study provide evidence for the utility of dynamic functional connectivity in studying post-stroke language recovery as a measure that captures interindividual difference in the capacity for recovery. They create a new direction for post-stroke aphasia research focusing on temporal dynamics and their relationship to long-term functional network plasticity.

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 6 matches between paragraphs and lines of code.

isaacfalconer/dfc_toolbox

License: MIT
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Commit: 00d16a1ad71da81ff812b37c2a3066633aae8867, 22 June 2025
Languages: MATLAB (77)
Size: 94 files, 77 scripts
Software Heritage: not archived
Found in: the text, “Dynamic functional connectivity”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 26 September 2026: the link answers
  • 26 September 2026: the link answers
79 files

OSF zja2b

License: none: the authors keep all their rights
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Languages: R (1)
Size: 12 files, 1 script
Software Heritage: not checked
Found in: “Data availability”
Holds: 1 notebook
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: broom (1 file), car (1 file), easystats (1 file), emmeans (1 file), ggplot2 (1 file), ggpubr (1 file), lme4 (1 file), lmerTest (1 file), psych (1 file), reshape2 (1 file), tidyverse (1 file), UMAP (1 file)
Availability: 1 check, the latest on 26 September 2026: the link answers (HTTP 200)
  • 26 September 2026: the link answers (HTTP 200)
1 file, to read at the source

This repository has no license: its authors keep all rights. Read it at the source.

At the source: osf.io/zja2b/

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;
  • 78 scripts, each with its path and the digest of its content;
  • 6 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

Datasets cited

Data availability

Deidentified raw imaging data, lesion information and behavioural data used in this study are available on the Open Science Framework (OSF): https://osf.io/wcuj8. Software used for image preprocessing is freely available at https://fmriprep.org/en/1.4.1/and https://github.com/neurolabusc/Clinical. Software used for additional preprocessing and generation of mean BOLD timeseries per ROI is freely available at https://web.conn-toolbox.org/. Custom MATLAB code used for estimation of dFC and subsequent analyses is available at https://github.com/isaacfalconer/dfc_toolbox. The Brain Connectivity Toolbox, which was used to compute graph measures, is freely available at http://mathworks.com/matlabcentral/fileexchange/61173-brain-connectivity-toolbox. Statistical analysis code is available at https://osf.io/zja2b/. Legal copyright restrictions prevent public archiving of the Western Aphasia Battery—Revised which can be obtained from the copyright holders in the cited references (Kertesz, 2007).

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, 4 authors, 4 keywords, 1 funder, 78 references.

Cite

This paper

Falconer, I., Varkanitsa, M., Billot, A., & Kiran, S. (2026). Network flexibility facilitates treatment-induced recovery in post-stroke aphasia. Brain communications, 8(5), fcag279. https://doi.org/10.1093/braincomms/fcag279

BibTeX

@article{falconer2026network,
author = {Falconer, Isaac and Varkanitsa, Maria and Billot, Anne and Kiran, Swathi},
title = {{Network flexibility facilitates treatment-induced recovery in post-stroke aphasia}},
journal = {Brain communications},
year = {2026},
month = sep,
volume = {8},
number = {5},
pages = {fcag279},
publisher = {Oxford University Press},
issn = {2632-1297},
doi = {10.1093/braincomms/fcag279},
url = {https://doi.org/10.1093/braincomms/fcag279},
pmid = {42761528},
pmcid = {PMC13586764}
}

RIS

TY - JOUR
AU - Falconer, Isaac
AU - Varkanitsa, Maria
AU - Billot, Anne
AU - Kiran, Swathi
TI - Network flexibility facilitates treatment-induced recovery in post-stroke aphasia
T2 - Brain communications
J2 - Brain Commun
PY - 2026
DA - 2026/09/18
VL - 8
IS - 5
SP - fcag279
SN - 2632-1297
PB - Oxford University Press
DO - 10.1093/braincomms/fcag279
UR - https://doi.org/10.1093/braincomms/fcag279
LA - en
ER -

CSL-JSON

{
"id": "10.1093/braincomms/fcag279",
"type": "article-journal",
"title": "Network flexibility facilitates treatment-induced recovery in post-stroke aphasia",
"container-title": "Brain communications",
"author": [
{
"family": "Falconer",
"given": "Isaac"
},
{
"family": "Varkanitsa",
"given": "Maria"
},
{
"family": "Billot",
"given": "Anne"
},
{
"family": "Kiran",
"given": "Swathi"
}
],
"container-title-short": "Brain Commun",
"volume": "8",
"issue": "5",
"page": "fcag279",
"DOI": "10.1093/braincomms/fcag279",
"PMID": "42761528",
"PMCID": "PMC13586764",
"ISSN": "2632-1297",
"publisher": "Oxford University Press",
"URL": "https://doi.org/10.1093/braincomms/fcag279",
"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.1016/j.nicl.2026.104012 [code]
Structural-functional multilayer brain network properties and outcome of combined repetitive transcranial magnetic stimulation and psychotherapy for obsessive-compulsive disorder.
Journal: NeuroImage. Clinical
In common: Brain Connectivity Toolbox, psych, car, 8 other tools, fMRI
[2] doi:10.1073/pnas.2606871123 [code]
Oxytocin modulates the neurocomputational mechanisms engaged in learning rank relationships in social networks.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: psych, car, easystats, 8 other tools
[3] doi:10.1016/j.neuroimage.2026.122115 [code]
Midfrontal theta power relates to response speeding following frustrative nonreward.
Journal: NeuroImage
In common: psych, car, easystats, 8 other tools
[4] doi:10.1126/sciadv.aec9291 [code]
Computational mechanisms of perception in autism revealed using games inspired by rodent operant tasks.
Journal: Science advances
In common: psych, car, easystats, 7 other tools
[5] doi:10.1093/braincomms/fcag176 [code]
Tau topography subtypes account for clinical heterogeneity and longitudinal trajectories in early-onset Alzheimer's disease.
Journal: Brain communications
In common: Tools for NIfTI and ANALYZE image (MATLAB), car, easystats, 7 other tools
[6] doi:10.1093/braincomms/fcag121 [code]
Anterior insular co-activation patterns associated with stress markers in chronic primary pain.
Journal: Brain communications
In common: psych, car, easystats, 7 other tools, fMRI
[7] doi:10.1038/s41467-026-74565-0 [code]
The functional neurobiology of dispositions towards negative emotions.
Journal: Nature communications
In common: Brain Connectivity Toolbox, psych, easystats, 7 other tools
[8] doi:10.1016/j.celrep.2026.117646 [code]
Medial entorhinal-hippocampal desynchronization parallels the emergence of memory impairment in a mouse model of Alzheimer's disease pathology.
Journal: Cell reports
In common: car, broom, emmeans, 6 other tools, 1 reference
[9] doi:10.1038/s41467-026-71415-x [code]
Regional BOLD variability reflects microstructural maturation and neuronal ensheathment in the preterm infant cortex.
Journal: Nature communications
In common: psych, easystats, broom, 6 other tools, fMRI
[10] doi:10.1038/s41467-026-72934-3 [code]
Multi-focal ultrasound neuromodulation to the dorsal anterior cingulate cortex disrupts behavioural and neural pain processing.
Journal: Nature communications
In common: car, broom, emmeans, 6 other tools, fMRI

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.