OSCR

Towards a physics informed digital twin to predict cerebral blood flow and cerebral vascular regulation.

Code ↔ Paper

1 match 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 1 match
  1. [1] § Methods › Experimental model validation › Flow-mediated dilation test ↔ InVivo_Experiments/Run_FMD_experiment.m, lines 1–58 · score 0.60 · shear stress, Shear rate, mmHg, diameter

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 · 257 lines · 7.1 KB · MIT · 1 match

  1. %% This script uses data from - which can be obtain via reasonable request to Philip Ainslie:
  2. % Carr, Jay MJR, et al. "Internal carotid and brachial artery
  3. % shear‐dependent vasodilator function in young healthy humans."
  4. % The Journal of physiology 598.23 (2020): 5333-5350. Figure 2B
  5. j = 1; %for indexing if you are going through more than 1 data sets
  6. endot= [20]; %endothelial response time (tau_endo)
  7. cuttime = [150]
  8. dat = readtable(['cFMD-Table 1.csv'], 'ReadRowNames',false, 'ReadVariableNames', true);
  9. CBFv1 = dat.ShearRate_1_s_;
  10. diameter = dat.ContinuousDiameter_cm_;
  11. time = dat.Time;
  12. %Smooth and interpolate:
  13. CBFv = movmean(CBFv1, 10, 'omitmissing');
  14. diam = movmean(diameter, 10, 'omitmissing');
  15. CBF(:,1) = time;
  16. cPerc = (CBFv)/CBFv(1)-1;
  17. dPerc = diam/diam(1)-1;
  18. %convert shear stress to CBF
  19. %convert diam to radius of 0.1:
  20. sc = diam(1,1)/0.1;
  21. CBF(:,2) = CBFv.*pi.*(diam./sc).^2;%Divide by 4 to convert to radius of 0.1
  22. CBF(:,2) = CBF(:,2);%+0.6*rand(size(CBF(:,2)));
  23. %remove nans:
  24. cut = find(isnan(CBF(:,2)));
  25. time(cut) = [];
  26. CBF(cut,:) = [];
  27. diam(cut) = [];
  28. CBFv(cut) = [];
  29. cut = find(isnan(CBF(:,1)));
  30. time(cut) = [];
  31. CBF(cut,:) = [];
  32. diam(cut) = [];
  33. CBFv(cut) = [];
  34. cut = find(time > cuttime(j))
  35. time(cut) = [];
  36. CBF(cut,:) = [];
  37. diam(cut) = [];
  38. CBFv(cut) = [];
  39. cut = find(time < cutstart(j))
  40. time(cut) = [];
  41. CBF(cut,:) = [];
  42. diam(cut) = [];
  43. CBFv(cut) = [];
  44. Press = 70.*ones(size(CBF)); %Assume pressure is normal CPP = 70 mmHg
  45. load("FakeData/FMD/Paramvals.mat")
  46. %%
  47. paramvals(7) = 1; %endothelial mechanism
  48. paramvals(4) = endot(j);
  49. paramvals(8) = 1;
  50. paramvals(6) = 1;
  51. paramvals(5) = 1;
  52. paramvals(2) = CBF(1,2);
  53. try
  54. paramvals(10) = ECO2(1,2);
  55. catch
  56. paramvals(10) = 40;
  57. end
  58. %
  59. % paramvals(7) = 1;
  60. % paramvals(1) = 0.1;
  61. % paramvals(3) =1.5;
  62. % paramvals(14) = 6;
  63. % paramvals(4) = 35
  64. IC = [paramvals(2), paramvals(1), 0, 0, 0, 0, 0, 0, 0];
  65. %figure(2), plot(time, CBF(:,2)), ylabel('Flow'), yyaxis right, plot(time, diam), ylabel('Diam')
  66. for i = 1:5
  67. if i == 1
  68. paramvals(6:8) = [1,1,1]
  69. tit ='Metabolic, Myogenic, and Endothelial Mechanisms'
  70. ct = 5
  71. elseif i == 2
  72. paramvals(6:8) = [0,0,0]
  73. tit ='No CVTR'
  74. ct = 1
  75. elseif i == 3
  76. paramvals(6:8) = [0,1,1]
  77. tit ='Endothelial and Metabolic Mechanisms'
  78. ct = 3
  79. elseif i == 4
  80. paramvals(6:8) = [1,1,0]
  81. tit ='Endothelial and Myogenic Mechanisms'
  82. ct = 4
  83. elseif i == 5
  84. paramvals(6:8) = [0,1,0]
  85. tit ='Endothelial Mechanism Only'
  86. ct = 2
  87. end
  88. [t,y] = ode23(@(t, y) cerebralbloodflow_changeshearstress(t,y,paramvals,[time, Press/75], CBF, [], [], []), time(4:end)', IC);
  89. %scale diameters:
  90. if i == 1
  91. b1 = [ones(size(y(:,2))) y(:,2)]\diam(4:end);
  92. %or do just standard scaling:
  93. %b1 = [1;1];
  94. if length(find(isnan(b1))>1)
  95. b1 = [ones(size(y(:,2))) y(:,2)]\diam(1:end-3);
  96. end
  97. end
  98. sim_diam = [ones(size(y(:,2))) y(:,2)]*(b1);%if it's really bad sometimes the slope is -
  99. if 1 %turn on to plot
  100. fig = figure, nexttile,
  101. fig.Position = [-209 1482 370 364];
  102. fig.Units = 'pixels'
  103. plot(t, sim_diam, 'k', 'linewidth',3), hold on, plot(time, diam, 'k:', 'linewidth',3) %don't have to convert because radius doesn't change with CVTR off
  104. ylabel('Diameter (mm)')
  105. set(gca, 'box','off')
  106. set(gcf,'color','white')
  107. set(gca, 'fontsize',15)
  108. xlabel('Time (s)')
  109. title(tit)
  110. if i == 1
  111. title(["Metabolic, Myogenic,"; "and Endothelial Mechanisms"])
  112. ax = gca
  113. ylims = ax.YLim
  114. elseif i == 2
  115. legend('Scaled Diameter_{sim}','Diameter_{data}');%, 'CBF_{data}')%, title(['Radius = ', num2str(paramvals(1))])
  116. end
  117. ylim(ylims);
  118. if j == 1
  119. if i == 3 || i == 5
  120. axes('Position',[0.55, 0.6, 0.35, 0.3])
  121. plot(t, sim_diam, 'k', 'linewidth',3), hold on, plot(time, diam, 'k:', 'linewidth',3) %don't have to convert because radius doesn't change with CVTR off
  122. ylabel('Diameter')
  123. xlabel(' Time')
  124. set(gca, 'XTick', [])
  125. set(gca, 'YColor', 'k')
  126. set(gca, 'box','off')
  127. end
  128. elseif j == 2
  129. if i == 3 || i == 5
  130. axes('Position', [0.6500 0.2000 0.2500 0.3000])
  131. plot(t, sim_diam, 'k', 'linewidth',3), hold on, plot(time, diam, 'k:', 'linewidth',3) %don't have to convert because radius doesn't change with CVTR off
  132. ylabel('Diameter')
  133. xlabel('Time')
  134. set(gca, 'XTick', [])
  135. set(gca, 'YColor', 'k')
  136. set(gca, 'box','off')
  137. end
  138. elseif j == 3
  139. if i == 3 || i == 5
  140. axes('Position', [0.2200 0.6400 0.2500 0.2500])
  141. yyaxis right
  142. plot(t, sim_diam, 'k', 'linewidth',3), hold on, plot(time, diam, 'k:', 'linewidth',3) %don't have to convert because radius doesn't change with CVTR off
  143. ylabel('Diameter')
  144. xlabel('Time')
  145. set(gca, 'XTick', [])
  146. set(gca, 'YColor', 'k')
  147. set(gca, 'box','off')
  148. yyaxis left
  149. set(gca, 'YColor', 'none')
  150. end
  151. elseif j == 4
  152. if i == 3 || i == 5
  153. axes('Position', [0.6500 0.2000 0.2500 0.2500])
  154. plot(t, sim_diam, 'k', 'linewidth',3), hold on, plot(time, diam, 'k:', 'linewidth',3) %don't have to convert because radius doesn't change with CVTR off
  155. ylabel('Diameter')
  156. xlabel('Time')
  157. set(gca, 'XTick', [])
  158. set(gca, 'YColor', 'k')
  159. set(gca, 'box','off')
  160. end
  161. elseif j == 5
  162. if i == 3 || i == 5
  163. axes('Position', [0.2500 0.6400 0.2500 0.2500])
  164. yyaxis right
  165. plot(t, sim_diam, 'k', 'linewidth',3), hold on, plot(time, diam, 'k:', 'linewidth',3) %don't have to convert because radius doesn't change with CVTR off
  166. ylabel('Diameter')
  167. xlabel('Time')
  168. set(gca, 'XTick', [])
  169. set(gca, 'YColor', 'k')
  170. set(gca, 'box','off')
  171. yyaxis left
  172. set(gca, 'YColor', 'none')
  173. end
  174. end
  175. % saveas(gcf, [filename, '_', strrep(tit, ' ', ''), '.fig'])
  176. % saveas(gcf, [filename, '_', strrep(tit, ' ', ''), '.png'])
  177. %plot Radius
  178. fig = figure,
  179. fig.Position = [-209 1482 370 364];
  180. fig.Units = 'pixels'
  181. yyaxis right, plot(t-t(1), y(:,3:5), 'linewidth',3)
  182. if i == 2
  183. l = legend('\phi_{myo}', '\phi_{endo}', '\phi_{meta}')%, title(['Radius = ', num2str(paramvals(1))])
  184. %keyboard
  185. end
  186. set(gca, 'box','off')
  187. set(gcf,'color','white')
  188. set(gca, 'fontsize',15)
  189. xlabel('Time (s)')
  190. %tit = input("Input Title and Save Name ", "s")
  191. title(tit)
  192. if i == 1
  193. title(["Metabolic, Myogenic,"; "and Endothelial Mechanisms"])
  194. yyaxis right
  195. ax = gca
  196. yylimR = ax.YLim
  197. end
  198. yyaxis left
  199. ax2 = gca
  200. set(ax2.YAxis(1), 'Visible', 'off')
  201. yyaxis right
  202. ylim(yylimR)
  203. ylabel('Force From Mechansims')
  204. % saveas(gcf, [filename, '_', strrep(tit, ' ', ''), 'Radius.fig'])
  205. % saveas(gcf, [filename, '_', strrep(tit, ' ', ''), 'Radius.png'])
  206. if i == 1
  207. %plot pressure:
  208. fig = figure,
  209. fig.Position = [-209 1482 370 364];
  210. fig.Units = 'pixels'
  211. plot(time, CBFv, 'Color', [190, 94, 121]./215, 'linewidth',3)
  212. ylabel('Shear Rate (1/s)')
  213. xlabel('Time (s)')
  214. set(gca, 'box','off')
  215. set(gcf,'color','white')
  216. set(gca, 'fontsize',15)
  217. % saveas(fig, [filename, '_Shear.fig'])
  218. % saveas(fig, [filename, '_Shear.png'])
  219. end
  220. end
  221. corelation = corr(sim_diam, diam(4:end))
  222. mse = mean((sim_diam-diam(4:end)).^2)
  223. mse_all(ct) = [mse];
  224. corr_all(ct)= [corelation];
  225. end

Run_FMD_experiment.m at commit e540c0a, under MIT · at the source

Overview

Authors: Jennifer K. Briggs1, J. N. Stroh2, Soojin Park3,4, Brandon Foreman5, Michael M. Tymko6,7, Jay Carr8,7, Melike Sirlanci2, Philip N. Ainslie7, Richard K. P. Benninger1,9, Tellen D. Bennett2,10, David J. Albers1,2,3
ORCID iDs: J. N. Stroh
  1. Department of Biomedical Engineering, University of Colorado Denver | Anschutz,Aurora, CO USA
  2. Department of Biomedical Informatics, University of Colorado School of Medicine,Aurora, CO USA
  3. Department of Biomedical Informatics, Columbia University Irving Medical Center,New York, NY USA
  4. Department of Neurology, Columbia University Vagelos College of Physicians and Surgeons,New York, NY USA
  5. Department of Neurology, University of Cincinnati College of Medicine,Cincinnati, OH USA
  6. Integrative Cerebrovascular and Environmental Physiology (ICEP) SB Laboratory, University of Guelph,Guelph, ON Canada
  7. Centre for Heart, Lung and Vascular Health, School of Health and Exercise Sciences, University of British Columbia—Okanagan,Kelowna, BC Canada
  8. Institute of Mountain Emergency Medicine, Eurac Research,Bolzano, Italy
  9. Barbara Davis Center for Diabetes, University of Colorado Anschutz,Aurora, CO USA
  10. Department of Pediatrics (Critical Care Medicine), University of Colorado School of Medicine,Aurora, CO USA
Journal: NPJ digital medicine, volume 9, issue 1, article 428
Dates: received 3 July 2025; accepted 23 March 2026; published online 6 April 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41746-026-02600-x · PMID 41942716 · PMCID PMC13234139 · OpenAlex W7150830012
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), clinical / translational (subfield)
Methods: Smoothing, state filtering, decompositions, Statistics
Keywords: Computational biology and bioinformatics, Engineering, Neurology, Neuroscience
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: National Science Foundation (DGE-1938058Briggs); National Institutes of Health (R01 NS131606, R01 DK102950, K24 HL168225, R01 LM006910); Natural Sciences and Engineering Research Council of Canada (40165)
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 1 match between paragraphs and lines of code.

jenniferkbriggs/CereBRLSIM

License: MIT
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: e540c0a9c83411cab76f0f5a908dd624289572dd, 31 July 2025
Languages: MATLAB (14)
Size: 26 files, 14 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, license file
Not found: 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
16 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/s41746-026-02600-x.

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;
  • 14 scripts, each with its path and the digest of its content;
  • 1 match 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/s41746-026-02600-x.

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, 11 authors, 4 keywords, 3 funders, 58 references.

Cite

This paper

Briggs, J. K., Stroh, J. N., Park, S., Foreman, B., Tymko, M. M., Carr, J., Sirlanci, M., Ainslie, P. N., Benninger, R. K. P., Bennett, T. D., & Albers, D. J. (2026). Towards a physics informed digital twin to predict cerebral blood flow and cerebral vascular regulation. NPJ digital medicine, 9(1), 428. https://doi.org/10.1038/s41746-026-02600-x

BibTeX

@article{briggs2026towards,
author = {Briggs, Jennifer K. and Stroh, J. N. and Park, Soojin and Foreman, Brandon and Tymko, Michael M. and Carr, Jay and Sirlanci, Melike and Ainslie, Philip N. and Benninger, Richard K. P. and Bennett, Tellen D. and Albers, David J.},
title = {{Towards a physics informed digital twin to predict cerebral blood flow and cerebral vascular regulation}},
journal = {NPJ digital medicine},
year = {2026},
month = apr,
volume = {9},
number = {1},
pages = {428},
publisher = {Nature Publishing Group},
issn = {2398-6352},
doi = {10.1038/s41746-026-02600-x},
url = {https://doi.org/10.1038/s41746-026-02600-x},
pmid = {41942716},
pmcid = {PMC13234139}
}

RIS

TY - JOUR
AU - Briggs, Jennifer K.
AU - Stroh, J. N.
AU - Park, Soojin
AU - Foreman, Brandon
AU - Tymko, Michael M.
AU - Carr, Jay
AU - Sirlanci, Melike
AU - Ainslie, Philip N.
AU - Benninger, Richard K. P.
AU - Bennett, Tellen D.
AU - Albers, David J.
TI - Towards a physics informed digital twin to predict cerebral blood flow and cerebral vascular regulation
T2 - NPJ digital medicine
J2 - NPJ Digit Med
PY - 2026
DA - 2026/04/06
VL - 9
IS - 1
SP - 428
SN - 2398-6352
PB - Nature Publishing Group
DO - 10.1038/s41746-026-02600-x
UR - https://doi.org/10.1038/s41746-026-02600-x
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41746-026-02600-x",
"type": "article-journal",
"title": "Towards a physics informed digital twin to predict cerebral blood flow and cerebral vascular regulation",
"container-title": "NPJ digital medicine",
"author": [
{
"family": "Briggs",
"given": "Jennifer K."
},
{
"family": "Stroh",
"given": "J. N."
},
{
"family": "Park",
"given": "Soojin"
},
{
"family": "Foreman",
"given": "Brandon"
},
{
"family": "Tymko",
"given": "Michael M."
},
{
"family": "Carr",
"given": "Jay"
},
{
"family": "Sirlanci",
"given": "Melike"
},
{
"family": "Ainslie",
"given": "Philip N."
},
{
"family": "Benninger",
"given": "Richard K. P."
},
{
"family": "Bennett",
"given": "Tellen D."
},
{
"family": "Albers",
"given": "David J."
}
],
"container-title-short": "NPJ Digit Med",
"volume": "9",
"issue": "1",
"page": "428",
"DOI": "10.1038/s41746-026-02600-x",
"PMID": "41942716",
"PMCID": "PMC13234139",
"ISSN": "2398-6352",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41746-026-02600-x",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
6
]
]
}
}

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.1117/1.nph.13.3.035010
Toward comprehensive multimodal neuromonitoring of surrogates of cerebral autoregulation in traumatic brain injury: insights from a hyperventilation protocol.
Journal: Neurophotonics
In common: clinical / translational, 5 references
[2] doi:10.1038/s41598-026-47967-9
Interaction between systemic arterial reservoir behavior and cerebrovascular vasoreactivity during acute controlled hypocapnia.
Journal: Scientific reports
In common: 4 references
[3] doi:10.1117/1.jbo.31.8.086007
Time-resolved laser speckle contrast imaging (TR-LSCI) of cerebral blood flow response to intracranial pressure elevation.
Journal: Journal of biomedical optics
In common: 4 references
[4] doi:10.1038/s41467-026-71742-z [code]
Hypercapnia dissociates neuronal and hemodynamic responses impairing neurovascular coupling and functional brain connectivity.
Journal: Nature communications
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 1 reference
[5] doi:10.1111/acel.70499 [code]
Brain Aging Mediating Heart Imaging-Derived Phenotypes and Mental and Nervous System Disorders.
Journal: Aging cell
In common: 2 references
[6] doi:10.1371/journal.pcbi.1013113 [code]
Systems biology analysis of vasodynamics in mouse cerebral arterioles during resting state and functional hyperemia.
Journal: PLoS computational biology
In common: 2 references
[7] doi:10.1002/hbm.70586 [code]
Comparison of the Relationships Between Body Size and Cardiorespiratory Fitness With High Frequency Head-Motion Contamination in fMRI.
Journal: Human brain mapping
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, clinical / translational
[8] doi:10.1186/s12876-026-05097-6 [code]
Brain network correlates of fatigue, depression, and anxiety in patients with Crohn's Disease in different disease states.
Journal: BMC gastroenterology
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, clinical / translational
[9] doi:10.1016/j.bbih.2026.101299 [code]
Multimodal approach to identify neuropsychophysiological subgroups in myalgic encephalomyelitis/chronic fatigue syndrome and their relevance for rehabilitation: protocol for a mechanistic cross-sectional and longitudinal study.
Journal: Brain, behavior, & immunity - health
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, clinical / translational
[10] doi:10.1002/hbm.70602 [code]
Neuroimaging Correlates of Post-Stroke Pain After Ischemic Stroke: Secondary Analysis of the INSPiRE-TMS Trial.
Journal: Human brain mapping
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, 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.