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.

5 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

The 5 matches
  1. [1] § Methods › Parameter estimation ↔ RICEtools.m, lines 99 to 160 · score 0.61 · cumulant expansion, full DKI, full RICE, fit, Weighted, LTE · block oscr:b:BA47M03G52H24-6 · Report a mismatch
  2. [2] § Methods › Parameter estimation ↔ RICEtools.m, lines 99 to 160 · score 0.61 · cumulant expansion, full DKI, full RICE, fit, Weighted, LTE · block oscr:b:SQKWRJ8R6X30F-J · Report a mismatch
  3. [3] § Results › Multiple sclerosis classification based on clinical dMRI ↔ RICE_logistic_regression_AUC_stratified.m, lines 1 to 28 · score 0.58 · Logistic regression, predictors, trained, models, matched, age · block oscr:b:BB4CVMJ2Z3H8P-D · Report a mismatch
  4. [4] § Results › Multiple sclerosis classification based on clinical dMRI ↔ example_RICE_logistic_regression.m, lines 1 to 35 · score 0.57 · Logistic regression, predictors, trained, age, sex, DTI · block oscr:b:YJ214MV5W3N6E-H · Report a mismatch
  5. [5] § Results › Multiple sclerosis classification based on clinical dMRI ↔ example_RICE_logistic_regression.m, lines 37 to 90 · score 0.57 · confidence interval, logistic regressions, bars, bootstrap, AUCs, classification · block oscr:b:7G4BD45MN0BFH-O · Report a mismatch

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 · 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 (how the code is found and 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 Portfolio},
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 Portfolio
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 Portfolio",
"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.70144 [code]
What If Each Voxel Were Measured With a Different Diffusion Protocol?
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, 22 references, 3 authors
[2] doi:10.1002/hbm.26725 [code]
Assessment of precision and accuracy of brain white matter microstructure using combined diffusion MRI and relaxometry.
Journal: Human brain mapping
In common: Tools for NIfTI and ANALYZE image (MATLAB), structural MRI / diffusion, 24 references, 2 authors
[3] doi:10.1038/s41467-025-64793-1 [code]
Scattering approach to diffusion quantifies axonal damage in brain injury.
Journal: Nature communications
In common: Statistics and Machine Learning Toolbox, structural MRI / diffusion, 14 references, 2 authors
[4] doi:10.1038/s41598-025-93084-4 [code]
Diffusion MRI with double diffusion encoding and variable mixing times disentangles water exchange from transient kurtosis.
Journal: Scientific reports
In common: structural MRI / diffusion, 15 references, author Filip Szczepankiewicz
[5] doi:10.1162/imag.a.35 [code]
Spectral principal axis system (SPAS) and tuning of tensor-valued encoding for microscopic anisotropy and time-dependent diffusion in the rat brain.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Parallel Computing Toolbox, Statistics and Machine Learning Toolbox, structural MRI / diffusion, 13 references, author Filip Szczepankiewicz
[6] doi:10.1162/imag_a_00051 [code]
Unique information from common diffusion MRI models about white-matter differences across the human adult lifespan.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Tools for NIfTI and ANALYZE image (MATLAB), Statistics and Machine Learning Toolbox, structural MRI / diffusion, 16 references
[7] doi:10.1162/imag_a_00102 [code]
Mapping tissue microstructure of brain white matter in vivo in health and disease using diffusion MRI.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Tools for NIfTI and ANALYZE image (MATLAB), multiple sclerosis, structural MRI / diffusion, 17 references
[8] doi:10.1002/hbm.70142 [code]
Denoising Improves Cross-Scanner and Cross-Protocol Test-Retest Reproducibility of Diffusion Tensor and Kurtosis Imaging.
Journal: Human brain mapping
In common: structural MRI / diffusion, 13 references, author Santiago Coelho
[9] doi:10.1162/imag_a_00212 [code]
Volume electron microscopy in injured rat brain validates white matter microstructure metrics from diffusion MRI.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Tools for NIfTI and ANALYZE image (MATLAB), Parallel Computing Toolbox, Statistics and Machine Learning Toolbox, structural MRI / diffusion, 14 references
[10] doi:10.1162/imag_a_00544 [code]
<i>In vivo</i> human neurite exchange time imaging at 500 mT/m diffusion gradients: Neurite exchange time imaging on Connectome 2.0.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: Parallel Computing Toolbox, Statistics and Machine Learning Toolbox, structural MRI / diffusion, 7 references, 2 authors

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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s41467-026-70018-w.svg)](https://openscicode.org/badge/doi/10.1038/s41467-026-70018-w)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-70018-w.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41467-026-70018-w
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-70018-w"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-70018-w.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

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)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.