Social disconnection in the brain: loneliness and age across networks using graph theory.
5 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 7 matches · 2 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
- [1] § Methods › Loneliness and age – Graph-based brain functional connectivity statistical analysis ↔ fmri_stats_palm.m, the whole file · a weak match · score 0.95 · Exchangeability blocks, FWE corrected, Linear Models, MoCA, FSL, PALM · block
oscr:b:58H6DGZ1V14MC-G· Report a mismatch - [2] § Methods › Resting-state functional connectivity graph theoretical based measures ↔ fmri_network_analysis_absedges.py, lines 4 to 44 · score 0.86 · edge weight, graph metrics, eigenvector centrality, closeness centrality, clustering coefficient, participation coefficient · block
oscr:b:KWWPMGW19CZ1M-V· Report a mismatch - [3] § Methods › Resting-state functional connectivity graph theoretical based measures ↔ fmri_network_analysis_negedges.py, lines 4 to 52 · score 0.82 · graph metrics, eigenvector centrality, closeness centrality, clustering coefficient, participation coefficient, functional connections · block
oscr:b:FGXYPYWSHNFM1-K· Report a mismatch - [4] § Results › Loneliness and graph-based brain functional connectivity measures ↔ fmri_stats_palm.m, the whole file · a weak match · score 0.73 · age interaction, MoCA, marital status, clustering coefficient, GMV, linear · block
oscr:b:58H6DGZ1V14MC-G· Report a mismatch - [5] § Methods › MRI data acquisition and preprocessing ↔ behav_preproc_recode_variables.Rmd, lines 93 to 110 · score 0.59 · High motion frame, preprocessing, FD, fMRI · block
oscr:b:2G3K07D6S1MWY-O· Report a mismatch - [6] § Methods › Resting-state fMRI functional connectivity matrix construction ↔ fmri_network_analysis_posedges.py, lines 4 to 48 · score 0.53 · Cole Anticevic, functional connectivity, matrix, scan, fMRI, correlation · block
oscr:b:RHD32N004KSV4-W· Report a mismatch - [7] § Results › Age and graph-based brain functional connectivity measures ↔ fmri_network_analysis_negedges.py, lines 4 to 52 · score 0.52 · normalized strength, Clustering Coefficient, Participation Coefficient, global, nodal, shortest · block
oscr:b:FGXYPYWSHNFM1-K· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
MATLAB · 81 lines · 5 KB · no license · 2 matches
- % fmri_stats_palm.m
- %
- % Purpose:
- % Runs FSL PALM (Permutation Analysis of Linear Models) permutation tests
- % on subject-level graph-theory network metrics derived from ABSOLUTE edge
- % weights (dissertation version; main text results). Final sample N = 512.
- %
- % PALM is called once per network metric. Each call runs 5000 permutations
- % with family-wise error correction across contrasts, two-tailed testing,
- % log p-values, and demeaning. Site is modeled as an exchangeability block.
- %
- % Model parameters:
- % Main predictors (in order): loneliness, age, loneliness x age interaction,
- % sex, household income, marital status
- % Covariates: total GMV, mean FD, MoCA, site (4 dummy variables) + intercept
- %
- % Inputs (all paths relative to working directory set by run_fmri_stats_palm.slurm):
- % Nodal metric CSVs (subjects x parcels, n = 512):
- % abs_nodal_<metric>_n512.csv
- % Global metric CSVs (subjects x 1, n = 512):
- % abs_global_<metric>_n512.csv
- % Design matrix: abs_design_matrix_n512.csv
- % T-contrast file: abs_Tcontrast.csv
- % F-contrast file: abs_Fcontrast.csv
- % Exchangeability blocks: abs_site_block_n512.csv
- %
- % Outputs (written to palm_output/<metric>/):
- % PALM output files: palm_abs_<metric>_* (t-stats, FWE-p, etc.)
- %
- % Note:
- % Output directories (palm_output/<metric>/) must exist before running.
- % They are created automatically by run_fmri_stats_palm.slurm.
- %
- % Usage:
- % Run via SLURM: sbatch run_fmri_stats_palm.slurm
- % Or directly in MATLAB (from the correct working directory):
- % run('fmri_stats_palm.m')
- % ------------------------------------------------------------------------------
- % PALM flags used in all calls:
- % -vg auto : automatically infer variance groups
- % -corrcon : FWE correction across contrasts
- % -twotail : two-tailed testing
- % -n 5000 : number of permutations
- % -logp : output log10(p) instead of raw p
- % -demean : demean the input data
- % -nouncorrected: suppress uncorrected p-value output
- % -eb : exchangeability blocks (site)
- % ------------------------------------------------------------------------------
- % Betweenness centrality (nodal)
- palm -i abs_nodal_betweencent_n512.csv -d abs_design_matrix_n512.csv -t abs_Tcontrast.csv -f abs_Fcontrast.csv -eb abs_site_block_n512.csv -vg auto -corrcon -twotail -n 5000 -logp -demean -nouncorrected -o palm_output/betweencent/palm_abs_betweencent
- % Closeness centrality (nodal)
- palm -i abs_nodal_closecent_n512.csv -d abs_design_matrix_n512.csv -t abs_Tcontrast.csv -f abs_Fcontrast.csv -eb abs_site_block_n512.csv -vg auto -corrcon -twotail -n 5000 -logp -demean -nouncorrected -o palm_output/closecent/palm_abs_closecent
- % Strength (nodal)
- palm -i abs_nodal_strength_n512.csv -d abs_design_matrix_n512.csv -t abs_Tcontrast.csv -f abs_Fcontrast.csv -eb abs_site_block_n512.csv -vg auto -corrcon -twotail -n 5000 -logp -demean -nouncorrected -o palm_output/strength/palm_abs_strength
- % Normalized strength (nodal)
- palm -i abs_nodal_normstrength_n512.csv -d abs_design_matrix_n512.csv -t abs_Tcontrast.csv -f abs_Fcontrast.csv -eb abs_site_block_n512.csv -vg auto -corrcon -twotail -n 5000 -logp -demean -nouncorrected -o palm_output/normstrength/palm_abs_normstrength
- % Eigenvector centrality (nodal)
- palm -i abs_nodal_eigencent_n512.csv -d abs_design_matrix_n512.csv -t abs_Tcontrast.csv -f abs_Fcontrast.csv -eb abs_site_block_n512.csv -vg auto -corrcon -twotail -n 5000 -logp -demean -nouncorrected -o palm_output/eigencent/palm_abs_eigencent
- % PageRank centrality (nodal)
- palm -i abs_nodal_pgcent_n512.csv -d abs_design_matrix_n512.csv -t abs_Tcontrast.csv -f abs_Fcontrast.csv -eb abs_site_block_n512.csv -vg auto -corrcon -twotail -n 5000 -logp -demean -nouncorrected -o palm_output/pgcent/palm_abs_pgcent
- % Clustering coefficient (nodal)
- palm -i abs_nodal_clustercoef_n512.csv -d abs_design_matrix_n512.csv -t abs_Tcontrast.csv -f abs_Fcontrast.csv -eb abs_site_block_n512.csv -vg auto -corrcon -twotail -n 5000 -logp -demean -nouncorrected -o palm_output/clustercoef/palm_abs_clustercoef
- % Participation coefficient — CA network partition (nodal)
- palm -i abs_nodal_partcoef_n512.csv -d abs_design_matrix_n512.csv -t abs_Tcontrast.csv -f abs_Fcontrast.csv -eb abs_site_block_n512.csv -vg auto -corrcon -twotail -n 5000 -logp -demean -nouncorrected -o palm_output/partcoef/palm_abs_partcoef
- % Modularity — CA network partition (global, 1 value per subject)
- palm -i abs_global_modularity_n512.csv -d abs_design_matrix_n512.csv -t abs_Tcontrast.csv -f abs_Fcontrast.csv -eb abs_site_block_n512.csv -vg auto -corrcon -twotail -n 5000 -logp -demean -nouncorrected -o palm_output/modularity/palm_abs_modularity
- % Average shortest path length (global, 1 value per subject)
- palm -i abs_global_average_shortest_path_n512.csv -d abs_design_matrix_n512.csv -t abs_Tcontrast.csv -f abs_Fcontrast.csv -eb abs_site_block_n512.csv -vg auto -corrcon -twotail -n 5000 -logp -demean -nouncorrected -o palm_output/average_shortest_path/palm_abs_average_shortest_path
fmri_stats_palm.m, no license · at the source
Overview
- Department of Psychology, Stony Brook University, 100 Nicolls Road, West Campus, Stony Brook, NY 11794-2500, United States
- Department of Psychiatry, Stony Brook University, 101 Nicolls Road, East Campus, Stony Brook, NY 11794-8101, United States
Abstract
Loneliness, conceptualized as a multi-dimensional construct of unmet social needs, has been linked to adverse health outcomes across the lifespan, prompting significant interest in its underlying neural processes. Our study aimed to address the limitations of prior neuroimaging studies of loneliness by leveraging the Lifespan Human Connectome Project Aging dataset and applying graph theory to characterize its relationship with age and resting-state brain network organization. Socio-demographic measures confirmed prior work that higher loneliness was associated with younger age, being male, unmarried, and living alone. While loneliness showed no main effects on neural graph measures, a significant interaction between loneliness and age emerged for the local interconnectivity of the Default Model and Frontoparietal networks after adjusting for key socio-demographic factors. Conversely, older age was associated with lower functional connectivity, reduced global efficiency, and less modular brain network organization. Different graph measures showed distinct age-related associations, highlighting the heterogeneous nature of brain aging. The absence of a main effect of loneliness, while unexpected, underscores the complex, subjective nature of loneliness and suggests that its neural correlates may manifest differently across ages.
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 7 matches between paragraphs and lines of code.
OSF p6srv
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
7 files
- behav_preproc_recode_var
iables.Rmd , R, 343 lines, 1 match - behav_stats_loneliness.R
md , R, 408 lines - fmri_network_analysis_ab
sedges.py , Python, 354 lines, 1 match - fmri_network_analysis_ne
gedges.py , Python, 347 lines, 2 matches - fmri_network_analysis_po
sedges.py , Python, 340 lines, 1 match - fmri_qc_motion_fd.Rmd, R, 198 lines
- fmri_stats_palm.m, MATLAB, 81 lines, 2 matches
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;
- 7 scripts, each with its path and the digest of its content;
- 7 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 data that support the findings of this study are openly available in the Lifespan Human Connectome Project. Data collection and sharing for the Lifespan Human Connectome Project Aging was supported by the National Institute On Aging of the National Institutes of Health under Award Number U01AG052564 and by funds provided by the McDonnell Center for Systems Neuroscience at Washington University in St. Louis. The HCP-Aging 2.0 Release data used in this report came from DOI: 10.15154/
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, pages, dates, 2 authors, 5 keywords, 110 references.
Cite
This paper
Chen, Y.-W., & Canli, T. (2026). Social disconnection in the brain: loneliness and age across networks using graph theory. Oxford open neuroscience, 5, kvag006. https://
BibTeX
@article{chen2026social,
author = {Chen, Yen-Wen and Canli, Turhan},
title = {{Social disconnection in the brain: loneliness and age across networks using graph theory}},
journal = {Oxford open neuroscience},
year = {2026},
month = jul,
volume = {5},
pages = {kvag006},
publisher = {Oxford University Press},
issn = {2753-149X},
doi = {10.1093/
url = {https://
pmid = {42582864},
pmcid = {PMC13458596}
}
RIS
TY - JOUR
AU - Chen, Yen-Wen
AU - Canli, Turhan
TI - Social disconnection in the brain: loneliness and age across networks using graph theory
T2 - Oxford open neuroscience
J2 - Oxf Open Neurosci
PY - 2026
DA - 2026/
VL - 5
SP - kvag006
SN - 2753-149X
PB - Oxford University Press
DO - 10.1093/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1093/
"type": "article-journal",
"title": "Social disconnection in the brain: loneliness and age across networks using graph theory",
"container-title": "Oxford open neuroscience",
"author": [
{
"family": "Chen",
"given": "Yen-Wen"
},
{
"family": "Canli",
"given": "Turhan"
}
],
"container-title-short":
"volume": "5",
"page": "kvag006",
"DOI": "10.1093/
"PMID": "42582864",
"PMCID": "PMC13458596",
"ISSN": "2753-149X",
"publisher": "Oxford University Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
17
]
]
}
}
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.1162/netn_a_00293
- Age differences in functional brain networks associated with loneliness and empathy.Journal: Network neuroscience (Cambridge, Mass.)In common: fMRI, 17 references
- [2] doi:10.1152/jn.00339.2021
- Loneliness is linked to specific subregional alterations in hippocampus-default network covariation.Journal: Journal of neurophysiologyIn common: 14 references
- [3] doi:10.1093/scan/nsag015 [code]
- Lonelier people feel less empathic despite intact neural empathy responses after meditation training.Journal: Social cognitive and affective neuroscienceIn common: rstatix, reshape2, tidyverse, 1 other tool, fMRI, 10 references
- [4] doi:10.1093/scan/nsae052 [code]
- Loneliness and brain rhythmic activity in resting state: an exploratory report.Journal: Social cognitive and affective neuroscienceIn common: 11 references
- [5] doi:10.1093/cercor/bhac073
- Altered activation in the action observation system during synchronization in high loneliness individuals.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: 9 references
- [6] doi:10.1093/cercor/bhac387 [code]
- Age-related reorganization of functional network architecture in semantic cognition.Journal: Cerebral cortex (New York, N.Y. : 1991)In common: rstatix, reshape2, tidyverse, 2 other tools, 8 references
- [7] doi:10.1038/s42003-026-10282-0 [code]
- Genetic risk of Alzheimer's disease is associated with loss of brain network segregation in midlife.Journal: Communications biologyIn common: broom, rstatix, car, 1 other tool, 7 references
- [8] doi:10.1002/hbm.26517 [code]
- Test-retest reliability and predictive utility of a macroscale principal functional connectivity gradient.Journal: Human brain mappingIn common: tidyverse, fMRI, 11 references
- [9] doi:10.1162/imag_a_00437 [code]
- Evidence for a compensatory relationship between left- and right-lateralized brain networks.Journal: Imaging neuroscience (Cambridge, Mass.)In common: broom, rstatix, reshape2, 3 other tools, fMRI, 6 references
- [10] doi:10.1002/hbm.26650 [code]
- Modeling the neurocognitive dynamics of language across the lifespan.Journal: Human brain mappingIn common: rstatix, car, tidyverse, 7 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, 7 scripts, and 7 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:1ba5f0e34efad24a…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1093/oons/kvag006)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1093/oons/kvag006.svg
:target: https://openscicode.org/badge/doi/10.1093/oons/kvag006
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1093/oons/kvag006"><img src="https://openscicode.org/badge/doi/10.1093/oons/kvag006.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge 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: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
