OSCR

Longitudinal development of the anterior insula-nucleus accumbens white matter pathway through adolescence predicts risk taking in young adulthood.

Code ↔ Paper

7 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 7 matches · 5 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
  1. [1] § Methods › Diffusion-weighted imaging (DWI; Timepoints 1–4) › DWI preprocessing and tractography ↔ s_mrtrix_track_ains_nacc.m, the whole file · a weak match · score 0.82 · MRtrix, FA cutoff, white matter mask, Lmax, tracking, curvature
  2. [2] § Methods › Diffusion-weighted imaging (DWI; Timepoints 1–4) › DWI preprocessing and tractography ↔ s_dtiInit.m, the whole file · a weak match · score 0.73 · AC PC space, isotropic voxels, raw, transformation, preprocessing, DWI
  3. [3] § Methods › Diffusion-weighted imaging (DWI; Timepoints 1–4) › DWI preprocessing and tractography ↔ gen_mrtrix_track_roi2roi.m, the whole file · a weak match · score 0.71 · spherical deconvolution, MRtrix, probabilistic, tracking, cutoff, curvature
  4. [4] § Methods › Diffusion-weighted imaging (DWI; Timepoints 1–4) › DWI preprocessing and tractography ↔ s_mrtrix_track_ains_nacc.m, the whole file · a weak match · score 0.67 · anterior insula, white matter mask, subcortical, tracking, NAcc, brain
  5. [5] § Methods › Diffusion-weighted imaging (DWI; Timepoints 1–4) › DWI acquisition ↔ s_dtiInit.m, the whole file · a weak match · score 0.66 · phase encoding, isotropic voxels, flip, DWI
  6. [6] § Methods › Diffusion-weighted imaging (DWI; Timepoints 1–4) › Structural coherence of the AIns-NAcc tract ↔ s_mrtrix_tractprofiles_ainsnacc.m, lines 175–246 · score 0.61 · tract profile, diffusion properties, sub, MD, AD, FA
  7. [7] § Methods › Diffusion-weighted imaging (DWI; Timepoints 1–4) › DWI preprocessing and tractography ↔ s_mrtrix_tractprofiles_ainsnacc.m, lines 86–129 · score 0.50 · AC PC, mrDiffusion

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 · 139 lines · 6.5 KB · no license · 2 matches

  1. function fibersPDB = s_mrtrix_track_ains_nacc
  2. %
  3. % This functions shows how to track between two ROIS using mrtrix.
  4. %
  5. % How the code works:
  6. % 1. We load two ROIs in the brain, for example anterior insula and NAcc
  7. % 2. We create union ROI by combining the two ROIs. The union ROI is seeded
  8. %` for the fibers. mrtrix will initiate and terminate fibers only
  9. % within the union ROI.
  10. % 3. We created a white matter mask. This mask is generally a large portion
  11. % of the white matter. A portion that contains both union ROIs. For example
  12. % the whole right hemisphere.
  13. % 4. We use mrtrix to track between the rightanterior insula and right NAcc.
  14. % mrtrix will initiate fibers by seeding within the union ROI and it will
  15. % only keep fibers that have paths within the white matter mask.
  16. %
  17. % The final result of this script is to generate lot's of candidate fibers
  18. % that specifically start and end in our ROIs.
  19. %
  20. % INPUTS: none
  21. % OUTPUTS: the final name of the ROI created at each iteration
  22. %
  23. % Written by Franco Pestilli (c) Stanford University Vistasoft
  24. % Path to subjects
  25. datapath = '/media/lcne/matproc';
  26. % Subject names
  27. subjects = {'am160914'};
  28. % Hemispheres
  29. hemis = {'lh','rh'};
  30. for isubj = 1:length(subjects)
  31. subjectDir = [subjects{isubj}];
  32. subjectRefImg = [subjects{isubj} '_t1_acpc.nii.gz'];
  33. dtFile = fullfile(baseDir, subjectDir, '/dti96trilin/dt6.mat');
  34. refImg = fullfile(baseDir, subjectDir, subjectRefImg);
  35. fibersFolder = fullfile(baseDir, subjectDir, '/dti96trilin/fibers/mrtrix/');
  36. roiFolder = fullfile(baseDir, subjectDir, 'ROIs');
  37. % We want to track the subcortical pathway
  38. fromRois = '_antshortins_fd';
  39. toRois = {'_nacc_aseg_fd'};
  40. wmMaskFS = '_wmmask_fs_fd';
  41. % Set up the MRtrix tracking parameters
  42. trackingAlgorithm = {'prob'};
  43. lmax = [10]; % The appropriate value depends on # of directions. For 32, use lower #'s like 4 or 6. For 70+ dirs, 6 or 10 is good [10];
  44. maxNFibers2try2find = 5000; % 10000; % this the number of fibers to find
  45. maxNFibers2try = 500000; %1000000; % this is the max number of fibers to try before giving up
  46. cutoff = 0.1; %FA cutoff along path
  47. initcutoff = 0.1; %FA cutoff at seed
  48. curvature = 1; %curvature radius. formula: angle = 2 * asin (S / (2*R)), S=step-size, R=radius of curvature
  49. stepsize = 0.2; %voxel-voxel step distance
  50. wmMask = [];
  51. for hemi = 1:length(hemis)
  52. fromRoiHemi = [hemis{hemi} fromRois];
  53. wmMaskHemi = [hemis{hemi} wmMaskFS];
  54. wmMaskName = fullfile(roiFolder, wmMaskHemi);
  55. % Make an (include) white matter mask ROI. This mask is the smallest
  56. % set of white matter that contains both ROIS (fromRois and toRois)
  57. %
  58. % We use a nifti ROi to select the portion of the White matter to use for
  59. % seeding
  60. [~, wmMaskName] = dtiRoiNiftiFromMat(wmMaskName,refImg,wmMaskName,1);
  61. % Then transform the niftis into .mif
  62. [p,f,e] = fileparts(wmMaskName);
  63. wmMaskMifName = fullfile(p,sprintf('%s.mif',f));
  64. wmMaskNiftiName = sprintf('%s.nii.gz',wmMaskName);
  65. mrtrix_mrconvert(wmMaskNiftiName, wmMaskMifName);
  66. % This first step initializes all the files necessary for mrtrix.
  67. % This can take a long time.
  68. files = mrtrix_init(dtFile,lmax,fibersFolder,wmMask);
  69. % Convert the ROIs from .mat or .nii.gz to .mif format.
  70. fromRoiName = fullfile(baseDir, subjectDir, '/ROIs/', fromRoiHemi);
  71. [~, fromRoiName] = dtiRoiNiftiFromMat(fromRoiName, refImg, fromRoiName, 1);
  72. fromRoiMifName = fullfile(p,sprintf('%s.mif',fromRoiHemi));
  73. fromRoiNiftiName = sprintf('%s.nii.gz',fromRoiName);
  74. mrtrix_mrconvert(fromRoiNiftiName, fromRoiMifName);
  75. % loop across toRois, must recreate hemisphere name
  76. for i_roi = 1:length(toRois)
  77. toRoiHemi = [hemis{hemi} toRois{i_roi}];
  78. toRoiName = fullfile(baseDir, subjectDir, '/ROIs/', toRoiHemi);
  79. [~, toRoiName] = dtiRoiNiftiFromMat(toRoiName, refImg, toRoiName, 1);
  80. toRoiMifName = fullfile(p,sprintf('%s.mif',toRoiHemi));
  81. toRoiNiftiName = sprintf('%s.nii.gz',toRoiName);
  82. mrtrix_mrconvert(toRoiNiftiName, toRoiMifName);
  83. end
  84. % Create joint from/to Rois to use as a mask
  85. for nRoi = 1:length(toRois)
  86. % MRTRIX tracking between 2 ROIs template.
  87. roi{1} = fullfile(baseDir, subjectDir, '/ROIs/', fromRoiHemi);
  88. % loop across toRois, must recreate hemisphere name
  89. toRoiHemi = [hemis{hemi} toRois{nRoi}];
  90. roi{2} = fullfile(baseDir, subjectDir, '/ROIs/', toRoiHemi);
  91. roi1 = dtiRoiFromNifti([roi{1} '.nii.gz'],[],[],'.mat');
  92. roi2 = dtiRoiFromNifti([roi{2} '.nii.gz'],[],[],'.mat');
  93. % Make a union ROI to use as a seed mask:
  94. % We will generate as many seeds as requested but only inside the voume
  95. % defined by the Union ROI.
  96. %
  97. % The union ROI is used as seed, fibers will be generated starting ONLy
  98. % within this union ROI.
  99. roiUnion = roi1; % seed union roi with roi1 info
  100. roiUnion.name = ['union of ' roi1.name ' and ' roi2.name]; % r lgn calcarine';
  101. roiUnion.coords = vertcat(roiUnion.coords,roi2.coords);
  102. roiName = fullfile(baseDir, subjectDir, '/ROIs/',[roi1.name '_' roi2.name '_union']);
  103. [~, seedMask] = dtiRoiNiftiFromMat(roiUnion,refImg,roiName,1);
  104. seedRoiNiftiName= sprintf('%s.nii.gz',seedMask);
  105. seedRoiMifName = sprintf('%s.mif',seedMask);
  106. % Transform the niftis into .mif
  107. mrtrix_mrconvert(seedRoiNiftiName, seedRoiMifName);
  108. % We cd into the folder where we want to sae the fibers.
  109. cd(fibersFolder);
  110. % We genenrate and save the fibers in the current folder.
  111. [fibersPDB{nRoi}, status, results] = gen_mrtrix_track_roi2roi(files, [roi{1} '.mif'], [roi{2} '.mif'], ...
  112. seedRoiMifName, wmMaskMifName, trackingAlgorithm{1}, ...
  113. maxNFibers2try2find, maxNFibers2try, cutoff, initcutoff, curvature, stepsize);
  114. %fgWrite(fibersPDB,['fibername'],'pwd')
  115. end
  116. end
  117. end
  118. return

s_mrtrix_track_ains_nacc.m at commit c06caf6, no license · at the source

Overview

Authors: Lauren R Borchers1, Chase Antonacci1,2, Josiah K Leong3,4, Ian H Gotlib1
ORCID iDs: Chase Antonacci
  1. Department of Psychology, Stanford University, 450 Jane Stanford Way, Stanford, CA 94305, USA
  2. Neurosciences Interdepartmental Program, Stanford University School of Medicine, 290 Jane Stanford Way, Stanford, CA 94305, USA
  3. Department of Psychological Science, University of Arkansas, 216 Memorial Hall, Fayetteville, AR 72701, USA
  4. Alice L. Walton School of Medicine, 1001 NE J Street, Bentonville, AR 72712, USA
Institutions: Stanford University (United States); Stanford Medicine (United States); Alice L. Walton School of Medicine (United States); University of Arkansas at Fayetteville (United States)
Journal: Developmental cognitive neuroscience, volume 79, article 101730
Dates: received 22 December 2025; accepted 22 April 2026; published online 24 April 2026; in print June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1016/j.dcn.2026.101730 · PMID 42054974 · PMCID PMC13137198 · OpenAlex W7155531225
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: structural MRI / diffusion (modality), human (organism), developmental (subfield)
Methods: Connectivity, Statistics, fMRI & imaging
Keywords: Anterior insula, Nucleus accumbens, Diffusion-weighted imaging, White matter, Risk taking, Adolescence
MeSH: Insular Cortex*, Nucleus Accumbens*, Risk-Taking*, White Matter*, Adolescent, Child, Diffusion Magnetic Resonance Imaging, Diffusion Tensor Imaging, Female, Humans, Longitudinal Studies, Male, Neural Pathways, Young Adult (* major topic)
Topic: Prenatal Substance Exposure Effects (Pediatrics, Perinatology and Child Health, Medicine), according to OpenAlex
Funding: Arkansas Biosciences Institute; National Institute of Mental Health (R37MH101495)
Citations: not cited yet (Europe PMC); 61 references in the paper

Abstract

Adolescence is characterized by increases in risk-taking behaviors, including substance use, sexual activity, and impulsive decision-making. Neuroimaging research implicates the anterior insula (AIns) and nucleus accumbens (NAcc) in risk evaluation and reward motivation; however, little is known about how the structural pathway connecting these regions develops across adolescence or whether variation in its development predicts later risk-taking. In this study, we examined whether longitudinal changes in white-matter connectivity between the AIns and NAcc during adolescence predict risk-taking in early adulthood. A total of 196 youth (ages 9–20 years) contributed 486 diffusion-weighted imaging scans across four waves spanning six years. We reconstructed the AIns-NAcc tract using probabilistic tractography and extracted fractional anisotropy (FA) along the tract. At a fifth assessment (ages 19–23), 105 participants completed the Adolescent and Young Adult Health Questionnaire; exploratory factor analysis identified a risk-taking factor indexing substance use and sexual risk-taking. We used linear mixed-effects models to characterize developmental trajectories of FA and tested their associations with early adult risk-taking, adjusting for biological sex, early life stress, and behavioral sensitivity to reward and punishment. FA increased linearly across adolescence in both hemispheres (right: β=0.17, p < .001; left: β=0.10, p = .023). Critically, individuals exhibiting shallower increases in FA across adolescence in the right hemisphere reported greater engagement in risk-taking behaviors in early adulthood (ΔR2=4.0%, p = .024). These findings suggest that adolescence represents a sensitive period during which individual differences in maturation of the right AIns-NAcc pathway prospectively shape later risk-taking, highlighting the importance of longitudinally modeling structural connectivity in reward-related circuits.

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.

josiahkl/spantracts

License: none: the authors keep all their rights
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: c06caf6a6b65f6edebca01b7d7705a78c4a05f07, 10 July 2020
Languages: MATLAB (10)
Size: 11 files, 10 scripts
Software Heritage: archived
Found in: the text, “DWI preprocessing and tractography”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
11 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;
  • 10 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

Data will be made available on request.

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, 29 September 2026: the first record

Recorded: type, language, journal, volume, pages, dates, 4 authors, 6 keywords, 14 MeSH terms, 2 funders, 60 references.

Cite

This paper

Borchers, L. R., Antonacci, C., Leong, J. K., & Gotlib, I. H. (2026). Longitudinal development of the anterior insula-nucleus accumbens white matter pathway through adolescence predicts risk taking in young adulthood. Developmental cognitive neuroscience, 79, 101730. https://doi.org/10.1016/j.dcn.2026.101730

BibTeX

@article{borchers2026longitudinal,
author = {Borchers, Lauren R and Antonacci, Chase and Leong, Josiah K and Gotlib, Ian H},
title = {{Longitudinal development of the anterior insula-nucleus accumbens white matter pathway through adolescence predicts risk taking in young adulthood}},
journal = {Developmental cognitive neuroscience},
year = {2026},
month = apr,
volume = {79},
pages = {101730},
publisher = {Elsevier},
issn = {1878-9293},
doi = {10.1016/j.dcn.2026.101730},
url = {https://doi.org/10.1016/j.dcn.2026.101730},
pmid = {42054974},
pmcid = {PMC13137198}
}

RIS

TY - JOUR
AU - Borchers, Lauren R
AU - Antonacci, Chase
AU - Leong, Josiah K
AU - Gotlib, Ian H
TI - Longitudinal development of the anterior insula-nucleus accumbens white matter pathway through adolescence predicts risk taking in young adulthood
T2 - Developmental cognitive neuroscience
J2 - Dev Cogn Neurosci
PY - 2026
DA - 2026/04/24
VL - 79
SP - 101730
SN - 1878-9293
PB - Elsevier
DO - 10.1016/j.dcn.2026.101730
UR - https://doi.org/10.1016/j.dcn.2026.101730
LA - en
ER -

CSL-JSON

{
"id": "10.1016/j.dcn.2026.101730",
"type": "article-journal",
"title": "Longitudinal development of the anterior insula-nucleus accumbens white matter pathway through adolescence predicts risk taking in young adulthood",
"container-title": "Developmental cognitive neuroscience",
"author": [
{
"family": "Borchers",
"given": "Lauren R"
},
{
"family": "Antonacci",
"given": "Chase"
},
{
"family": "Leong",
"given": "Josiah K"
},
{
"family": "Gotlib",
"given": "Ian H"
}
],
"container-title-short": "Dev Cogn Neurosci",
"volume": "79",
"page": "101730",
"DOI": "10.1016/j.dcn.2026.101730",
"PMID": "42054974",
"PMCID": "PMC13137198",
"ISSN": "1878-9293",
"publisher": "Elsevier",
"URL": "https://doi.org/10.1016/j.dcn.2026.101730",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
24
]
]
}
}

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.1270
Disentangling the unique associations of age, pubertal stage, and pubertal hormones with white matter microstructure in childhood and adolescence.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: developmental, structural MRI / diffusion, 5 references
[2] doi:10.1093/cercor/bhag132 [code]
Spatiotemporal white-matter development across early childhood.
Journal: Cerebral cortex (New York, N.Y. : 1991)
In common: developmental, structural MRI / diffusion, 4 references
[3] doi:10.1002/nbm.70353 [code]
Automated Surface-Based Segmentation of Deep Gray Matter Regions Based on Diffusion Tensor Images Reveals Unique Age Trajectories Over the Healthy Lifespan.
Journal: NMR in biomedicine
In common: structural MRI / diffusion, 4 references
[4] doi:10.1016/j.bbih.2026.101280
Inflammation, fronto-amygdala connectivity, and negative affective reactivity to daily stress in adolescents.
Journal: Brain, behavior, & immunity - health
In common: developmental, author Chase Antonacci
[5] doi:10.1016/j.bpsgos.2026.100782 [code]
Early Adversity Imprints Multisystem Biological Aging: A Longitudinal Study of Adversity Dimensions and Aging Phenotypes Across Adolescence.
Journal: Biological psychiatry global open science
In common: developmental, author Chase Antonacci
[6] doi:10.1038/s41467-026-73072-6 [code]
Mapping the spatiotemporal continuum of structural connectivity development across the human connectome in youth.
Journal: Nature communications
In common: developmental, structural MRI / diffusion, 3 references
[7] doi:10.1162/nol.a.246 [code]
Bilateral Ventral Pathways Support Phonological Awareness at Reading Onset in Spanish-Speaking Children.
Journal: Neurobiology of language (Cambridge, Mass.)
In common: structural MRI / diffusion, 3 references
[8] doi:10.1038/s41398-026-04143-x [code]
Neighborhood opportunity, white matter, and cognition in a large pediatric neuroimaging study.
Journal: Translational psychiatry
In common: structural MRI / diffusion, 3 references
[9] doi:10.1162/imag.a.1307
Accelerated maturation of brain circuits and executive function in adolescents who experienced the COVID-19 pandemic.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: structural MRI / diffusion, 3 references
[10] doi:10.3389/fnhum.2026.1839961 [code]
Developmental stability of task-rest neural efficiency in youth using a threat and cognitive control task.
Journal: Frontiers in human neuroscience
In common: author Chase Antonacci

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.