OSCR

Foreign Language Learning in Older Adults Modifies Resting-State Functional Connectivity Between the Subcortical Structures and the Cortex.

Code ↔ Paper

1 match 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 1 match
  1. [1] § Results › Changes of rsFC of Subcortical Regions Induced by FLL ↔ notebooks/fig2d_neurosynth_islands.ipynb, lines 64–96 · score 0.51 · PCC, anterior, mPFC, insula, posterior, prefrontal

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

Jupyter notebook · 171 lines · 5.3 KB · MIT · 1 match

  1. # %%
  2. #neurosynth term island annotations for fig 2d
  3. # %%
  4. import scripts.neurosynth_tools as nt
  5. import numpy as np
  6. import nibabel as nb
  7. import os
  8. import matplotlib.pyplot as plt
  9. # %%
  10. n_perm=1000
  11. spins= np.load(f'spin_dir/spins_{n_perm}.npy')
  12. base_dir = '/data1/allen_surfaces/'
  13. w_dir= '/data1/bigbrain/phate_testing/'
  14. cortex=nb.load(os.path.join(base_dir,'hcp_surfs','fs_LR32k','Glasser_2016.32k.L.label.gii'))
  15. cortex=cortex.darrays[0].data>0
  16. # %%
  17. import json
  18. with open('weighted_island_vectors/glasser_rois.json') as f:
  19. d=json.load(f)
  20. rois=[d['{}'.format(x)][0][2:-4] for x in np.arange(6)+1]
  21. islands = np.loadtxt(os.path.join(w_dir,'weighted_island_vectors','clustered_islands.txt'))
  22. # %%
  23. from importlib import reload
  24. reload(nt)
  25. # %%
  26. fig = plt.figure(figsize=(15,12))
  27. gs = fig.add_gridspec(2,3, wspace=0.1,width_ratios=[1,1,1],height_ratios=[1,1])
  28. axs = gs.subplots(sharex=False, sharey=False)
  29. axes=axs.ravel()
  30. terms = np.zeros((len(rois),34),dtype=object)
  31. t_stats = np.zeros((len(rois),34))
  32. pvals_all = np.zeros((len(rois),34))
  33. top_term = []
  34. for island,roi in enumerate(rois):
  35. map1=(islands==island)[cortex]
  36. t_stats[island], pvals, terms[island],perm_t=nt.neurosynth_binary_annotation(map1,
  37. spins,test=nt.dice)
  38. nt.plot_neurosynth(t_stats[island],pvals,terms[island],title=f'{roi}',
  39. test='dice',ax=axes[island])
  40. print(terms[island],pvals)
  41. top_term.append( terms[island][np.argsort(pvals)[0]])
  42. pvals_all[island] = pvals
  43. # %%
  44. top_term
  45. # %%
  46. n_per=2
  47. bool_include = np.zeros_like(t_stats,dtype=bool)
  48. for island,roi in enumerate(rois):
  49. bool_include[island,np.argsort(t_stats[island])[-n_per:]]=1
  50. # %%
  51. import pandas as pd
  52. # %%
  53. reduced_t=t_stats[:,np.any(bool_include,axis=0)]
  54. reduced_p = pvals_all[:,np.any(bool_include,axis=0)]
  55. reduced_terms = terms[:,np.any(bool_include,axis=0)][0]
  56. unwanted_terms = ['cortex','cerebellar','anterior','cingulate',
  57. 'prefrontal','pfc','insula','insular','acc','anterior',
  58. 'dorsal','posterior','anterior','orbitofrontal','medial','dacc','dorsolateral','dlpfc',
  59. 'cerebellum','basal','ganglia','nucleus','thalamus','caudate', 'putamen',
  60. 'striatal', 'thalamic','nuclei', 'structures','cerebral', 'brainstem','lateral','ventral','amygdala',
  61. 'emotion','magnetic','resonance','pcc','rostral','frontal','ai','mpfc','action']
  62. terms_sheet=pd.read_excel('neurosynth/NeuroSynthV5Topic50List.xlsx',skiprows=2)
  63. for k,t in enumerate(reduced_terms):
  64. single_terms=reduced_terms[k].split('_')
  65. #find matching row
  66. scores=np.zeros(len(terms_sheet['Top terms']))
  67. for s_t in single_terms:
  68. for fl,full_list in enumerate(terms_sheet['Top terms']):
  69. if s_t in full_list.split(', ')[:n_per]:
  70. scores[fl]+=1
  71. term_index = np.argmax(scores)
  72. sc=0
  73. new_single_terms = single_terms.copy()
  74. for s_t in single_terms:
  75. if s_t in unwanted_terms:
  76. sc+=1
  77. new_single_terms.remove(s_t)
  78. while terms_sheet['Top terms'][term_index].split(', ')[2+sc] in unwanted_terms:
  79. sc+=1
  80. new_single_terms.append(terms_sheet['Top terms'][term_index].split(', ')[2+sc])
  81. print(new_single_terms)
  82. reduced_terms[k] = '\n'.join(new_single_terms)
  83. # %%
  84. def reorder_modules_from_similarity(matrix):
  85. from scipy import cluster
  86. import seaborn as sns
  87. clustergrid = sns.clustermap(np.nan_to_num(np.corrcoef(matrix)));
  88. new_order = np.array(clustergrid.dendrogram_row.reordered_ind)
  89. plt.close('all')
  90. return new_order
  91. # %%
  92. new_order = reorder_modules_from_similarity(1-np.corrcoef(reduced_t.T))
  93. #new_order = (len(new_order)-1-new_order)
  94. # %%
  95. new_order = np.roll(new_order,5)
  96. # %%
  97. #reorder terms
  98. #new_order = np.array([1,11,8,10,9,2,6,0,4,3,5,7])
  99. #rois=np.array(rois)[new_order]
  100. reduced_t = np.array(reduced_t)[:,new_order]
  101. reduced_p = np.array(reduced_p)[:,new_order]
  102. reduced_terms=np.array(reduced_terms)[new_order]
  103. # %%
  104. np.save('weighted_island_vectors/neurosynth_top.npy',reduced_terms[np.argmax(reduced_t,axis=1)])
  105. # %%
  106. cmap = plt.get_cmap("tab20")
  107. colors = cmap(np.arange(20))
  108. # %%
  109. #colors=plt.rcParams['axes.prop_cycle'].by_key()['color']
  110. colors=colors[np.round(np.linspace(0,19,7)).astype(int)]
  111. # %%
  112. plt.figure(figsize=(6,6))
  113. plt.rcParams.update({'font.size': 14})
  114. ax = plt.axes(polar=True)
  115. ax.spines['polar'].set_visible(False)
  116. for k,t in enumerate(rois):
  117. #vals=np.clip(0,np.max(reduced_t[k]),reduced_t[k])
  118. vals = reduced_t[k]
  119. vals = np.hstack([vals,vals[0]])
  120. vals=vals/np.max(vals)
  121. offset=0
  122. if t in ['2','4']:
  123. offset = [0.02,-0.02][['2','4'].index(t)]
  124. ax.plot(np.linspace(np.pi*2,0,len(reduced_terms)+1)+offset,vals,
  125. linewidth=4,label=t,c=colors[k+1])
  126. ax.set_ylim([0,1.3])
  127. ax.set_xticks(np.linspace(np.pi*2,0,len(reduced_terms)+1)[:-1])
  128. ax.set_xticklabels(reduced_terms,zorder=0,size=20,ha='center')
  129. #ax.xaxis.labelpad = 50
  130. #ax.set_rlabel_position(-22.5)
  131. # pos=ax.get_theta_label_position()
  132. # ax.set_th
  133. ax.set_yticks([])
  134. ax.set_theta_zero_location("N")
  135. #ax.xaxis.grid(False)
  136. #ax.xaxis.set_visible(False)
  137. plt.tight_layout()
  138. #ax.set_yticklabels(['','','','','',''])
  139. plt.legend(loc=[1.12,0.8])
  140. plt.savefig('neurosynth/neurosynth_island_annotations.pdf')

fig2d_neurosynth_islands.ipynb at commit b611a0c, under MIT · at the source

Overview

Authors: Giovanna Bubbico1,2, Federica Tomaiuolo2,3, Carlo Sestieri1,2, Golnoush Akhlaghipour4, Alberto Granzotto1,5, Antonio Ferretti1,2,6, Mauro Gianni Perrucci1,2, Stefano L Sensi1,2,5,7, Stefano Delli Pizzi1,2,5
  1. Department of Neuroscience, Imaging and Clinical Sciences, G. D'annunzio University of Chieti‐Pescara, Chieti, Italy
  2. Institute for Advanced Biomedical Technologies (ITAB), G. D'annunzio University of Chieti‐Pescara, Chieti, Italy
  3. Department of Engineering and Geology, G. D'annunzio University of Chieti‐Pescara, Chieti, Italy
  4. Department of Neurology, Montefiore Einstein Saul R. Korey, Bronx, New York, USA
  5. Molecular Neurology Unit, Centre for Advanced Studies and Technology (CAST), G. D'annunzio University of Chieti‐Pescara, Chieti, Italy
  6. UdA‐TechLab, Research Center, University G. D'annunzio of Chieti‐Pescara, Chieti, Italy
  7. Institute of Neurology, SS Annunziata University Hospital, University G. D'annunzio of Chieti‐Pescara, Chieti, Italy
Journal: Aging medicine (Milton (N.S.W)), volume 9, issue 2, pages 99-110
Dates: received 9 September 2025; accepted 13 April 2026; published online 23 April 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1002/agm2.70073 · PMID 42130753 · PMCID PMC13163939 · OpenAlex W7155363777
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: fMRI (modality), human (organism)
Methods: Spectral & time-frequency, Statistics, Preprocessing, Connectivity, fMRI & imaging
Keywords: aging, CB1 receptor, NTRK2 gene expression, resting‐state functional connectivity, semantic memory, subcortical networks
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: European Commission (D73C22001930006, D73C22000840006)
Citations: not cited yet (Europe PMC); 65 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repositories

Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.

kwagstyl/MAGICC

License: MIT
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: b611a0c96ef17fe1cadea974fb7a54b2b4128d30, 8 February 2024
Languages: Python (18), Jupyter (10)
Size: 31 files, 28 scripts
Software Heritage: not archived
Found in: the text, “Spatial Correlation With Receptor and Gene Densi”
Holds: README, license file, 10 notebooks
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: NumPy (26 files), pandas (23 files), NiBabel (15 files), Matplotlib (14 files), SciPy (10 files), seaborn (7 files), scikit-learn (4 files), Pillow (3 files), statsmodels (3 files), Connectome Workbench (2 files), FreeSurfer (1 file), h5py (1 file), netneurotools (1 file), Nilearn (1 file), PyTorch (1 file)
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
30 files

netneurolab/neuromaps

License: CC-BY-NC-SA-4.0
State: the link answers, verified on 26 September 2026
Evidence: files inventoried
Commit: ffcc2e0f657943ce00a1b6a968396f32250e495c, 4 June 2026
Languages: Python (45), Shell (3)
Size: 90 files, 48 scripts
Software Heritage: archived
Found in: the text, “Spatial Correlation With Receptor and Gene Densi”
Holds: README, license file, environment (Dockerfile, pyproject.toml, requirements.txt, setup.py, docs/requirements.txt), tests, continuous integration, documentation
Not found: CITATION.cff
Tools: neuromaps (29 files), NumPy (19 files), NiBabel (8 files), SciPy (7 files), Nilearn (5 files), scikit-learn (3 files), Matplotlib (2 files), BrainSMASH (1 file), BrainSpace (1 file), pandas (1 file)
Availability: 1 check, the latest on 26 September 2026: the link answers
  • 26 September 2026: the link answers
50 files

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;
  • 76 scripts, each with its path and the digest of its content;
  • 1 match 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, 29 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 9 authors, 6 keywords, 1 funder, 64 references.

Cite

This paper

Bubbico, G., Tomaiuolo, F., Sestieri, C., Akhlaghipour, G., Granzotto, A., Ferretti, A., Perrucci, M. G., Sensi, S. L., & Delli Pizzi, S. (2026). Foreign Language Learning in Older Adults Modifies Resting-State Functional Connectivity Between the Subcortical Structures and the Cortex. Aging medicine (Milton (N.S.W)), 9(2), 99-110. https://doi.org/10.1002/agm2.70073

BibTeX

@article{bubbico2026foreign,
author = {Bubbico, Giovanna and Tomaiuolo, Federica and Sestieri, Carlo and Akhlaghipour, Golnoush and Granzotto, Alberto and Ferretti, Antonio and Perrucci, Mauro Gianni and Sensi, Stefano L and Delli Pizzi, Stefano},
title = {{Foreign Language Learning in Older Adults Modifies Resting-State Functional Connectivity Between the Subcortical Structures and the Cortex}},
journal = {Aging medicine (Milton (N.S.W))},
year = {2026},
month = apr,
volume = {9},
number = {2},
pages = {99--110},
publisher = {Wiley},
issn = {2475-0360},
doi = {10.1002/agm2.70073},
url = {https://doi.org/10.1002/agm2.70073},
pmid = {42130753},
pmcid = {PMC13163939}
}

RIS

TY - JOUR
AU - Bubbico, Giovanna
AU - Tomaiuolo, Federica
AU - Sestieri, Carlo
AU - Akhlaghipour, Golnoush
AU - Granzotto, Alberto
AU - Ferretti, Antonio
AU - Perrucci, Mauro Gianni
AU - Sensi, Stefano L
AU - Delli Pizzi, Stefano
TI - Foreign Language Learning in Older Adults Modifies Resting-State Functional Connectivity Between the Subcortical Structures and the Cortex
T2 - Aging medicine (Milton (N.S.W))
J2 - Aging Med (Milton)
PY - 2026
DA - 2026/04/23
VL - 9
IS - 2
SP - 99
EP - 110
SN - 2475-0360
PB - Wiley
DO - 10.1002/agm2.70073
UR - https://doi.org/10.1002/agm2.70073
LA - en
ER -

CSL-JSON

{
"id": "10.1002/agm2.70073",
"type": "article-journal",
"title": "Foreign Language Learning in Older Adults Modifies Resting-State Functional Connectivity Between the Subcortical Structures and the Cortex",
"container-title": "Aging medicine (Milton (N.S.W))",
"author": [
{
"family": "Bubbico",
"given": "Giovanna"
},
{
"family": "Tomaiuolo",
"given": "Federica"
},
{
"family": "Sestieri",
"given": "Carlo"
},
{
"family": "Akhlaghipour",
"given": "Golnoush"
},
{
"family": "Granzotto",
"given": "Alberto"
},
{
"family": "Ferretti",
"given": "Antonio"
},
{
"family": "Perrucci",
"given": "Mauro Gianni"
},
{
"family": "Sensi",
"given": "Stefano L"
},
{
"family": "Delli Pizzi",
"given": "Stefano"
}
],
"container-title-short": "Aging Med (Milton)",
"volume": "9",
"issue": "2",
"page": "99-110",
"DOI": "10.1002/agm2.70073",
"PMID": "42130753",
"PMCID": "PMC13163939",
"ISSN": "2475-0360",
"publisher": "Wiley",
"URL": "https://doi.org/10.1002/agm2.70073",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
23
]
]
}
}

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.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: BrainSMASH, neuromaps, BrainSpace, 12 other tools, 2 references
[2] doi:10.21203/rs.3.rs-9326213/v1 [code]
Multi-task fMRI outperforms resting-state fMRI for revealing task-invariant organization of the human brain
Journal: Research Square (preprint)
In common: neuromaps, Connectome Workbench, FreeSurfer, 11 other tools, fMRI, 2 references
[3] doi:10.1371/journal.pbio.3003856 [code]
Aging and metabolism contribute separately to brain-body health.
Journal: PLoS biology
In common: netneurotools, neuromaps, Connectome Workbench, 11 other tools, 2 references
[4] doi:10.1038/s41586-026-10631-3 [code]
A prognostic human brain network for diffuse midline glioma.
Journal: Nature
In common: BrainSMASH, neuromaps, BrainSpace, 10 other tools, 1 reference
[5] doi:10.21203/rs.3.rs-9914920/v1 [code]
Prediction of cognitive performance by demographics, sleep, and brain morphometry: machine learning findings from ENIGMA-Sleep Working Group
Journal: Research Square (preprint)
In common: netneurotools, neuromaps, BrainSpace, 10 other tools, 1 reference
[6] doi:10.1038/s41467-026-74153-2 [code]
Regional, functional and transcriptomic decoding of multidimensional brain structure alterations in obsessive-compulsive disorder.
Journal: Nature communications
In common: BrainSMASH, neuromaps, BrainSpace, 9 other tools, 1 reference
[7] doi:10.1038/s41467-026-71270-w [code]
Spatiotemporal dynamics of the human cortical functional hierarchy across the lifespan.
Journal: Nature communications
In common: BrainSpace, Connectome Workbench, FreeSurfer, 10 other tools, fMRI
[8] doi:10.1186/s12916-026-04978-7 [code]
Mapping shared and specific cortical after-effects of repetitive TMS on brain function.
Journal: BMC medicine
In common: BrainSMASH, neuromaps, BrainSpace, 7 other tools, 3 references
[9] doi:10.1038/s41467-026-75959-w [code]
Charting higher-order models of brain function beyond pairwise interactions.
Journal: Nature communications
In common: neuromaps, BrainSpace, Nilearn, 9 other tools, 2 references
[10] doi:10.7554/elife.103097 [code]
Canonical neurodevelopmental trajectories of structural and functional manifolds.
Journal: eLife
In common: netneurotools, neuromaps, BrainSpace, 8 other tools, 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.