Brain network localization of anhedonia.
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 · 139 lines · 8.3 KB · no license
- %% µÚÒ»²½ ½«spm12¡¢dpabiºÍROI_ball_gen.mº¯Êý£¨ÓÃÀ´»Ð¡Çò£©¼ÓÈ뵽·¾¶ÖУ¬Çå³ýËùÓл·¾³±äÁ¿
- % spm12¡¢dpabiºÍROI_ball_gen.mº¯Êý×Ô¼ºÌí¼Ó
- clear,clc
- %% µÚ¶þ²½ ¶Áȡÿ¸ö¶ÀÁ¢Ñо¿µÄ»ù±¾ÐÅÏ¢¼°Ì§Í·
- %Ò»°ãĬÈÏÎÒÃÇÏÂÔØÁËËùÓÐÄÉÈëÑо¿µÄPDFÎÄÏ×£¬Ã¿ÆªÎÄÏ×½¨Òé½á¹¹Îª P + ±àºÅ + ×÷Õß + ·¢±íÄê·Ý£¬ÀýÈçµÚһƪÎÄÏ×ΪP01Li2017
- %Èç¹ûûÓÐÏÂÔØÈ«ËùÓеÄPDFÎÄÏ×£¬È±Ê§µÄÎÄÏ׿ÉÒÔ×Ô¼ºÊÖ¶¯´´½¨Ò»¸öËæÒâµÄPDFÎļþ£¬ÎÒÃÇÕâÀïÖ»ÊÇÐèÒª¶Áȡÿ¸öÎÄÏ׵Ļù±¾ÐÅÏ¢¼°Ì§Í·
- path = 'C:\Users\HP\Desktop\FCNM';%·¾¶ÐèÒªÐ޸ģ¬ÕâÀïΪÎÒÃÇÕâ¸öÏîÄ¿µÄËùÓÐÎļþ´æ·ÅµÄÖ÷Îļþ¼Ð·¾¶£¬ÀýÈç¡®¼²²¡_Network_Mapping¡¯¼²²¡ÍøÂçÓ³É䣬°´ÕÕ×Ô¼ºµçÄÔÉϵÄλÖýøÐÐÐÞ¸Ä
- mkdir([path,filesep,'Articles_Included']);%н¨Articles_IncludedÎļþ¼Ð£¬½«ÄÉÈëµÄËùÓÐÑо¿µÄPDFÎļþ·ÅÔÚÀïÃæ
- Articles_path = [path,filesep,'Articles_Included'];
- File = dir(fullfile(Articles_path,'*.pdf'));%¶ÁÈ¡Articles_IncludedËùÓеÄPDFÎļþ£¬¼´ËùÓÐÑо¿£¬ºóÐø£¨end-4£©¼´ÎªµÃµ½³ý'.pdf'µÄÎļþÃû
- Filename ={File.name};
- [~,col]=size(Filename);
- %% µÚÈý²½ ǰһ²½¶ÁÈ¡ÐÅÏ¢ºó½¨Á¢ËùÓÐÎÄÕÂ×ø±êËùÐèÒªµÄexcel±í¸ñ£¬Ö®ºóÊÖ¶¯½«ËùÓÐÎÄÕ¶ÔӦ׸±êÌîÈë¶ÔÓ¦±í¸ñ
- mkdir([path,filesep,'Articles_Included_Excel']);%½¨Á¢Articles_Included_ExcelµÄÐÂÎļþ¼Ð
- cd([path,filesep,'Articles_Included_Excel']);%½øÈë¸ÃÎļþ¼Ð
- for i = 1:col%ÕâÀïÊǰÑÿ¸öÑо¿½¨Á¢ÁËÒ»¸öexcel±í¸ñ£¬ÐèÒªÖ®ºóÊÖ¶¯½«×ø±êÌîÈëµ½excelºó²¢ÇÒ±£´æ£¬ÔÚexcelÎĵµµÄDÁÐÈç¹ûÓÖ¶à¸öROI½á¹û¿ÉÒÔ½«±í¸ñÏÂÀ´×Ô¶¯Ìî³ä
- filename=char(Filename(i));
- xlswrite([filename(1:end-4),'.xlsx'],cellstr([filename(1:end-4),'_ROI01']),'sheet1','D1')
- end
- %% µÚËIJ½ ¸ù¾ÝÿƪÑо¿µÄROIÉú³ÉСÇò£¬²¢ÇÒ½«Í¬Ò»¸öÑо¿ÖеÄСÇòºÏ²¢
- [row,col]=size(Filename);
- for i = 1:col
- filename=char(Filename(i));
- radius_Seeds_Excel = [path,'\4mm_Seeds_Excel\'];%ÕâÀï×¢ÒâÒ»ÏÂÀûÓò»Í¬°ë¾¶Éú³ÉСÇò¼ÇµÃÐ޸İ뾶´óС£¬ÕâÀïÊÇ4mm
- mkdir([ radius_Seeds_Excel, filename(1:end-4)])%´´½¨Ã¿Ò»ÆªÎÄÕÂËùÐèÒªµÄÎļþ¼Ð
- cd ([radius_Seeds_Excel, filename(1:end-4)]);
- mkdir ROI_Seeds
- mkdir(['onesample_',filename(1:end-4)])
- mkdir(['zFC_',filename(1:end-4)])
- %»Ã¿¸ö¶ÀÁ¢µÄROIСÇò
- [coord, ROIs]=xlsread([path,filesep,'Articles_Included_Excel',filesep,filename(1:end-4),'.xlsx']);%¶ÁÈ¡excelÎļþÀïÃæµÄ×ø±ê
- Reference_image_path = 'C:\Users\HP\Desktop\FCNM\Code';%ÕâÀï·¾¶ÐèÒªÐ޸쬻ROIСÇòµÄʱºòÐèÒªÕÒÒ»¸ö²Î¿¼Îļþ£¬Õâ¸ö²Î¿¼ÎļþµÄ·Ö±æÂÊÒªºÍ·ÖÎöµÄËùÓб»ÊÔͼÏñµÄ·Ö±æÂÊÒªÒ»ÖÂ
- ROI_ball_gen(coord,ROIs,[Reference_image_path,filesep,'BrainMask_mm.nii'],4); %BrainMask_mm.niiΪ¶¨ÒåROI·Ö±æÂÊËùÐèͼÏñ£»4Ϊ¶¨ÒåСÇò°ë¾¶4mm£»
- %½«Ã¿Ò»ÆªÑо¿µÄ¶ÀÁ¢µÄROIСÇòºÏ²¢³É´óµÄÒ»¸ömask
- Combine_file={};
- for j = 1:length(ROIs)
- combine_file = [radius_Seeds_Excel,filename(1:end-4),'\',filename(1:end-4),'_ROI',num2str(j,'%02d'),'.nii,1'];
- Combine_file=[Combine_file;{combine_file}];
- end
- Combine_ROI=[];
- for k = 1:length(ROIs)
- combine_ROI=['i',int2str(k)];
- Combine_ROI=[Combine_ROI,'+',combine_ROI];
- Combine_ROIs=Combine_ROI(2:end);
- end
- jobs{1}.spm.util.imcalc.input = Combine_file;
- jobs{1}.spm.util.imcalc.output = [filename(1:end-4),'_Seeds'];
- jobs{1}.spm.util.imcalc.outdir = {[radius_Seeds_Excel,filename(1:end-4),'\ROI_Seeds']};
- jobs{1}.spm.util.imcalc.expression = Combine_ROIs;
- jobs{1}.spm.util.imcalc.var = struct('name', {}, 'value', {});
- jobs{1}.spm.util.imcalc.options.dmtx = 0;
- jobs{1}.spm.util.imcalc.options.mask = 0;
- jobs{1}.spm.util.imcalc.options.interp = 1;
- jobs{1}.spm.util.imcalc.options.dtype = 4;
- spm('defaults', 'FMRI')
- spm_jobman('run', jobs)
- clear jobs
- %ʹÓÃspmºÏ³ÉMask²¢ÃüÃû
- end
- %% µÚÎå²½ ¿ªÊ¼ÓÃdpabi¼ÆË㹦ÄÜÁ¬½Ó
- working_directory = 'E:\';%Ê×Ïȶ¨ÒåºÃËùÓб»ÊÔÔÚµÄ×ÜÎļþ¼ÐµÄλÖÃ
- %ÕâÀïÐèҪעÒ⣬ÎÒÃÇÐèÒª×Ô¼º´ò¿ªdpabiÈí¼þÊÖ¶¯ÉèÖÃÒ»¸ö²ÎÊýÎļþ£¬µÚÒ»²½Òªµ÷ÓÃÕâ¸ö²ÎÊý£¬ºóÃæµÄ¾Í²»ÓùÜÁË
- load('C:\Users\HP\Desktop\FCNM\dpabi.mat');%ÕÒµ½Õâ¸ömatÎļþ²¢ÇÒ¼ÓÔØ½øÈ¥
- for i = 1:col
- filename=char(Filename(i));
- Cfg.CalFC.ROIDef{1,1}=[radius_Seeds_Excel,filename(1:end-4),'\ROI_Seeds\',filename(1:end-4),'_Seeds.nii'];
- AutoDataProcessParameter = Cfg;
- WorkingDir = [];
- SubjectListFile = [];
- IsAllowGUI= [];
- [Error, AutoDataProcessParameter]=DPARSFA_run(AutoDataProcessParameter,WorkingDir,SubjectListFile,IsAllowGUI);%µ½ÕâÒ»²½Ó¦¸ÃÊÇ¿ªÊ¼¼ÆË㹦ÄÜÁ¬½ÓÁË
- file = dir([working_directory,filesep,'Results\','FC_',Cfg.StartingDirName,filesep,'zFC*']);
- for j = 1:length(file)
- movefile([working_directory,filesep,'Results\','FC_',Cfg.StartingDirName,filesep,file(j).name],...
- [radius_Seeds_Excel,filename(1:end-4),'\zFC_',filename(1:end-4)]);
- end
- rmdir([working_directory,filesep,'Masks'],'s');
- rmdir([working_directory,filesep,'Results'],'s');%°ÑÅܳöÀ´µÄ½á¹û¸´Öƹýºó¾Í¿ÉÒÔɾµôÁË
- movefile([radius_Seeds_Excel,filename(1:end-4),'\P*'],[radius_Seeds_Excel,filename(1:end-4),'\ROI_Seeds'])%ÕûÀíÒ»ÏÂÎļþ
- %ÕâÀ↑ʼ¼ÆËãµ¥Ñù±¾T¼ìÑéÁË
- %Till_spmT_0001
- filename=char(Filename(i));
- zFC_namelist = dir([radius_Seeds_Excel,filename(1:end-4),'\zFC_',filename(1:end-4),'\zFC*']);
- len = length(zFC_namelist);
- for j = 1:len
- file_name{j} = [radius_Seeds_Excel,filename(1:end-4),'\zFC_',filename(1:end-4),'\',zFC_namelist(j).name];
- end
- File_name = file_name(1:end)';
- %-----------------------------------------------------------------------
- %Factorial design specification
- jobs{1}.spm.stats.factorial_design.dir = {[radius_Seeds_Excel,filename(1:end-4),'\onesample_',filename(1:end-4)]};
- jobs{1}.spm.stats.factorial_design.des.t1.scans = File_name;
- jobs{1}.spm.stats.factorial_design.cov = struct('c', {}, 'cname', {}, 'iCFI', {}, 'iCC', {});
- jobs{1}.spm.stats.factorial_design.multi_cov = struct('files', {}, 'iCFI', {}, 'iCC', {});
- jobs{1}.spm.stats.factorial_design.masking.tm.tm_none = 1;
- jobs{1}.spm.stats.factorial_design.masking.im = 1;
- jobs{1}.spm.stats.factorial_design.masking.em = {'C:\Users\HP\Desktop\FCNM\Code\BrainMask_mm.nii,1'};%ÕâÀï×¢Ò⣬Ҫ¸Ä³É²Î¿¼µÄmaskÔڵķ¾¶£¬×Ô¼ºÐ´Ò»ÏÂ
- jobs{1}.spm.stats.factorial_design.globalc.g_omit = 1;
- jobs{1}.spm.stats.factorial_design.globalm.gmsca.gmsca_no = 1;
- jobs{1}.spm.stats.factorial_design.globalm.glonorm = 1;
- spm('defaults', 'FMRI');
- spm_jobman('run', jobs);
- clear jobs
- jobs{1}.spm.stats.fmri_est.spmmat = {[radius_Seeds_Excel,filename(1:end-4),'\onesample_',filename(1:end-4),'\SPM.mat']};
- jobs{1}.spm.stats.fmri_est.write_residuals = 0;
- jobs{1}.spm.stats.fmri_est.method.Classical = 1;
- spm('defaults', 'FMRI');
- spm_jobman('run', jobs);
- clear jobs
- %Model estimation
- jobs{1}.spm.stats.con.spmmat = {[radius_Seeds_Excel,filename(1:end-4),'\onesample_',filename(1:end-4),'\SPM.mat']};
- jobs{1}.spm.stats.con.consess{1}.tcon.name = 'onesample';
- jobs{1}.spm.stats.con.consess{1}.tcon.weights = 1;
- jobs{1}.spm.stats.con.consess{1}.tcon.sessrep = 'none';
- jobs{1}.spm.stats.con.delete = 0;
- spm('defaults', 'FMRI');
- spm_jobman('run', jobs);
- clear jobs
- end
Coordinate_network_mapping_main_codes.m, no license · at the source
Overview
- Department of Radiology, The First Affiliated Hospital of Anhui Medical University, Hefei, 230022 China
- Research Center of Clinical Medical Imaging, Anhui Province, Hefei, 230032 China
- Anhui Provincial Key Laboratory for Brain Bank Construction and Resource Utilization, Hefei, 230032 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.
OSF 6h7vj
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
- 30 September 2026: the link answers (HTTP 200)
2 files
- Code/
Code.zip/ , MATLAB, 139 linesCoordinate_network_mappi ng_main_codes.m - Code/
Code.zip/ , MATLAB, 56 linesROI_ball_gen.m
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;
- 2 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.
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 the authors' code: OSF 6h7vj
Read it in the paper: doi.org/10.1038/s41398-026-04005-6.
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, 30 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 7 authors, 2 keywords, 11 MeSH terms, 2 funders, 99 references.
Cite
This paper
Liu, C., Song, Y., Zhao, X., Wang, Z., Yan, L., Yu, Y., & Zhu, J. (2026). Brain network localization of anhedonia. Translational psychiatry, 16(1), 214. https://
BibTeX
@article{liu2026brain,
author = {Liu, Chenglong and Song, Yu and Zhao, Xufeng and Wang, Zhili and Yan, Liping and Yu, Yongqiang and Zhu, Jiajia},
title = {{Brain network localization of anhedonia}},
journal = {Translational psychiatry},
year = {2026},
month = mar,
volume = {16},
number = {1},
pages = {214},
publisher = {Nature Publishing Group},
issn = {2158-3188},
doi = {10.1038/
url = {https://
pmid = {41912491},
pmcid = {PMC13039395}
}
RIS
TY - JOUR
AU - Liu, Chenglong
AU - Song, Yu
AU - Zhao, Xufeng
AU - Wang, Zhili
AU - Yan, Liping
AU - Yu, Yongqiang
AU - Zhu, Jiajia
TI - Brain network localization of anhedonia
T2 - Translational psychiatry
J2 - Transl Psychiatry
PY - 2026
DA - 2026/
VL - 16
IS - 1
SP - 214
SN - 2158-3188
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Brain network localization of anhedonia",
"container-title": "Translational psychiatry",
"author": [
{
"family": "Liu",
"given": "Chenglong"
},
{
"family": "Song",
"given": "Yu"
},
{
"family": "Zhao",
"given": "Xufeng"
},
{
"family": "Wang",
"given": "Zhili"
},
{
"family": "Yan",
"given": "Liping"
},
{
"family": "Yu",
"given": "Yongqiang"
},
{
"family": "Zhu",
"given": "Jiajia"
}
],
"container-title-short":
"volume": "16",
"issue": "1",
"page": "214",
"DOI": "10.1038/
"PMID": "41912491",
"PMCID": "PMC13039395",
"ISSN": "2158-3188",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
30
]
]
}
}
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.1192/j.eurpsy.2026.10164 [code]
- Network localization of brain functional effects of ketamine treatment for major depression.Journal: European psychiatry : the journal of the Association of European PsychiatristsIn common: DPABI, SPM, depression, 18 references, author Jiajia Zhu
- [2] doi:10.1017/s0033291725101992 [code]
- Network localization of genetic risk for schizophrenia and bipolar disorder.Journal: Psychological medicineIn common: DPABI, SPM, Statistics and Machine Learning Toolbox, 20 references
- [3] doi:10.1017/s0033291726103924 [code]
- Brain network representations of placebo analgesia.Journal: Psychological medicineIn common: SPM, 21 references, author Jiajia Zhu
- [4] doi:10.3389/fneur.2026.1796739 [code]
- Network localization of regional intrinsic neural activity alterations in migraine and their neurochemical correlates.Journal: Frontiers in neurologyIn common: SPM, Statistics and Machine Learning Toolbox, 18 references
- [5] doi:10.3389/fnmol.2026.1909269 [code]
- Convergent functional networks of intrinsic activity alterations in temporal lobe epilepsy and their molecular correlates.Journal: Frontiers in molecular neuroscienceIn common: SPM, Statistics and Machine Learning Toolbox, 18 references
- [6] doi:10.1038/s41593-025-02196-7 [code]
- Investigating the methodological foundation of lesion network mapping.Journal: Nature neuroscienceIn common: Statistics and Machine Learning Toolbox, 15 references
- [7] doi:10.1038/s42003-023-05029-0 [code]
- Functional connectivity gradients of the cingulate cortex.Journal: Communications biologyIn common: DPABI, SPM, Statistics and Machine Learning Toolbox, 6 references, 2 authors
- [8] doi:10.3389/fnsys.2025.1713434 [code]
- Network-based mapping and neurotransmitter architecture of gray matter correlates of neuroticism.Journal: Frontiers in systems neuroscienceIn common: SPM, Statistics and Machine Learning Toolbox, 13 references
- [9] doi:10.1093/brain/awae059
- Localization of stuttering based on causal brain lesions.Journal: Brain : a journal of neurologyIn common: 13 references
- [10] doi:10.1002/alz.70073 [code]
- Heterogeneous brain abnormalities in subjective cognitive decline converge on a common network and their transcriptional signature.Journal: Alzheimer's & dementia : the journal of the Alzheimer's AssociationIn common: DPABI, SPM, Statistics and Machine Learning Toolbox, 10 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, 2 scripts, and 0 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:780fae84008bb943…
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.1038/s41398-026-04005-6)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41398-026-04005-6.svg
:target: https://openscicode.org/badge/doi/10.1038/s41398-026-04005-6
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41398-026-04005-6"><img src="https://openscicode.org/badge/doi/10.1038/s41398-026-04005-6.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.
