OSCR

Geometry of the cumulant series in diffusion MRI.

Code ↔ Paper

5 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 5 matches
  1. [1] § Methods › Parameter estimation ↔ RICEtools.m, lines 99–160 · score 0.61 · cumulant expansion, full DKI, full RICE, fit, Weighted, LTE
  2. [2] § Methods › Parameter estimation ↔ RICEtools.m, lines 99–160 · score 0.61 · cumulant expansion, full DKI, full RICE, fit, Weighted, LTE
  3. [3] § Results › Multiple sclerosis classification based on clinical dMRI ↔ RICE_logistic_regression_AUC_stratified.m, lines 1–28 · score 0.58 · Logistic regression, predictors, trained, models, matched, age
  4. [4] § Results › Multiple sclerosis classification based on clinical dMRI ↔ example_RICE_logistic_regression.m, lines 1–35 · score 0.57 · Logistic regression, predictors, trained, age, sex, DTI
  5. [5] § Results › Multiple sclerosis classification based on clinical dMRI ↔ example_RICE_logistic_regression.m, lines 37–90 · score 0.57 · confidence interval, logistic regressions, bars, bootstrap, AUCs, classification

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 · 90 lines · 3.4 KB · no license · 2 matches

  1. %% Analyzing RICE summary statistics
  2. % Recomputing bootstrapped AUC values from RICE summary statistics (~2.5 minutes in a normal desktop)
  3. clc,clear,close all
  4. % Load .mat file with summary statistics
  5. root = '/Users/coelhs01/Documents/SantiagoCoelho/Git/RICE';
  6. load(fullfile(root,'RICE_MS_summary_statistics.mat'))
  7. rng default
  8. subsets_all{1} = [1 2 3];
  9. subset_tags{1,1} = 'DTI'; % DTI invariants
  10. subsets_all{2} = [1 2 3 4 5 7];
  11. subset_tags{2,1} = 'DKI'; % DKI invariants
  12. subsets_all{3} = 1:15;
  13. subset_tags{3,1} = ' RICE$_\mathrm{LTE}$'; % RICE intrinsic+mixed invariants
  14. Nboot = 100;
  15. tic
  16. AUC_logReg = zeros(Nr, length(subsets_all),Nboot);
  17. for id_subset = 1:length(subsets_all)
  18. subset_idx = subsets_all{id_subset};
  19. for id_roi = 1:Nr
  20. X_keep = squeeze(rice_median(subset_idx,id_roi,:))';
  21. X_keep_agesex = [ X_keep age_all(:) sex_all(:) ];
  22. stratify.sex = sex_all(:); stratify.ms = flag_ms(:); stratify.age = age_all(:); stratify.train = 0.8;
  23. % [AUC_logReg(id_roi,id_subset,:),current_coeffs, output_pred(id_roi,id_subset,:,:)] = compute_logistic_regression_AUC_stratified(X_keep_agesex,flag_ms(:),Nboot,stratify);
  24. [AUC_logReg(id_roi,id_subset,:),current_coeffs, output_pred(id_roi,id_subset,:,:)] = RICE_logistic_regression_AUC_stratified(X_keep_agesex,flag_ms(:),Nboot,stratify);
  25. coeffs_mean{id_roi,id_subset} = mean(current_coeffs,2);
  26. coeffs_std{id_roi,id_subset} = std(current_coeffs,[],2);
  27. end
  28. end
  29. t = toc; fprintf('Time for %d AUC computations = %.4f seconds \n',Nboot,t)
  30. %% Plot the above AUCs (combined features + age + sex)
  31. clc,close all
  32. % rois_keep = [ 1:19 ]; % All delateralized ROIs
  33. rois_keep = [ 1 3 10 11 12 13 14 19 ]; % Larger ROIs + involved in MS
  34. subsets_keep = [1 2 3]; % Which sets of invariants are plotted
  35. % Create bar plot with 95% confidence intervals
  36. ROI_name_abbrev = {'GCC','BCC','SCC','CST','ML','ICP','SCP','CP','ALIC','PLIC','ACR','SCR','PCR','PTR','C','SLF','T','EC','TWM'};
  37. names = ROI_name_abbrev(rois_keep);
  38. % Mean and standard deviation across bootstrap resamples
  39. AUC_means = mean(AUC_logReg(rois_keep,subsets_keep,:), 3);
  40. AUC_std = std(AUC_logReg(rois_keep,subsets_keep,:), 0, 3);
  41. % 95% CI for the mean AUC across bootstrap resamples (normal approximation)
  42. CI_95 = 1.96 * AUC_std ./ sqrt(Nboot);
  43. % Grouped bar plot
  44. figure('Position',[2963 590 1024 629]), hold on
  45. h = bar(AUC_means,'grouped');
  46. % Set colors
  47. blue_shade = [ 167 202 236 ; 78 149 217 ; 33 95 154 ]/256;
  48. for k = 1:length(subsets_keep)
  49. h(k).FaceColor = blue_shade(k,:);
  50. end
  51. % Add errorbars
  52. numGroups = size(AUC_means,1);
  53. numBars = size(AUC_means,2);
  54. % X positions of the bars
  55. groupWidth = min(0.8, numBars/(numBars+1.5));
  56. for i = 1:numBars
  57. % Get center of each bar
  58. x = (1:numGroups) - groupWidth/2 + (2*i-1) * groupWidth / (2*numBars);
  59. errorbar(x, AUC_means(:,i), CI_95(:,i), 'k', 'linestyle', 'none', 'LineWidth',1.5);
  60. end
  61. % Adjust x-axis labels: one label per subject
  62. set(gca,'XTick',1:length(rois_keep),'XTickLabel',names);
  63. set(gca,'TickLength',[0 0]) % removes the actual tick marks
  64. ax = gca; % get current axes
  65. ax.TitleFontSizeMultiplier = 1.5; % scales relative to default
  66. % Legend
  67. legend(subset_tags(subsets_keep),'Location','northwest','interpreter','latex');
  68. title('MS classification AUC - logistic regression','interpreter','latex');
  69. set(gca,'FontSize',15)
  70. set(gca, 'TickLabelInterpreter', 'latex');
  71. ylim([0.6 0.95]), box on
  72. set(gca, 'LineWidth', 0.8, 'XColor', 'k', 'YColor', 'k')

example_RICE_logistic_regression.m at commit 3c327de, no license · at the source

Overview

  1. Center for Biomedical Imaging and Center for Advanced Imaging Innovation and Research (CAI2R), Department of Radiology, New York University School of Medicine, New York, NY USA
  2. Department of Medical Radiation Physics, Lund University, Lund, Sweden
Institutions: Center for Advanced Imaging Innovation and Research (United States); New York University (United States); Lund University (Sweden)
Journal: Nature communications, volume 17, issue 1, article 4220
Dates: received 28 April 2025; accepted 16 February 2026; published online 10 May 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41467-026-70018-w · PMID 42108286 · PMCID PMC13161373 · OpenAlex W7160772459
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: structural MRI / diffusion (modality), human (organism), multiple sclerosis (population)
Methods: Smoothing, state filtering, decompositions, Physiology & signal measures, fMRI & imaging
Keywords: Magnetic properties and materials, Diffusion tensor imaging, Magnetic resonance imaging
MeSH: Brain*, Diffusion Magnetic Resonance Imaging*, Multiple Sclerosis*, Algorithms, Humans, Image Processing, Computer-Assisted (* major topic)
Topic: Advanced Neuroimaging Techniques and Applications (Radiology, Nuclear Medicine and Imaging, Medicine), according to OpenAlex
Funding: Cancerfonden (22 0592 JIA); NIBIB NIH HHS (K99 EB036080, P41 EB017183, R01 EB027075); NINDS NIH HHS (R01 NS088040); U.S. Department of Health & Human Services | NIH | National Institute of Biomedical Imaging and Bioengineering (K99 EB036080, R01 EB027075, P41 EB017183); U.S. Department of Health & Human Services | NIH | National Institute of Neurological Disorders and Stroke (R01 NS088040); Vetenskapsrådet (2021-04844)
Citations: cited by 2 papers (Europe PMC); 118 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.

Repositories

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

NYU-DiffusionMRI/RICE

License: none: the authors keep all their rights
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: 3c327def230d19bc8d966bfaf629cf149e40a16f, 30 July 2026
Languages: MATLAB (5)
Size: 11 files, 5 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
6 files

Zenodo 19698777

License: CC-BY-4.0
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: the references
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
  • 28 September 2026: the link answers (HTTP 200)
6 files
At the source:

Code availability statement

The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s41467-026-70018-w.

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:

  • 2 repositories 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;
  • 5 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.

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:

Read it in the paper: doi.org/10.1038/s41467-026-70018-w.

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

Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 3 keywords, 6 MeSH terms, 6 funders, 80 references.

Cite

This paper

Coelho, S., Chen, J., Szczepankiewicz, F., Fieremans, E., & Novikov, D. S. (2026). Geometry of the cumulant series in diffusion MRI. Nature communications, 17(1), 4220. https://doi.org/10.1038/s41467-026-70018-w

BibTeX

@article{coelho2026geometry,
author = {Coelho, Santiago and Chen, Jenny and Szczepankiewicz, Filip and Fieremans, Els and Novikov, Dmitry S},
title = {{Geometry of the cumulant series in diffusion MRI}},
journal = {Nature communications},
year = {2026},
month = may,
volume = {17},
number = {1},
pages = {4220},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-70018-w},
url = {https://doi.org/10.1038/s41467-026-70018-w},
pmid = {42108286},
pmcid = {PMC13161373}
}

RIS

TY - JOUR
AU - Coelho, Santiago
AU - Chen, Jenny
AU - Szczepankiewicz, Filip
AU - Fieremans, Els
AU - Novikov, Dmitry S
TI - Geometry of the cumulant series in diffusion MRI
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/05/10
VL - 17
IS - 1
SP - 4220
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/s41467-026-70018-w
UR - https://doi.org/10.1038/s41467-026-70018-w
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-70018-w",
"type": "article-journal",
"title": "Geometry of the cumulant series in diffusion MRI",
"container-title": "Nature communications",
"author": [
{
"family": "Coelho",
"given": "Santiago"
},
{
"family": "Chen",
"given": "Jenny"
},
{
"family": "Szczepankiewicz",
"given": "Filip"
},
{
"family": "Fieremans",
"given": "Els"
},
{
"family": "Novikov",
"given": "Dmitry S"
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "4220",
"DOI": "10.1038/s41467-026-70018-w",
"PMID": "42108286",
"PMCID": "PMC13161373",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41467-026-70018-w",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
10
]
]
}
}

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.1002/mrm.70490 [code]
Dependence of the Extra-Cellular Diffusion Coefficient on the Fractions of Neurites and Cell Bodies in Gray Matter.
Journal: Magnetic resonance in medicine
In common: structural MRI / diffusion, 8 references, 2 authors
[2] doi:10.1038/s41598-026-39162-7 [code]
White matter microstructure differences in obstructive sleep apnea severity groups assessed by diffusion tensor metrics and biophysical modeling.
Journal: Scientific reports
In common: structural MRI / diffusion, 15 references
[3] doi:10.1371/journal.pone.0346132 [code]
Analysis of cortical dysplasias using b-tensor encoding diffusion MRI in an animal model.
Journal: PloS one
In common: Statistics and Machine Learning Toolbox, structural MRI / diffusion, 11 references
[4] doi:10.1162/imag.a.1317 [code]
Bayesian insights into exchange and restriction in gray matter diffusion MRI.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: structural MRI / diffusion, 11 references
[5] doi:10.1109/tmi.2026.3664328 [code]
Axon Diameter Mapping From Myelin Water Diffusion MRI.
Journal: IEEE transactions on medical imaging
In common: Statistics and Machine Learning Toolbox, structural MRI / diffusion, 7 references
[6] doi:10.3390/bioengineering13040413 [code]
HIV-Associated Microstructural Abnormalities in Default Mode, Executive Control, and Salience Networks: Insights from Tensor-Valued Diffusion Encoding.
Journal: Bioengineering (Basel, Switzerland)
In common: structural MRI / diffusion, 8 references
[7] doi:10.1002/mrm.70336 [code]
Offline Reconstruction of Diffusion MRI Acquisitions for Comparison Between Complex PCA-Based and AI-Based Denoising.
Journal: Magnetic resonance in medicine
In common: Tools for NIfTI and ANALYZE image (MATLAB), Parallel Computing Toolbox, Statistics and Machine Learning Toolbox, structural MRI / diffusion, 4 references
[8] doi:10.1002/nbm.70277 [code]
Hierarchical Bayesian Modelling Improves Microstructural Parameter Mapping in Diffusion and Exchange MRI Data.
Journal: NMR in biomedicine
In common: Tools for NIfTI and ANALYZE image (MATLAB), Parallel Computing Toolbox, Statistics and Machine Learning Toolbox, structural MRI / diffusion, 5 references
[9] doi:10.1038/s41398-026-04072-9 [code]
Myo-inositol concentration in the medial prefrontal cortex is associated with changes in brain white matter microstructure in early psychosis.
Journal: Translational psychiatry
In common: Tools for NIfTI and ANALYZE image (MATLAB), structural MRI / diffusion, 6 references
[10] doi:10.1038/s43856-026-01614-6 [code]
Simulation-based inference at the theoretical limit for fast, robust microstructural MRI with minimal diffusion data.
Journal: Communications medicine
In common: structural MRI / diffusion, 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.

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.