OSCR

Cerebellar gray matter volume difference in first-episode bipolar and unipolar depression.

Code ↔ Paper

2 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 2 matches · all tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
  1. [1] § Methods and materials › Cerebellar processing ↔ src/cersuit_main.m, the whole file · a weak match · score 0.69 · native space, SUIT atlas, isolation, pre, reslicing, isolated
  2. [2] § Methods and materials › Cerebellar processing ↔ src/transform_SUIT_to_native.m, the whole file · a weak match · score 0.57 · original native space, SUIT atlas, transformation, reslicing

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 · 120 lines · 3.8 KB · no license · 1 match

  1. function cersuit_main(inp)
  2. % Work in the output directory
  3. cd(inp.out_dir);
  4. % We need SPM running
  5. spm_jobman('initcfg');
  6. % Initial coreg of T1 to atlas via gray matter segmentation
  7. disp('Init coreg')
  8. coreg_txt = init_coreg_translation_only('gm.nii',inp.out_dir);
  9. apply_init_coreg(coreg_txt,'t1.nii',inp.out_dir);
  10. % Segment the cerebellum
  11. disp('Segment cerebellum')
  12. suit_isolate_seg({'rt1.nii'},'maskp',str2double(inp.maskp),'keeptempfiles',1);
  13. % Apply ACAPULCO mask if present (following
  14. % https://pubmed.ncbi.nlm.nih.gov/35188124/)
  15. isomask = 'c_rt1_pcereb.nii';
  16. if ~isempty(inp.use_acapulco)
  17. disp('Using ACAPULCO mask')
  18. apply_init_coreg(coreg_txt,'acapulco.nii',inp.out_dir);
  19. clear matlabbatch
  20. matlabbatch{1}.spm.util.imcalc.input = {
  21. 'racapulco.nii'
  22. 'c_rt1_seg1.nii'
  23. 'c_rt1_seg2.nii'
  24. };
  25. matlabbatch{1}.spm.util.imcalc.output = isomask;
  26. matlabbatch{1}.spm.util.imcalc.outdir = {inp.out_dir};
  27. matlabbatch{1}.spm.util.imcalc.expression = '(((i1>0).*i2)+i3)>0.1';
  28. matlabbatch{1}.spm.util.imcalc.var = struct('name', {}, 'value', {});
  29. matlabbatch{1}.spm.util.imcalc.options.dmtx = 0;
  30. matlabbatch{1}.spm.util.imcalc.options.mask = 0;
  31. matlabbatch{1}.spm.util.imcalc.options.interp = 1;
  32. matlabbatch{1}.spm.util.imcalc.options.dtype = 4;
  33. spm_jobman('run',matlabbatch);
  34. end
  35. % Estimate the atlas space warp
  36. disp('Estimate warp')
  37. job = struct();
  38. job.subjND(1).gray = {'c_rt1_seg1.nii'};
  39. job.subjND(1).white = {'c_rt1_seg2.nii'};
  40. job.subjND(1).isolation = {'c_rt1_pcereb.nii'};
  41. suit_normalize_dartel(job);
  42. % Create several images in SUIT atlas space, unmodulated, interpolated
  43. disp('Resample images')
  44. for m = {'c_rt1.nii','c_rt1_seg1.nii','c_rt1_seg2.nii'}
  45. job = struct();
  46. job.subj.affineTr = {'Affine_c_rt1_seg1.mat'};
  47. job.subj.flowfield = {'u_a_c_rt1_seg1.nii'};
  48. job.subj.mask = {'c_rt1_pcereb.nii'};
  49. job.subj.resample = m(1);
  50. job.interp = 1;
  51. job.jactransf = 0;
  52. suit_reslice_dartel(job);
  53. movefile(['wd' m{1}],['w' m{1}]);
  54. end
  55. % Create cer mask atlas space, unmodulated, not interpolated
  56. disp('Resample mask')
  57. job = struct();
  58. job.subj.affineTr = {'Affine_c_rt1_seg1.mat'};
  59. job.subj.flowfield = {'u_a_c_rt1_seg1.nii'};
  60. job.subj.mask = {'c_rt1_pcereb.nii'};
  61. job.subj.resample = {'c_rt1_pcereb.nii'};
  62. job.interp = 0;
  63. job.jactransf = 0;
  64. suit_reslice_dartel(job);
  65. movefile('wdc_rt1_pcereb.nii','wc_rt1_pcereb.nii');
  66. % Create modulated grey and white matter images in atlas space
  67. disp('Resample/modulate')
  68. for m = {'c_rt1_seg1.nii','c_rt1_seg2.nii'}
  69. job = struct();
  70. job.subj.affineTr = {'Affine_c_rt1_seg1.mat'};
  71. job.subj.flowfield = {'u_a_c_rt1_seg1.nii'};
  72. job.subj.resample = m(1);
  73. job.subj.mask = {'c_rt1_pcereb.nii'};
  74. job.interp = 1;
  75. job.jactransf = 1;
  76. suit_reslice_dartel(job);
  77. end
  78. % Resample the atlas to subject space
  79. disp('Resample atlases')
  80. job = struct();
  81. job.Affine = {'Affine_c_rt1_seg1.mat'};
  82. job.flowfield = {'u_a_c_rt1_seg1.nii'};
  83. job.subj.mask = {'c_rt1_pcereb.nii'};
  84. job.ref = {'c_rt1.nii'};
  85. job.interp = 0;
  86. for m = {'atl-Anatom','atl-Buckner7','atl-Buckner17','atl-Ji10','atl-MDTB10'}
  87. disp([' ' m{1}])
  88. job.resample = {which([m{1} '_sp-SUIT.nii'])};
  89. suit_reslice_dartel_inv(job);
  90. apply_reverse_coreg(coreg_txt,['iw_' m{1} '_sp-SUIT_u_a_c_rt1_seg1.nii']);
  91. end
  92. % Copy atlas space atlases
  93. disp('Copy atlases')
  94. for m = {'atl-Anatom','atl-Buckner7','atl-Buckner17','atl-Ji10','atl-MDTB10'}
  95. copyfile(which([m{1} '_sp-SUIT.nii']),inp.out_dir);
  96. copyfile(which([m{1} '.lut']),inp.out_dir);
  97. end
  98. % Get the native space output images back to pre-coreg native space
  99. % (original T1 space). Header is updated in place.
  100. disp('Resample to native')
  101. for m = {'c_rt1','c_rt1_pcereb','c_rt1_seg1','c_rt1_seg2'}
  102. apply_reverse_coreg(coreg_txt,[m{1} '.nii']);
  103. end
  104. % Regional voxel counts and volumes in subject space. suit_vol does not
  105. % compute the voxel volume correctly, so we use our own code.
  106. disp('Regional volumes')
  107. regional_volumes(inp.out_dir)

cersuit_main.m at commit ebcc8bb, no license · at the source

Overview

Authors: Yong Han1,2,3,4, Longyu Sheng1,3, Sanwang Wang5,6, Xin Wen7, Wenjing Lu1,3, Peng Li5,6, Zhilu Zhou1,3, Zhanrui Guo8, Yujun Gao1,9
ORCID iDs: Zhilu Zhou
  1. Department of Psychiatry, Henan Mental Hospital, The Second Affiliated Hospital of Henan Medical University,No. 207 Qianjin Road, Xinxiang, 453002 China
  2. Henan Key Lab of Biological Psychiatry, International Joint Research Laboratory for Psychiatry and Neuroscience of Henan, Henan Medical University,Xinxiang, 453002 China
  3. Henan Collaborative Innovation Center of Prevention and Treatment of Mental Disorder, Xinxiang, 453002 China
  4. Brain Institute, Henan Academy of Innovations in Medical Science, Zhengzhou, 451163 China
  5. NHC Key Laboratory of Mental Health, Peking University Sixth Hospital, Peking University Institute of Mental Health, Peking University,Beijing, 100191 China
  6. National Clinical Research Center for Mental Disorders, Peking University Sixth Hospital,Beijing, 100191 China
  7. Peking-Tsinghua Center for Life Sciences and PKU-IDG/McGovern Institute for Brain Research, Peking University,Beijing, 100191 China
  8. Department of Psychiatry, Division Anxin Hospital, The Xinjiang Production and Construction Corps 13th,Hami, 839101 China
  9. Department of Psychiatry, Tianyou Hospital, Wuhan University of Science and Technology, Wuhan University of Science and Technology,Wuhan, 430063 China
Journal: BMC psychiatry, volume 26, issue 1, article 449
Dates: received 22 December 2024; accepted 8 April 2026; published online 22 April 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1186/s12888-026-08071-4 · PMID 42021264 · PMCID PMC13245009 · OpenAlex W7155208924
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: structural MRI / diffusion (modality), human (organism), depression (population), bipolar (population), clinical / translational (subfield)
Methods: Statistics, Machine learning, Connectivity, fMRI & imaging, Preprocessing
Keywords: Cerebellum, Bipolar disorder, Unipolar depression, Gray matter, Structural MRI
MeSH: Bipolar Disorder*, Cerebellum*, Depressive Disorder*, Gray Matter*, Adult, Case-Control Studies, Diagnosis, Differential, Female, Humans, Machine Learning, Magnetic Resonance Imaging, Male, Middle Aged, Organ Size, Young Adult (* major topic)
Topic: Bipolar Disorder and Treatment (Psychiatry and Mental health, Medicine), according to OpenAlex
Funding: Open Project of Psychiatry and Neuroscience Discipline of Second Affiliated Hospital of Xinxiang Medical University (XYEFYJSSJ-2024-02); Henan Province science and technology research and development plan joint fund (industry) major project (235101610004); Henan Academy of Medical Sciences Fundamental Research Fund Project (JBKY250316); National College Student Innovation and Entrepreneurship Training Program (202310472050); Key Research and Development Projects of Henan Province (241111312800); Xinjiang 13th Division Xinxing City Science and Technology Plan Project (2024B14); Grassroots Health Science and Technology Innovation Project of the Health Commission of Hubei Province
Citations: not cited yet (Europe PMC); 68 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.

Repository

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

baxpr/cersuit

License: none: the authors keep all their rights
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: ebcc8bbf429823c7ecca32484616f769c0f75122, 1 May 2023
Languages: MATLAB (11), Shell (7)
Size: 35 files, 18 scripts
Software Heritage: archived
Found in: the text, “Cerebellar processing”
Holds: README, environment (Dockerfile, Singularity)
Not found: license file, CITATION.cff, tests, continuous integration, documentation
Tools: SPM (9 files), FSL (3 files)
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
19 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:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 18 scripts, each with its path and the digest of its content;
  • 2 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 statement

The paper has a 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 says that the data are available on request

Read it in the paper: doi.org/10.1186/s12888-026-08071-4.

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, 5 keywords, 15 MeSH terms, 7 funders, 62 references.

Cite

This paper

Han, Y., Sheng, L., Wang, S., Wen, X., Lu, W., Li, P., Zhou, Z., Guo, Z., & Gao, Y. (2026). Cerebellar gray matter volume difference in first-episode bipolar and unipolar depression. BMC psychiatry, 26(1), 449. https://doi.org/10.1186/s12888-026-08071-4

BibTeX

@article{han2026cerebellar,
author = {Han, Yong and Sheng, Longyu and Wang, Sanwang and Wen, Xin and Lu, Wenjing and Li, Peng and Zhou, Zhilu and Guo, Zhanrui and Gao, Yujun},
title = {{Cerebellar gray matter volume difference in first-episode bipolar and unipolar depression}},
journal = {BMC psychiatry},
year = {2026},
month = apr,
volume = {26},
number = {1},
pages = {449},
publisher = {BMC},
issn = {1471-244X},
doi = {10.1186/s12888-026-08071-4},
url = {https://doi.org/10.1186/s12888-026-08071-4},
pmid = {42021264},
pmcid = {PMC13245009}
}

RIS

TY - JOUR
AU - Han, Yong
AU - Sheng, Longyu
AU - Wang, Sanwang
AU - Wen, Xin
AU - Lu, Wenjing
AU - Li, Peng
AU - Zhou, Zhilu
AU - Guo, Zhanrui
AU - Gao, Yujun
TI - Cerebellar gray matter volume difference in first-episode bipolar and unipolar depression
T2 - BMC psychiatry
J2 - BMC Psychiatry
PY - 2026
DA - 2026/04/22
VL - 26
IS - 1
SP - 449
SN - 1471-244X
PB - BMC
DO - 10.1186/s12888-026-08071-4
UR - https://doi.org/10.1186/s12888-026-08071-4
LA - en
ER -

CSL-JSON

{
"id": "10.1186/s12888-026-08071-4",
"type": "article-journal",
"title": "Cerebellar gray matter volume difference in first-episode bipolar and unipolar depression",
"container-title": "BMC psychiatry",
"author": [
{
"family": "Han",
"given": "Yong"
},
{
"family": "Sheng",
"given": "Longyu"
},
{
"family": "Wang",
"given": "Sanwang"
},
{
"family": "Wen",
"given": "Xin"
},
{
"family": "Lu",
"given": "Wenjing"
},
{
"family": "Li",
"given": "Peng"
},
{
"family": "Zhou",
"given": "Zhilu"
},
{
"family": "Guo",
"given": "Zhanrui"
},
{
"family": "Gao",
"given": "Yujun"
}
],
"container-title-short": "BMC Psychiatry",
"volume": "26",
"issue": "1",
"page": "449",
"DOI": "10.1186/s12888-026-08071-4",
"PMID": "42021264",
"PMCID": "PMC13245009",
"ISSN": "1471-244X",
"publisher": "BMC",
"URL": "https://doi.org/10.1186/s12888-026-08071-4",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
22
]
]
}
}

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/imag.a.1323 [code]
SUITPy: A Python-based toolbox for the analysis of cerebellar functional and anatomical imaging data across the human lifespan.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: 8 references
[2] doi:10.1038/s41467-026-72940-5 [code]
Cerebellar growth is associated with domain-specific cerebral maturation and socio-linguistic behavior.
Journal: Nature communications
In common: FSL, 6 references
[3] doi:10.1016/j.neuroimage.2026.121930
Quantifying cerebellar signal detectability in MEG and EEG in epilepsy using anatomically informed source modeling.
Journal: NeuroImage
In common: structural MRI / diffusion, 5 references
[4] doi:10.1002/hbm.70497 [code]
A Digital Anatomical Atlas of the Human Cerebellum at Subfolial Resolution.
Journal: Human brain mapping
In common: structural MRI / diffusion, 5 references
[5] doi:10.1371/journal.pdig.0001665
Inflammation is associated with altered functional connectivity of the cingulate cortex in individuals with subthreshold depression.
Journal: PLOS digital health
In common: depression, 3 references
[6] doi:10.1093/psyrad/kkag015 [code]
Neurocomputational mechanisms of reward-based online mood regulation in adolescents with bipolar disorder and major depressive disorder.
Journal: Psychoradiology
In common: FSL, SPM, bipolar, depression
[7] doi:10.1038/s41593-026-02289-x [code]
Cerebellar aging is spatially heterogeneous and supports cognitive resilience in later life.
Journal: Nature neuroscience
In common: structural MRI / diffusion, 3 references
[8] doi:10.1038/s41467-026-71151-2 [code]
Common and distinct neural correlates of social interaction processing and theory of mind in narratives.
Journal: Nature communications
In common: FSL, SPM, 1 reference
[9] doi:10.1017/s0033291726104565 [code]
Integrative multi-omics identifies <i>DOC2A</i> as a novel pharmacological target for bipolar disorder.
Journal: Psychological medicine
In common: bipolar, 2 references
[10] doi:10.3389/fnagi.2026.1742371 [code]
Cross-sectional and longitudinal functional network alterations associated with subthreshold depressive symptoms in healthy older adults.
Journal: Frontiers in aging neuroscience
In common: FSL, SPM, depression, clinical / translational

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.