Structural connectome architecture and biological vulnerability shape cortical atrophy in cocaine use disorder.
The 11 matches · 3 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
- [1] § Results › Normative model identifies cortical atrophy in CUD ↔ Codes/S1_Network_atrophy_stats.ipynb, lines 32–59 · score 0.75 · ventral attention, secondary sensory, primary sensory, dorsal attention, primary motor, somatomotor
- [2] § Results › Normative model identifies cortical atrophy in CUD ↔ Codes/S2_System_level_stats.ipynb, lines 22–49 · score 0.75 · ventral attention, secondary sensory, primary sensory, dorsal attention, primary motor, somatomotor
- [3] § Results › Normative model identifies cortical atrophy in CUD ↔ Codes/S1_Network_atrophy_stats.ipynb, lines 32–59 · score 0.74 · ventral attention, secondary sensory, primary sensory, primary motor, limbic, dorsal
- [4] § Results › Normative model identifies cortical atrophy in CUD ↔ Codes/S2_System_level_stats.ipynb, lines 22–49 · score 0.74 · ventral attention, secondary sensory, primary sensory, primary motor, limbic, dorsal
- [5] § Methods › Multivariate associations between individual epicenters and behaviors ↔ Codes/S9_Behavioral_PLS_analysis.ipynb, lines 41–79 · score 0.74 · bootstrap resampling, cross validation, latent variable, behavioural, permutation, PLS
- [6] § Methods › Gene enrichment analysis ↔ Codes/S5_AHBA_analyses.m, lines 7–25 · score 0.67 · predictor variable, response variables, gene expression, AHBA, scores, epicenter
- [7] § Methods › MRI data preprocessing ↔ Codes/S1_Wscore_calculation.m, the whole file · a weak match · score 0.61 · HCP YA, SUDMEX CONN, preprocessed, MRI, cortical
- [8] § Methods › Normative modelling for cortical atrophy and CUD deviations ↔ Codes/utilities/parcelwise_Wscore.m, the whole file · a weak match · score 0.58 · model trained, cortical thickness, residual, deviations, linear, score
- [9] § Methods › Normative modelling for cortical atrophy and CUD deviations ↔ Codes/S1_Wscore_calculation.m, the whole file · a weak match · score 0.57 · HCP YA, cortical thickness, sex, age, covariates, score
- [10] § Methods › rTMS-induced symptom-response mapping ↔ Codes/S7_TMS_response_epicenter_regression.ipynb, lines 10–31 · score 0.55 · stimulation site, response maps, active, regression, TMS, epicenter
- [11] § Results › Epicenters associate with clinical responses and psychopathology in CUD ↔ Codes/S7_TMS_response_epicenter_regression.ipynb, lines 10–31 · score 0.52 · stimulation site, response map, VAS, treatment, clinical, behavioural
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 · 186 lines · 6.7 KB · no license · 2 matches
- # %%
- import os, sys
- import scipy.io
- import numpy as np
- import matplotlib.pyplot as plt
- from neuromaps.images import load_data
- from neuromaps.images import dlabel_to_gifti
- from netneurotools import datasets as nntdata
- from nilearn.datasets import fetch_atlas_schaefer_2018
- from statsmodels.stats.multitest import multipletests
- from scipy.io import loadmat, savemat
- from neuromaps import images, nulls
- ref_path = r"D:\OneDrive\References\Farahani_ALS-main\codes" ## https://github.com/netneurolab/Farahani_ALS/tree/main/codes
- sys.path.append(ref_path)
- from functions import (parcel2fsLR,
- save_gifti,
- vasa_null_Schaefer)
- from globals import path_results, path_fig, nnodes, path_atlas, path_surface, path_wb_command
- # %%
- nspins = 1000 # number of null realizations for the spin test
- #------------------------------------------------------------------------------
- # Load group-averegd W-score data of SUDMEX_TMS
- #------------------------------------------------------------------------------
- tmp = loadmat(f'D:\\5_TMS_response\\CT_Wscore53avg_S400_7Net_vHCP2.mat')
- disease_profile = tmp['Wscore_s400_7Net'].squeeze()
- # %%
- #------------------------------------------------------------------------------
- # Load von-economo atlas information
- #------------------------------------------------------------------------------
- def load_von_economo_atlas(path_in, nnodes):
- atlas_data = np.squeeze(scipy.io.loadmat(path_in + 'economo_Schaefer400.mat')['pdata'])
- return atlas_data - 1, ['primary motor',
- 'association',
- 'association',
- 'primary/secondary sensory',
- 'primary sensory',
- 'limbic',
- 'insular']
- def load_Yeo7_atlas(path_in, nnodes):
- atlas_data = np.squeeze(scipy.io.loadmat(path_in + 'Yeo7_Schaefer400.mat')['yeodata'])
- return atlas_data - 1, ['visual',
- 'somatomotor',
- 'dorsal attention',
- 'salience/ventral attention',
- 'limbic',
- 'control',
- 'default']
- atlas_7Network_von, label_von_networks = load_von_economo_atlas(path_atlas, nnodes)
- atlas_7Network_yeo, label_yeo_networks = load_Yeo7_atlas(path_atlas, nnodes)
- num_labels = len(label_von_networks)
- # %%
- import numpy as np
- from scipy.stats import ttest_1samp
- from statsmodels.stats.multitest import multipletests
- def compute_network_ttest_vs_zero(disease_profile, atlas_labels_array, atlas_label_names):
- """
- Within each network, a two-tailed one-sample t-test was performed to
- determine whether its W-score significantly deviated from zero (indicating cortical thinning or thickening)
- inputs:
- disease_profile : array, shape (nnodes,)
- atlas_labels_array : array, shape (nnodes,)
- atlas_label_names : list of str
- outputs:
- result_dict :
- - "network": list of network names
- - "mean_value": mean W-score for each network
- - "p_value": raw p-value from the two-tailed test
- - "p_fdr": FDR-corrected p-value
- """
- num_labels = len(atlas_label_names)
- mean_values = []
- p_values = []
- for i in range(num_labels):
- # extract the W-score
- mask = atlas_labels_array == i
- scores = disease_profile[mask]
- scores = scores[~np.isnan(scores)] # remove NaN
- mean_values.append(np.mean(scores))
- # two-tailed one-sample t-test: H0: μ == 0
- t_stat, p = ttest_1samp(scores, popmean=0)
- p_values.append(p)
- # FDR correction
- p_fdr = multipletests(p_values, method='fdr_bh')[1]
- result_dict = {
- "network": atlas_label_names,
- "mean_value": mean_values,
- "p_value": p_values,
- "p_fdr": p_fdr
- }
- return result_dict
- # %%
- result = compute_network_ttest_vs_zero(
- disease_profile=disease_profile,
- atlas_labels_array=atlas_7Network_yeo,
- atlas_label_names=label_yeo_networks
- )
- for name, mean, p, pfdr in zip(result["network"], result["mean_value"], result["p_value"], result["p_fdr"]):
- print(f"{name:<20} | Mean = {mean:.4f} | p = {p:.4f} | pFDR = {pfdr:.4f}")
- # %%
- result = compute_network_ttest_vs_zero(
- disease_profile=disease_profile,
- atlas_labels_array=atlas_7Network_von,
- atlas_label_names=label_von_networks
- )
- for name, mean, p, pfdr in zip(result["network"], result["mean_value"], result["p_value"], result["p_fdr"]):
- print(f"{name:<20} | Mean = {mean:.4f} | p = {p:.4f} | pFDR = {pfdr:.4f}")
- # %%
- ##visualization the results
- def plot_boxplot(nulls,path_fig=None, name_to_save=None):
- """
- Create a box plot for the null distribution
- and visualize the actual value on top
- """
- fig, axes = plt.subplots(figsize = (7, 4))
- axes.boxplot(nulls, vert=True,flierprops=dict(markersize=6))
- axes.spines['top'].set_visible(False)
- axes.spines['right'].set_visible(False)
- axes.spines['bottom'].set_visible(False)
- plt.tight_layout()
- if name_to_save:
- plt.savefig(os.path.join(path_fig, name_to_save + '.pdf'),dpi=300)
- plt.show()
- # Get actual/real values for each network YEO
- network_specific_disease_measure_yeo = []
- for label_ind in range(num_labels):
- temp = []
- for roi_ind in range(nnodes):
- if atlas_7Network_yeo[roi_ind] == label_ind:
- temp.append(disease_profile[roi_ind])
- print(np.array(temp).shape)
- network_specific_disease_measure_yeo.append(np.array(temp))
- # %%
- ## sort the data YEO
- row_medians = [np.nanmedian(arr) for arr in network_specific_disease_measure_yeo]
- sorted_indices_Yeo = np.argsort(row_medians)[::-1]
- sorted_Yeo_data_TMS = [network_specific_disease_measure_yeo[i] for i in sorted_indices_Yeo]
- plot_boxplot(sorted_Yeo_data_TMS,path_fig='D:\\OneDrive\\5_TMS_response\\',
- name_to_save='CT_Wscore53avg_S400_7Net_vHCP2_Yeo_hor')
- # %%
- # Get actual/real values for each network VON
- network_specific_disease_measure_von = []
- for label_ind in range(num_labels):
- temp = []
- for roi_ind in range(nnodes):
- if atlas_7Network_von[roi_ind] == label_ind:
- temp.append(disease_profile[roi_ind])
- print(np.array(temp).shape)
- network_specific_disease_measure_von.append(np.array(temp))
- # %%
- ## sort the data VON
- row_medians = [np.nanmedian(arr) for arr in network_specific_disease_measure_von]
- sorted_indices_von = np.argsort(row_medians)[::-1]
- sorted_von_data_TMS = [network_specific_disease_measure_von[i] for i in sorted_indices_von]
- plot_boxplot(sorted_von_data_TMS,path_fig='D:\\OneDrive\\5_TMS_response\\',
- name_to_save='CT_Wscore53avg_S400_7Net_vHCP2_von_hor')
S1_Network_atrophy_stats.ipynb at commit 9e32f25, no license · at the source
Overview
- School of Medical Science and Engineering, Beijing Institute of Technology,Beijing, China
- Beijing Key Laboratory of Brain-inspired Neural Engineering, Beijing Institute of Technology,Beijing, China
- School of Interdisciplinary Science, Beijing Institute of Technology,Beijing, China
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.
Repository
Its files are read in the Code ↔ Paper reader above, with 11 matches between paragraphs and lines of code.
TianyiYanLab/CUD_Pathology_Modelling
9e32f25eb519a209cb0eba6db9a73820d9a9d4e3, 13 August 2025Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
15 files
- Codes/
S10_SIR_modelling.ipynb , Jupyter, 191 lines - Codes/
S1_Network_atrophy_stats , Jupyter, 186 lines, 2 matches.ipynb - Codes/
S1_Wscore_calculation.m , MATLAB, 48 lines, 2 matches - Codes/
S2_S3_Region_to_neighbou , Jupyter, 187 linesr_atrophy_association.ip ynb - Codes/
S2_System_level_stats.ip , Jupyter, 194 lines, 2 matchesynb - Codes/
S4_Epicenter_ranking_ide , Jupyter, 161 linesntification.ipynb - Codes/
S5_AHBA_analyses.m , MATLAB, 168 lines, 1 match - Codes/
S6_Cell_type_analysis.ip , Jupyter, 221 linesynb - Codes/
S7_TMS_response_epicente , Jupyter, 102 lines, 2 matchesr_regression.ipynb - Codes/
S8_Individualized_epicen , Jupyter, 128 linester_identification.ipynb - Codes/
S9_Behavioral_PLS_analys , Jupyter, 351 lines, 1 matchis.ipynb - Codes/
S9_PLS_input_preparation , MATLAB, 44 lines.m - Codes/
utilities/ , MATLAB, 70 linesCBIG_regress_X_from_y_tr ain.m - Codes/
utilities/ , MATLAB, 31 lines, 1 matchparcelwise_Wscore.m - README.md, Text, 55 lines
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;
- 14 scripts, each with its path and the digest of its content;
- 11 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
- github.com/
netneurolab/ , at github.com; found in “Data Availability”hansen_receptors - humanconnectome.org/
study/ , at Human Connectome Project; found in “Data Availability”hcp-young-adult - openneuro:ds003037, at OpenNeuro; found in “Data Availability”
- openneuro:ds003346, at OpenNeuro; found in “Data Availability”
Code and data availability statement
The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to 4 datasets: github.com/
netneurolab/ , humanconnectome.org/hansen_receptors study/ , OpenNeuro ds003037, OpenNeuro ds003346hcp-young-adult - it points to the authors' code: TianyiYanLab/
CUD_Pathology_Modelling - it says that the data are available on request
Read it in the paper: doi.org/10.1186/s12916-026-04903-y.
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 2, 28 September 2026
- Authors: added Ziteng Han (0000-0002-2691-6784); removed Ziteng Han
Version 1, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 5 keywords, 11 MeSH terms, 1 funder, 110 references.
Cite
This paper
Han, Z., Liu, T., Wang, K., Yang, G., & Yan, T. (2026). Structural connectome architecture and biological vulnerability shape cortical atrophy in cocaine use disorder. BMC medicine, 24(1), 374. https://
BibTeX
@article{han2026structur
author = {Han, Ziteng and Liu, Tiantian and Wang, Kexin and Yang, Guoyuan and Yan, Tianyi},
title = {{Structural connectome architecture and biological vulnerability shape cortical atrophy in cocaine use disorder}},
journal = {BMC medicine},
year = {2026},
month = may,
volume = {24},
number = {1},
pages = {374},
publisher = {BioMed Central},
issn = {1741-7015},
doi = {10.1186/
url = {https://
pmid = {42106690},
pmcid = {PMC13326153}
}
RIS
TY - JOUR
AU - Han, Ziteng
AU - Liu, Tiantian
AU - Wang, Kexin
AU - Yang, Guoyuan
AU - Yan, Tianyi
TI - Structural connectome architecture and biological vulnerability shape cortical atrophy in cocaine use disorder
T2 - BMC medicine
J2 - BMC Med
PY - 2026
DA - 2026/
VL - 24
IS - 1
SP - 374
SN - 1741-7015
PB - BioMed Central
DO - 10.1186/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1186/
"type": "article-journal",
"title": "Structural connectome architecture and biological vulnerability shape cortical atrophy in cocaine use disorder",
"container-title": "BMC medicine",
"author": [
{
"family": "Han",
"given": "Ziteng"
},
{
"family": "Liu",
"given": "Tiantian"
},
{
"family": "Wang",
"given": "Kexin"
},
{
"family": "Yang",
"given": "Guoyuan"
},
{
"family": "Yan",
"given": "Tianyi"
}
],
"container-title-short":
"volume": "24",
"issue": "1",
"page": "374",
"DOI": "10.1186/
"PMID": "42106690",
"PMCID": "PMC13326153",
"ISSN": "1741-7015",
"publisher": "BioMed Central",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
9
]
]
}
}
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/s41467-026-75959-w [code]
- Charting higher-order models of brain function beyond pairwise interactions.Journal: Nature communicationsIn common: neuromaps, Nilearn, statsmodels, 7 other tools, 12 references
- [2] doi:10.1038/s41380-026-03547-x [code]
- Multiscale characterization of cortical signatures in positive and negative schizotypy: a worldwide ENIGMA study.Journal: Molecular psychiatryIn common: github.com/netneurolab/hansen_receptors, structural MRI / diffusion, 12 references
- [3] doi:10.1093/brain/awaf432
- Global network and local vulnerabilities underlie brain atrophy across Parkinson's disease stages.Journal: Brain : a journal of neurologyIn common: structural MRI / diffusion, 15 references
- [4] doi:10.1038/s42003-025-09444-3 [code]
- Decoupling of neurophysiological activity from structure mirrors global microarchitectural and neuromodulatory trends.Journal: Communications biologyIn common: netneurotools, neuromaps, Nilearn, 6 other tools, 8 references
- [5] doi:10.1038/s41467-026-74153-2 [code]
- Regional, functional and transcriptomic decoding of multidimensional brain structure alterations in obsessive-compulsive disorder.Journal: Nature communicationsIn common: neuromaps, statsmodels, scikit-learn, 4 other tools, other condition, 9 references
- [6] 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: neuromaps, Nilearn, statsmodels, 7 other tools, other condition, 7 references
- [7] doi:10.1371/journal.pbio.3003856 [code]
- Aging and metabolism contribute separately to brain-body health.Journal: PLoS biologyIn common: netneurotools, neuromaps, Nilearn, 8 other tools, structural MRI / diffusion, 4 references
- [8] doi:10.1073/pnas.2531706123 [code]
- Metabolism-weighted brain connectome reveals synaptic integration and vulnerability to neurodegeneration.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: Nilearn, statsmodels, seaborn, 5 other tools, other condition, 9 references
- [9] doi:10.1038/s41586-026-10631-3 [code]
- A prognostic human brain network for diffuse midline glioma.Journal: NatureIn common: neuromaps, Nilearn, Statistics and Machine Learning Toolbox, 6 other tools, other condition, 7 references
- [10] doi:10.1186/s12916-026-04978-7 [code]
- Mapping shared and specific cortical after-effects of repetitive TMS on brain function.Journal: BMC medicineIn common: neuromaps, Nilearn, scikit-learn, 4 other tools, 9 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, 14 scripts, and 11 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:9ba4bf5e979327f9…
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.
