OSCR

The role of white matter myelin in structural-functional network coupling.

Code ↔ Paper

3 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 3 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
  1. [1] § Data processing › Structural connectivity network reconstruction ↔ matlab/mk_edgescsv_from_mat.m, the whole file · a weak match · score 0.64 · edge length, edge caliber, edge myelin, COMMIT, MTsat, Schaefer · Report a mismatch
  2. [2] § Data processing › Multi-linear modeling ↔ matlab/+models/dominance_interaction.m, lines 2 to 33 · score 0.61 · handle interaction terms, response variable, R2, regression, dominance, models · Report a mismatch
  3. [3] § Data processing › Multi-linear modeling ↔ python/myelinfccoupling/model.py, lines 44 to 167 · score 0.50 · handle interaction terms, incremental, R2, variable, dominance, caliber · 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 · 81 lines · 3.2 KB · GPL-3.0 · 1 match

  1. function mk_edgescsv_from_mat()
  2. % MK_EDGESCSV_FROM_MAT
  3. % Converts NxN connectivity matrices into required .csv file by FC modality
  4. %
  5. % addpath(genpath('matlab'))
  6. % mk_edgescsv_from_mat()
  7. % Setup
  8. ROOTDIR = fileparts(fileparts(mfilename('fullpath')));
  9. DATADIR = [ROOTDIR '/data'];
  10. PARCDIR = [ROOTDIR '/parcellations'];
  11. addpath(genpath(ROOTDIR))
  12. % ----- USER EDIT SECTION ----------------------------------------------
  13. fc_fn = 'fc_BOLDin'; % *** TOGGLE FC NETWORK HERE ***
  14. myelin_fn = 'mtsat'; % edge myelin
  15. caliber_fn = 'commit'; % edge caliber;
  16. length_fn = 'edgelength'; % edge length
  17. parc = 'schaefer-400'; % {'schaefer-200' 'schaefer-400'}
  18. % ----------------------------------------------------------------------
  19. % Load data
  20. loaddir = [DATADIR '/' parc '_group/'];
  21. load([loaddir caliber_fn '.mat'],'Dtg'); caliber_mat=Dtg;
  22. load([loaddir myelin_fn '.mat'],'Dtg'); myelin_mat=Dtg;
  23. load([loaddir length_fn '.mat'],'Dtg'); length_mat=Dtg; % Edge Length
  24. load([loaddir fc_fn '.mat'],'Dtg'); FC_mat=Dtg; % FC
  25. clear Dtg
  26. % Load SAaxis (not actually used here)
  27. % SA_map = readNPY([loaddir 'sa_axis.npy']);
  28. % Set missing values to nan for removal (do for all in case they are different)
  29. caliber_mat(caliber_mat==0)=nan;
  30. myelin_mat(myelin_mat==0)=nan;
  31. length_mat(length_mat==0)=nan;
  32. % load parc info
  33. pinfo = conn_getParcInfo({parc},PARCDIR,'cor'); % structure with parcellation info
  34. Nstx = pinfo.nsub;
  35. Nctx = pinfo.ncor;
  36. Nnode = Nctx + Nstx;
  37. Nntwk = length(pinfo.clabels);
  38. % Yeo RSNs
  39. rsn_idx = nan(Nnode,1);
  40. rsn_labels = cell(Nnode,1); % Nx1 string/cellstr of RSN per node (optional)
  41. for ii=1:Nntwk
  42. rsn_idx(pinfo.cis{ii},1) = ii;
  43. rsn_labels(pinfo.cis{ii}) = pinfo.clabels(ii);
  44. end
  45. % --- Build CSV ---
  46. % lower-triangle edge list (exclude self-edges)
  47. % N = size(FC_mat,1);
  48. N = Nnode;
  49. [i,j] = find(tril(true(N), -1));
  50. edges = table();
  51. edges.i = i;
  52. edges.j = j;
  53. edges.FC = FC_mat(sub2ind([N N], i, j)); % NxN functional connectivity
  54. edges.caliber = caliber_mat(sub2ind([N N], i, j)); % NxN edge caliber
  55. edges.myelin = myelin_mat(sub2ind([N N], i, j)); % NxN edge myelin
  56. edges.length = length_mat(sub2ind([N N], i, j)); % NxN edge length
  57. % Optional RSN columns (recommended if you’ll run RSN-pairs)
  58. if exist('rsn_labels','var') && ~isempty(rsn_labels)
  59. edges.rsn_i = string(rsn_labels(i));
  60. edges.rsn_j = string(rsn_labels(j));
  61. end
  62. % remove rows with any missing values
  63. mask = all(~isnan(edges{:, {'FC','caliber','myelin','length'}}),2);
  64. edges = edges(mask,:);
  65. % Save
  66. writetable(edges, fullfile(DATADIR,['edges_' fc_fn '.csv']));
  67. end

mk_edgescsv_from_mat.m at commit 5af996d, under GPL-3.0 · at the source

Overview

Authors: Mark C Nelson1,2, Wen Da Lu2,3, Ilana R Leppert2, Heather A Hansen1, Christopher D Rowley4, Bratislav Misic1,2, Christine L Tardif1,2,3
  1. Department of Neurology and Neurosurgery, McGill University, Montreal, QC Canada
  2. McConnell Brain Imaging Centre, Montreal Neurological Institute and Hospital, Montreal, QC Canada
  3. Department of Biomedical Engineering, McGill University, Montreal, QC Canada
  4. Department of Physics and Astronomy, McMaster University, Hamilton, ON Canada
Journal: Communications biology, volume 9, issue 1, article 488
Dates: received 28 August 2025; accepted 24 February 2026; published online 27 March 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s42003-026-09813-6 · PMID 41896361 · PMCID PMC13050329 · OpenAlex W7141733455
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: structural MRI / diffusion (modality), human (organism), cellular / molecular (subfield)
Keywords: Network models, Brain, Myelin biology and repair
MeSH: Brain*, Myelin Sheath*, Nerve Net*, White Matter*, Humans, Magnetic Resonance Imaging, Models, Neurological (* major topic)
Topic: Neurogenesis and neuroplasticity mechanisms (Developmental Neuroscience, Neuroscience), according to OpenAlex
Funding: Killam Trusts; Canadian Network for Research and Innovation in Machining Technology, Natural Sciences and Engineering Research Council of Canada; Fondation Brain Canada; Gouvernement du Canada | Instituts de Recherche en Santé du Canada | CIHR Skin Research Training Centre
Citations: cited by 4 papers (Europe PMC); 180 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 3 matches between paragraphs and lines of code.

TardifLab/Modeling-Myelin-FC

License: GPL-3.0
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Commit: 5af996d1ee9ce4190f7d9dbca343c6aa57515dab, 16 June 2026
Languages: MATLAB (16), Python (8)
Size: 77 files, 24 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, license file, CITATION.cff, environment (python/setup.cfg, python/setup.py)
Not found: tests, continuous integration, documentation
Tools: pandas (4 files), Statistics and Machine Learning Toolbox (2 files), NumPy (2 files), BrainSpace (1 file), statsmodels (1 file)
Availability: 1 check, the latest on 30 September 2026: the link answers
  • 30 September 2026: the link answers
26 files

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/s42003-026-09813-6.

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;
  • 24 scripts, each with its path and the digest of its content;
  • 3 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

Datasets cited

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/s42003-026-09813-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, 3 keywords, 7 MeSH terms, 4 funders, 165 references.

Cite

This paper

Nelson, M. C., Da Lu, W., Leppert, I. R., Hansen, H. A., Rowley, C. D., Misic, B., & Tardif, C. L. (2026). The role of white matter myelin in structural-functional network coupling. Communications biology, 9(1), 488. https://doi.org/10.1038/s42003-026-09813-6

BibTeX

@article{nelson2026role,
author = {Nelson, Mark C and Da Lu, Wen and Leppert, Ilana R and Hansen, Heather A and Rowley, Christopher D and Misic, Bratislav and Tardif, Christine L},
title = {{The role of white matter myelin in structural-functional network coupling}},
journal = {Communications biology},
year = {2026},
month = mar,
volume = {9},
number = {1},
pages = {488},
publisher = {Nature Publishing Group},
issn = {2399-3642},
doi = {10.1038/s42003-026-09813-6},
url = {https://doi.org/10.1038/s42003-026-09813-6},
pmid = {41896361},
pmcid = {PMC13050329}
}

RIS

TY - JOUR
AU - Nelson, Mark C
AU - Da Lu, Wen
AU - Leppert, Ilana R
AU - Hansen, Heather A
AU - Rowley, Christopher D
AU - Misic, Bratislav
AU - Tardif, Christine L
TI - The role of white matter myelin in structural-functional network coupling
T2 - Communications biology
J2 - Commun Biol
PY - 2026
DA - 2026/03/27
VL - 9
IS - 1
SP - 488
SN - 2399-3642
PB - Nature Publishing Group
DO - 10.1038/s42003-026-09813-6
UR - https://doi.org/10.1038/s42003-026-09813-6
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s42003-026-09813-6",
"type": "article-journal",
"title": "The role of white matter myelin in structural-functional network coupling",
"container-title": "Communications biology",
"author": [
{
"family": "Nelson",
"given": "Mark C"
},
{
"family": "Da Lu",
"given": "Wen"
},
{
"family": "Leppert",
"given": "Ilana R"
},
{
"family": "Hansen",
"given": "Heather A"
},
{
"family": "Rowley",
"given": "Christopher D"
},
{
"family": "Misic",
"given": "Bratislav"
},
{
"family": "Tardif",
"given": "Christine L"
}
],
"container-title-short": "Commun Biol",
"volume": "9",
"issue": "1",
"page": "488",
"DOI": "10.1038/s42003-026-09813-6",
"PMID": "41896361",
"PMCID": "PMC13050329",
"ISSN": "2399-3642",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s42003-026-09813-6",
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
27
]
]
}
}

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/netn_a_00330 [code]
The human brain connectome weighted by the myelin content and total intra-axonal cross-sectional area of white matter tracts.
Journal: Network neuroscience (Cambridge, Mass.)
In common: BrainSpace, Statistics and Machine Learning Toolbox, pandas, 1 other tool, structural MRI / diffusion, cellular / molecular, 51 references, 3 authors
[2] doi:10.1162/imag.a.49 [code]
Mapping the aggregate g-ratio of white matter tracts using multi-modal MRI.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: BrainSpace, statsmodels, Statistics and Machine Learning Toolbox, 2 other tools, structural MRI / diffusion, cellular / molecular, 35 references, 3 authors
[3] doi:10.1371/journal.pbio.3001735 [code]
Human electromagnetic and haemodynamic networks systematically converge in unimodal cortex and diverge in transmodal cortex.
Journal: PLoS biology
In common: statsmodels, pandas, NumPy, 29 references, author Bratislav Misic
[4] doi:10.1038/s41467-025-67740-2 [code]
Human cortical dynamics reflect graded contributions of local geometry and network topography.
Journal: Nature communications
In common: BrainSpace, Statistics and Machine Learning Toolbox, pandas, 1 other tool, 31 references
[5] doi:10.1371/journal.pbio.3002314 [code]
Integrating multimodal and multiscale connectivity blueprints of the human cerebral cortex in health and disease.
Journal: PLoS biology
In common: BrainSpace, statsmodels, pandas, 1 other tool, structural MRI / diffusion, 30 references
[6] doi:10.1038/s41467-023-38585-4 [code]
Assortative mixing in micro-architecturally annotated brain connectomes.
Journal: Nature communications
In common: BrainSpace, statsmodels, pandas, 1 other tool, 24 references, author Bratislav Misic
[7] doi:10.1038/s41467-025-59177-4 [code]
Multimodal gradients unify local and global cortical organization.
Journal: Nature communications
In common: BrainSpace, Statistics and Machine Learning Toolbox, pandas, 1 other tool, structural MRI / diffusion, 27 references
[8] doi:10.1038/s41592-025-02704-4 [code]
Benchmarking methods for mapping functional connectivity in the brain.
Journal: Nature methods
In common: statsmodels, pandas, NumPy, structural MRI / diffusion, 23 references, author Bratislav Misic
[9] doi:10.1038/s41597-022-01682-y [code]
An Open MRI Dataset For Multiscale Neuroscience.
Journal: Scientific data
In common: BrainSpace, statsmodels, pandas, 1 other tool, structural MRI / diffusion, 28 references
[10] doi:10.1162/netn_a_00382 [code]
Comparison of different group-level templates in gradient-based multimodal connectivity analysis.
Journal: Network neuroscience (Cambridge, Mass.)
In common: BrainSpace, statsmodels, Statistics and Machine Learning Toolbox, 2 other tools, 27 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.

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/s42003-026-09813-6.svg)](https://openscicode.org/badge/doi/10.1038/s42003-026-09813-6)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s42003-026-09813-6.svg
   :target: https://openscicode.org/badge/doi/10.1038/s42003-026-09813-6
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s42003-026-09813-6"><img src="https://openscicode.org/badge/doi/10.1038/s42003-026-09813-6.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.