OSCR

A single Citrobacter rodentium infection in Pink1 knockout and wild-type mice leads to regional blood-brain-barrier perturbation and limited microglial activation without dopamine neuron axon terminal loss.

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 · 2 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
  1. [1] § Materials and methods › Magnetic Resonance Imaging (MRI) of the brain and image processing ↔ Mukherjee-2026/MRI/rarevtr_pipeline.py, lines 170 to 191 · score 0.78 · bias field correction, affine registration, T1 maps, skull, fitting, segmented · block oscr:b:7WVCGPVKD3S47-Z · Report a mismatch
  2. [2] § Results › Citrobacter rodentium infection leads to a regional increase in blood brain barrier permeability in both Pink1 WT and KO mice ↔ Mukherjee-2026/MRI/rarevtr_roi_analysis.m, lines 219 to 332 · score 0.77 · Earth Mover, post CA, dentate gyrus, T1 mapping, ROI, Distance · block oscr:b:BC7BY6VA00EGE-9 · Report a mismatch
  3. [3] § Materials and methods › Magnetic Resonance Imaging (MRI) of the brain and image processing ↔ sherm.m, the whole file · a weak match · score 0.75 · descriptor selected extremal, morphologically filtering, SHERM, volumes, distance, resolution · block oscr:b:HTPD89JWPETSW-Y · Report a mismatch
  4. [4] § Materials and methods › Magnetic Resonance Imaging (MRI) of the brain and image processing ↔ Mukherjee-2026/MRI/rarevtr_t1fit.m, the whole file · a weak match · score 0.71 · RARE VTR, T1 mapping, repetition, scan, MRI · block oscr:b:2QDK53T6H81ZF-4 · Report a mismatch
  5. [5] § Results › Citrobacter rodentium infection leads to a regional increase in blood brain barrier permeability in both Pink1 WT and KO mice ↔ Mukherjee-2026/MRI/rarevtr_roi_analysis.m, lines 333 to 412 · score 0.70 · primary somatosensory cortex, pre CA, post CA, dentate gyrus, ROI, thalamus · block oscr:b:8N43F344CBKSK-L · 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 · 685 lines · 39 KB · MIT · 2 matches

  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. % RARE VTR ROI ANALYSIS PIPELINE
  3. % ANALYZES COHORT 2 OF THE PD MOUSE STUDY
  4. % ADAPTED TO ALSO ANALYZE COHORT 1
  5. % WRITTEN BY VG 2022
  6. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  7. % cohort 1
  8. data_path_cohort0 = ['/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/170/niftis/RAREVTR_14'; ...
  9. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/170/niftis/RAREVTR_20'; ...
  10. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/174/niftis/RAREVTR_12'; ...
  11. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/174/niftis/RAREVTR_16'; ...
  12. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/175/niftis/RAREVTR_14'; ...
  13. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/175/niftis/RAREVTR_19'; ...
  14. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/181/niftis/RAREVTR_14'; ...
  15. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/181/niftis/RAREVTR_19'; ...
  16. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/354/niftis/RAREVTR_15'; ...
  17. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/354/niftis/RAREVTR_20'; ...
  18. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/356/niftis/RAREVTR_14'; ...
  19. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/356/niftis/RAREVTR_20'; ...
  20. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/388/niftis/RAREVTR_14'; ...
  21. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/388/niftis/RAREVTR_19'; ...
  22. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/432/niftis/RAREVTR_12'; ...
  23. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/432/niftis/RAREVTR_16'; ...
  24. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/434/niftis/RAREVTR_12'; ...
  25. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/434/niftis/RAREVTR_16'; ...
  26. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/435/niftis/RAREVTR_13'; ...
  27. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/435/niftis/RAREVTR_20'; ...
  28. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/436/niftis/RAREVTR_12'; ...
  29. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/436/niftis/RAREVTR_17'; ...
  30. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/441/niftis/RAREVTR_12'; ...
  31. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/441/niftis/RAREVTR_16'; ...
  32. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/442/niftis/RAREVTR_14'; ...
  33. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/442/niftis/RAREVTR_17'; ...
  34. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/444/niftis/RAREVTR_13'; ...
  35. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/444/niftis/RAREVTR_19'; ...
  36. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/446/niftis/RAREVTR_13'; ...
  37. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/446/niftis/RAREVTR_17'; ...
  38. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/449/niftis/RAREVTR_15'; ...
  39. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/449/niftis/RAREVTR_18'; ...
  40. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/476/niftis/RAREVTR_12'; ...
  41. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/476/niftis/RAREVTR_16'; ...
  42. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/477/niftis/RAREVTR_15'; ...
  43. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_0/477/niftis/RAREVTR_19'];
  44. data_path_cohort1 = ['/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/131/niftis/RAREVTR_19'; ...
  45. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/131/niftis/RAREVTR_25'; ...
  46. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/155/niftis/RAREVTR_10'; ...
  47. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/155/niftis/RAREVTR_16'; ...
  48. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/261/niftis/RAREVTR_14'; ...
  49. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/261/niftis/RAREVTR_18'; ...
  50. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/263/niftis/RAREVTR_16'; ...
  51. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/263/niftis/RAREVTR_22'; ...
  52. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/270/niftis/RAREVTR_25'; ...
  53. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/270/niftis/RAREVTR_31'; ...
  54. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/271/niftis/RAREVTR_14'; ...
  55. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/271/niftis/RAREVTR_21'; ...
  56. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/274/niftis/RAREVTR_12'; ...
  57. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/274/niftis/RAREVTR_17'; ...
  58. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/275/niftis/RAREVTR_13'; ...
  59. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/275/niftis/RAREVTR_18'; ...
  60. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/276/niftis/RAREVTR_10'; ...
  61. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/276/niftis/RAREVTR_15'; ...
  62. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/428/niftis/RAREVTR_12'; ...
  63. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/428/niftis/RAREVTR_18'; ...
  64. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/433/niftis/RAREVTR_13'; ...
  65. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/433/niftis/RAREVTR_19'; ...
  66. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/435/niftis/RAREVTR_14'; ...
  67. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/435/niftis/RAREVTR_20'; ...
  68. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/438/niftis/RAREVTR_13'; ...
  69. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/438/niftis/RAREVTR_19'; ...
  70. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/440/niftis/RAREVTR_14'; ...
  71. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/440/niftis/RAREVTR_19'; ...
  72. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/444/niftis/RAREVTR_12'; ...
  73. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/444/niftis/RAREVTR_18'; ...
  74. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/445/niftis/RAREVTR_14'; ...
  75. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/445/niftis/RAREVTR_22'; ...
  76. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/449/niftis/RAREVTR_15'; ...
  77. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/449/niftis/RAREVTR_23'; ...
  78. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/453/niftis/RAREVTR_10'; ...
  79. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/453/niftis/RAREVTR_15'; ...
  80. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/464/niftis/RAREVTR_10'; ...
  81. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/464/niftis/RAREVTR_17'; ...
  82. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/508/niftis/RAREVTR_17'; ...
  83. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/508/niftis/RAREVTR_26'; ...
  84. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/509/niftis/RAREVTR_10'; ...
  85. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/509/niftis/RAREVTR_16'; ...
  86. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/513/niftis/RAREVTR_15'; ...
  87. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/513/niftis/RAREVTR_21'; ...
  88. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/514/niftis/RAREVTR_16'; ...
  89. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/514/niftis/RAREVTR_23'; ...
  90. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/519/niftis/RAREVTR_10'; ...
  91. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/519/niftis/RAREVTR_16'; ...
  92. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/535/niftis/RAREVTR_14'; ...
  93. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/535/niftis/RAREVTR_22'; ...
  94. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/536/niftis/RAREVTR_13'; ...
  95. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/536/niftis/RAREVTR_19'; ...
  96. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/538/niftis/RAREVTR_13'; ...
  97. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/538/niftis/RAREVTR_22'; ...
  98. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/542/niftis/RAREVTR_16'; ...
  99. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/542/niftis/RAREVTR_22'; ...
  100. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/543/niftis/RAREVTR_12'; ...
  101. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/543/niftis/RAREVTR_22'; ...
  102. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/544/niftis/RAREVTR_12'; ...
  103. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/544/niftis/RAREVTR_21'; ...
  104. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/592/niftis/RAREVTR_13'; ...
  105. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/592/niftis/RAREVTR_25'; ...
  106. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/593/niftis/RAREVTR_10'; ...
  107. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/593/niftis/RAREVTR_16'; ...
  108. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/594/niftis/RAREVTR_13'; ...
  109. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/594/niftis/RAREVTR_19'; ...
  110. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/664/niftis/RAREVTR_13'; ...
  111. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/664/niftis/RAREVTR_20'; ...
  112. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/665/niftis/RAREVTR_17'; ...
  113. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/665/niftis/RAREVTR_23'; ...
  114. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/674/niftis/RAREVTR_12'; ...
  115. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/674/niftis/RAREVTR_18'; ...
  116. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/676/niftis/RAREVTR_13'; ...
  117. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/676/niftis/RAREVTR_18'; ...
  118. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/677/niftis/RAREVTR_10'; ...
  119. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/677/niftis/RAREVTR_16'; ...
  120. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/678/niftis/RAREVTR_10'; ...
  121. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/678/niftis/RAREVTR_21'; ...
  122. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/681/niftis/RAREVTR_12'; ...
  123. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_1/681/niftis/RAREVTR_19'];
  124. data_path_cohort2 = ['/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/698/niftis/RAREVTR_14'; ...
  125. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/698/niftis/RAREVTR_17'; ...
  126. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/702/niftis/RAREVTR_12'; ...
  127. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/702/niftis/RAREVTR_22'; ...
  128. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/703/niftis/RAREVTR_12'; ...
  129. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/703/niftis/RAREVTR_18'; ...
  130. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/706/niftis/RAREVTR_14'; ...
  131. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/706/niftis/RAREVTR_18'; ...
  132. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/707/niftis/RAREVTR_16'; ...
  133. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/707/niftis/RAREVTR_24'; ...
  134. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/711/niftis/RAREVTR_12'; ...
  135. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/711/niftis/RAREVTR_21'; ...
  136. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/713/niftis/RAREVTR_12'; ...
  137. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/713/niftis/RAREVTR_18'; ...
  138. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/725/niftis/RAREVTR_12'; ...
  139. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/725/niftis/RAREVTR_19'; ...
  140. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/726/niftis/RAREVTR_13'; ...
  141. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/726/niftis/RAREVTR_17'; ...
  142. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/727/niftis/RAREVTR_12'; ...
  143. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/727/niftis/RAREVTR_16'; ...
  144. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/729/niftis/RAREVTR_14'; ...
  145. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/729/niftis/RAREVTR_22'; ...
  146. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/731/niftis/RAREVTR_15'; ...
  147. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/731/niftis/RAREVTR_20'; ...
  148. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/733/niftis/RAREVTR_16'; ...
  149. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/733/niftis/RAREVTR_28'; ...
  150. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/734/niftis/RAREVTR_15'; ...
  151. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/734/niftis/RAREVTR_24'; ...
  152. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/735/niftis/RAREVTR_18'; ...
  153. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/735/niftis/RAREVTR_23'; ...
  154. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/777/niftis/RAREVTR_14'; ...
  155. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/777/niftis/RAREVTR_18'; ...
  156. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/778/niftis/RAREVTR_16'; ...
  157. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/778/niftis/RAREVTR_23'; ...
  158. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/779/niftis/RAREVTR_18'; ...
  159. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/779/niftis/RAREVTR_24'; ...
  160. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/782/niftis/RAREVTR_29'; ...
  161. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/782/niftis/RAREVTR_39'; ...
  162. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/784/niftis/RAREVTR_19'; ...
  163. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/784/niftis/RAREVTR_30'; ...
  164. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/788/niftis/RAREVTR_14'; ...
  165. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/788/niftis/RAREVTR_19'; ...
  166. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/812/niftis/RAREVTR_13'; ...
  167. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/812/niftis/RAREVTR_20'; ...
  168. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/817/niftis/RAREVTR_13'; ...
  169. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/817/niftis/RAREVTR_24'; ...
  170. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/818/niftis/RAREVTR_12'; ...
  171. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/818/niftis/RAREVTR_21'; ...
  172. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/821/niftis/RAREVTR_16'; ...
  173. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/821/niftis/RAREVTR_24'; ...
  174. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/825/niftis/RAREVTR_15'; ...
  175. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/825/niftis/RAREVTR_19'; ...
  176. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/833/niftis/RAREVTR_14'; ...
  177. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/833/niftis/RAREVTR_18'; ...
  178. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/834/niftis/RAREVTR_12'; ...
  179. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/834/niftis/RAREVTR_19'; ...
  180. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/838/niftis/RAREVTR_12'; ...
  181. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/838/niftis/RAREVTR_16'; ...
  182. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/839/niftis/RAREVTR_12'; ...
  183. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/839/niftis/RAREVTR_22'; ...
  184. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/843/niftis/RAREVTR_15'; ...
  185. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/843/niftis/RAREVTR_24'; ...
  186. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/845/niftis/RAREVTR_12'; ...
  187. '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2/845/niftis/RAREVTR_21'];
  188. %% Run the analysis
  189. % add niftitools and EMD toolbox to path
  190. addpath(genpath('/data/rudko/vgrouza/invivomouse/niftitools'));
  191. addpath(genpath('/data/rudko/vgrouza/invivomouse/emd-2005-02'));
  192. addpath(genpath('/data/rudko/vgrouza/invivomouse/jsdiv'));
  193. allSubjectPars = [];
  194. allSubjectDir = '/data/rudko/vgrouza/invivomouse/pddata/data/cohort_2';
  195. allSubjectFileName = 't1_Cohort2SubjectParsBS.csv';
  196. currDataPath = data_path_cohort2;
  197. cohort_num = 2;
  198. for i = 1:2:size(currDataPath, 1)
  199. % Don't forget to change the cohort!
  200. currSubjectPars = struct2table(run_analysis(currDataPath(i,:), currDataPath(i+1,:), cohort_num));
  201. allSubjectPars = [allSubjectPars; currSubjectPars];
  202. end
  203. writetable(allSubjectPars, fullfile(allSubjectDir, allSubjectFileName), 'delimiter',',');
  204. fprintf('Completed Analysis of %d subjects. \n', size(currDataPath, 1)/2);
  205. %% MAIN ANALYSIS FUNCTION
  206. function currSubjectPars = run_analysis(input_path_pre, input_path_post, cohort_number)
  207. % get subject summary information
  208. currSubjectPars = parse_subject_parameters(input_path_pre, cohort_number);
  209. currSubjectPars.PathToPre = input_path_pre;
  210. currSubjectPars.PathToPost = input_path_post;
  211. fprintf('Processing subject %d... \n', currSubjectPars.ID);
  212. % get T1 distributions within ROIS pre- and post-ca injection
  213. T1HistogramsPre = segment_t1_map(input_path_pre);
  214. T1HistogramsPost = segment_t1_map(input_path_post);
  215. % compute wasserstein/earth mover's distance for each roi
  216. % STRIATUM
  217. % Simple Mean
  218. currSubjectPars.T1pre_striatum = T1HistogramsPre.T1_Striatum;
  219. currSubjectPars.T1post_striatum = T1HistogramsPost.T1_Striatum;
  220. % EMD
  221. [~, currSubjectPars.EMDstriatum] = emd(T1HistogramsPre.BinSupport', ...
  222. T1HistogramsPost.BinSupport', ...
  223. T1HistogramsPre.Striatum', ...
  224. T1HistogramsPost.Striatum', ...
  225. @gdf);
  226. % Z value
  227. [p, h, stats] = ranksum(T1HistogramsPre.ROI_Striatum, T1HistogramsPost.ROI_Striatum, ...
  228. 'alpha',0.01, ...
  229. 'tail','right');
  230. currSubjectPars.zval_striatum = stats.zval;
  231. % T Test
  232. [h, p, ~, stats_t] = ttest2(T1HistogramsPre.ROI_Striatum, T1HistogramsPost.ROI_Striatum, 'Vartype','unequal')
  233. % THALAMUS
  234. % Simple Mean
  235. currSubjectPars.T1pre_thalamus = T1HistogramsPre.T1_Thalamus;
  236. currSubjectPars.T1post_thalamus = T1HistogramsPost.T1_Thalamus;
  237. % EMD
  238. [~, currSubjectPars.EMDthalamus] = emd(T1HistogramsPre.BinSupport', ...
  239. T1HistogramsPost.BinSupport', ...
  240. T1HistogramsPre.Thalamus', ...
  241. T1HistogramsPost.Thalamus', ...
  242. @gdf);
  243. % Z value
  244. [p, h, stats] = ranksum(T1HistogramsPre.ROI_Thalamus, T1HistogramsPost.ROI_Thalamus, ...
  245. 'alpha',0.01, ...
  246. 'tail','right');
  247. currSubjectPars.zval_thalamus = stats.zval;
  248. % T Test
  249. [h, p, ~, stats_t] = ttest2(T1HistogramsPre.ROI_Thalamus, T1HistogramsPost.ROI_Thalamus, 'Vartype','unequal')
  250. % PRIMARY SSC
  251. % Simple Mean
  252. currSubjectPars.T1pre_pssc = T1HistogramsPre.T1_PrimarySSC;
  253. currSubjectPars.T1post_pssc = T1HistogramsPost.T1_PrimarySSC;
  254. % EMD
  255. [~, currSubjectPars.EMDpssc] = emd(T1HistogramsPre.BinSupport', ...
  256. T1HistogramsPost.BinSupport', ...
  257. T1HistogramsPre.PrimarySSC', ...
  258. T1HistogramsPost.PrimarySSC', ...
  259. @gdf);
  260. % Z value
  261. [p, h, stats] = ranksum(T1HistogramsPre.ROI_PrimarySSC, T1HistogramsPost.ROI_PrimarySSC, ...
  262. 'alpha',0.01, ...
  263. 'tail','right');
  264. currSubjectPars.zval_pssc = stats.zval;
  265. % T Test
  266. [h, p, ~, stats_t] = ttest2(T1HistogramsPre.ROI_PrimarySSC, T1HistogramsPost.ROI_PrimarySSC, 'Vartype','unequal')
  267. % DENTATE GYRUS
  268. % Simple Mean
  269. currSubjectPars.T1pre_dg = T1HistogramsPre.T1_DentateGyrus;
  270. currSubjectPars.T1post_dg = T1HistogramsPost.T1_DentateGyrus;
  271. % EMD
  272. [~, currSubjectPars.EMDdg] = emd(T1HistogramsPre.BinSupport', ...
  273. T1HistogramsPost.BinSupport', ...
  274. T1HistogramsPre.DentateGyrus', ...
  275. T1HistogramsPost.DentateGyrus', ...
  276. @gdf);
  277. % Z value
  278. [p, h, stats] = ranksum(T1HistogramsPre.ROI_DentateGyrus, T1HistogramsPost.ROI_DentateGyrus, ...
  279. 'alpha',0.01, ...
  280. 'tail','right');
  281. currSubjectPars.zval_dg = stats.zval;
  282. % T Test
  283. [h, p, ~, stats_t] = ttest2(T1HistogramsPre.ROI_DentateGyrus, T1HistogramsPost.ROI_DentateGyrus, 'Vartype','unequal')
  284. % generate a summary figure
  285. % generate_figure(currSubjectPars, T1HistogramsPre, T1HistogramsPost);
  286. %generate_figure_bs(currSubjectPars, T1HistogramsPre, T1HistogramsPost);
  287. % save Pars and Histograms as .csv
  288. currSubjectPars = orderfields(currSubjectPars, [1 2 3 4 5 6 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 7 8 9]);
  289. fooTable = struct2table(currSubjectPars);
  290. writetable(fooTable, fullfile(currSubjectPars.PathToStudy, 't1_SubjectPars.csv'), 'delimiter',',');
  291. disp('Done.')
  292. end
  293. %% SUPPORTING FUNCTIONS
  294. function [] = generate_figure(currSubjectPars, T1HistogramsPre, T1HistogramsPost)
  295. close all;
  296. curr_fig = figure(1);
  297. set(gcf, 'Color', 'w', 'Position',[0 0 1200 800]);
  298. sgtitle(sprintf('VTR T_1 Summary for Subject %s %d', currSubjectPars.Genotype, currSubjectPars.ID), 'FontWeight', 'b');
  299. subplot(2,2,1); hold on;
  300. % Thalamus
  301. t1mean_pre = T1HistogramsPre.T1_Thalamus;
  302. t1mean_post = T1HistogramsPost.T1_Thalamus;
  303. bar(T1HistogramsPre.BinSupport, T1HistogramsPre.Thalamus, 'FaceColor', [0.8 0.8 0.8], 'FaceAlpha', 1);
  304. bar(T1HistogramsPost.BinSupport, T1HistogramsPost.Thalamus, 'r', 'FaceAlpha', 0.5);
  305. text(1750, 0.15, sprintf('EMD = %2.1f', currSubjectPars.EMDthalamus));
  306. text(2500, 0.1, sprintf('T1_{pre} = %2.1f msec', t1mean_pre))
  307. text(1600, 0.1, sprintf('T1_{post} = %2.1f msec', t1mean_post))
  308. title('(i). Thalamus');
  309. subplot(2,2,2); hold on;
  310. % Striatum
  311. t1mean_pre = T1HistogramsPre.T1_Striatum;
  312. t1mean_post = T1HistogramsPost.T1_Striatum;
  313. bar(T1HistogramsPre.BinSupport, T1HistogramsPre.Striatum, 'FaceColor', [0.8 0.8 0.8], 'FaceAlpha', 1);
  314. bar(T1HistogramsPost.BinSupport, T1HistogramsPost.Striatum, 'r', 'FaceAlpha', 0.5);
  315. text(1750, 0.15, sprintf('EMD = %2.1f', currSubjectPars.EMDstriatum));
  316. text(2500, 0.1, sprintf('T1_{pre} = %2.1f msec', t1mean_pre))
  317. text(1600, 0.1, sprintf('T1_{post} = %2.1f msec', t1mean_post))
  318. title('(ii). Striatum');
  319. subplot(2,2,3); hold on;
  320. % Primary Somatosensory Cortex
  321. t1mean_pre = T1HistogramsPre.T1_PrimarySSC;
  322. t1mean_post = T1HistogramsPost.T1_PrimarySSC;
  323. bar(T1HistogramsPre.BinSupport, T1HistogramsPre.PrimarySSC, 'FaceColor', [0.8 0.8 0.8], 'FaceAlpha', 1);
  324. bar(T1HistogramsPost.BinSupport, T1HistogramsPost.PrimarySSC, 'r', 'FaceAlpha', 0.5);
  325. text(1750, 0.15, sprintf('EMD = %2.1f', currSubjectPars.EMDpssc));
  326. text(2500, 0.1, sprintf('T1_{pre} = %2.1f msec', t1mean_pre))
  327. text(1600, 0.1, sprintf('T1_{post} = %2.1f msec', t1mean_post))
  328. title('(iii). Primary SSC');
  329. subplot(2,2,4); hold on;
  330. % Dentate Gyrus
  331. t1mean_pre = T1HistogramsPre.T1_DentateGyrus;
  332. t1mean_post = T1HistogramsPost.T1_DentateGyrus;
  333. bar(T1HistogramsPre.BinSupport, T1HistogramsPre.DentateGyrus, 'FaceColor', [0.8 0.8 0.8], 'FaceAlpha', 1);
  334. bar(T1HistogramsPost.BinSupport, T1HistogramsPost.DentateGyrus, 'r', 'FaceAlpha', 0.5);
  335. text(1750, 0.15, sprintf('EMD = %2.1f', currSubjectPars.EMDdg));
  336. text(2500, 0.1, sprintf('T1_{pre} = %2.1f msec', t1mean_pre))
  337. text(1600, 0.1, sprintf('T1_{post} = %2.1f msec', t1mean_post))
  338. title('(iv). Dentate Gyrus');
  339. for i = 1:4
  340. subplot(2,2,i);
  341. set(gca, 'LineWidth', 2, 'FontWeight', 'b', 'FontSize', 10);
  342. xlabel('T_1 (msec)'); ylabel('Density');
  343. xlim([1500, 3000]); ylim([0, 0.2]);
  344. legend('Pre-CA', 'Post-CA', 'Location', 'NorthEast')
  345. end
  346. % save figure to main Bruker study directory
  347. if currSubjectPars.Infected == 0 && currSubjectPars.Timepoint > 0
  348. fig_string = sprintf('%d_%s_noninfected_t1_summary.png', ...
  349. currSubjectPars.ID, ...
  350. currSubjectPars.Genotype);
  351. elseif currSubjectPars.Infected == 1
  352. fig_string = sprintf('%d_%s_infected_t1_summary.png', ...
  353. currSubjectPars.ID, ...
  354. currSubjectPars.Genotype);
  355. elseif currSubjectPars.Timepoint == -1
  356. fig_string = sprintf('%d_%s_ptx_treated_t1_summary.png', ...
  357. currSubjectPars.ID, ...
  358. currSubjectPars.Genotype);
  359. elseif currSubjectPars.Timepoint == 0
  360. fig_string = sprintf('%d_%s_ptx_control_t1_summary.png', ...
  361. currSubjectPars.ID, ...
  362. currSubjectPars.Genotype);
  363. end
  364. saveas(curr_fig, fullfile(fileparts(currSubjectPars.PathToStudy), fig_string));
  365. end
  366. function [] = generate_figure_bs(currSubjectPars, T1HistogramsPre, T1HistogramsPost)
  367. curr_fig = figure(2);
  368. set(gcf, 'Color', 'w', 'Position',[0 0 1200 800]);
  369. sgtitle(sprintf('VTR T_1 Summary for Subject %s %d', currSubjectPars.Genotype, currSubjectPars.ID), 'FontWeight', 'b');
  370. subplot(2,2,1); hold on;
  371. % Thalamus
  372. t1mean_pre = T1HistogramsPre.T1_Thalamus;
  373. t1mean_post = T1HistogramsPost.T1_Thalamus;
  374. bar(T1HistogramsPre.BinSupport, T1HistogramsPre.ThalamusBS, 'FaceColor', [0.8 0.8 0.8], 'FaceAlpha', 1);
  375. bar(T1HistogramsPost.BinSupport, T1HistogramsPost.ThalamusBS, 'r', 'FaceAlpha', 0.5);
  376. %[h, p] = ttest2(T1HistogramsPre.ThalamusBS, T1HistogramsPost.ThalamusBS, 'alpha', 0.05, 'Vartype','unequal')
  377. [p, h, stats] = ranksum(T1HistogramsPre.ROI_Thalamus, T1HistogramsPost.ROI_Thalamus, 'alpha',0.01,...
  378. 'tail','right')
  379. text(1750, 0.15, sprintf('EMD = %2.1f', currSubjectPars.EMDthalamus));
  380. text(2500, 0.1, sprintf('T1_{pre} = %2.1f msec', t1mean_pre))
  381. text(1600, 0.1, sprintf('T1_{post} = %2.1f msec', t1mean_post))
  382. title('(i). Thalamus');
  383. subplot(2,2,2); hold on;
  384. % Striatum
  385. t1mean_pre = T1HistogramsPre.T1_Striatum;
  386. t1mean_post = T1HistogramsPost.T1_Striatum;
  387. bar(T1HistogramsPre.BinSupport, T1HistogramsPre.StriatumBS, 'FaceColor', [0.8 0.8 0.8], 'FaceAlpha', 1);
  388. bar(T1HistogramsPost.BinSupport, T1HistogramsPost.StriatumBS, 'r', 'FaceAlpha', 0.5);
  389. % [h, p] = ttest2(T1HistogramsPre.StriatumBS, T1HistogramsPost.StriatumBS, 'alpha', 0.05, 'Vartype','unequal')
  390. [p, h, stats] = ranksum(T1HistogramsPre.ROI_Striatum, T1HistogramsPost.ROI_Striatum, 'alpha',0.01,...
  391. 'tail','right')
  392. text(1750, 0.15, sprintf('EMD = %2.1f', currSubjectPars.EMDstriatum));
  393. text(2500, 0.1, sprintf('T1_{pre} = %2.1f msec', t1mean_pre))
  394. text(1600, 0.1, sprintf('T1_{post} = %2.1f msec', t1mean_post))
  395. title('(ii). Striatum');
  396. subplot(2,2,3); hold on;
  397. % Primary Somatosensory Cortex
  398. t1mean_pre = T1HistogramsPre.T1_PrimarySSC;
  399. t1mean_post = T1HistogramsPost.T1_PrimarySSC;
  400. bar(T1HistogramsPre.BinSupport, T1HistogramsPre.PrimarySSCBS, 'FaceColor', [0.8 0.8 0.8], 'FaceAlpha', 1);
  401. bar(T1HistogramsPost.BinSupport, T1HistogramsPost.PrimarySSCBS, 'r', 'FaceAlpha', 0.5);
  402. %[h, p] = ttest2(T1HistogramsPre.PrimarySSCBS, T1HistogramsPost.PrimarySSCBS, 'alpha', 0.05, 'Vartype','unequal')
  403. [p, h, stats] = ranksum(T1HistogramsPre.ROI_PrimarySSC, T1HistogramsPost.ROI_PrimarySSC,'alpha',0.01,...
  404. 'tail','right')
  405. text(1750, 0.15, sprintf('EMD = %2.1f', currSubjectPars.EMDpssc));
  406. text(2500, 0.1, sprintf('T1_{pre} = %2.1f msec', t1mean_pre))
  407. text(1600, 0.1, sprintf('T1_{post} = %2.1f msec', t1mean_post))
  408. title('(iii). Primary SSC');
  409. subplot(2,2,4); hold on;
  410. % Dentate Gyrus
  411. t1mean_pre = T1HistogramsPre.T1_DentateGyrus;
  412. t1mean_post = T1HistogramsPost.T1_DentateGyrus;
  413. bar(T1HistogramsPre.BinSupport, T1HistogramsPre.DentateGyrusBS, 'FaceColor', [0.8 0.8 0.8], 'FaceAlpha', 1);
  414. bar(T1HistogramsPost.BinSupport, T1HistogramsPost.DentateGyrusBS, 'r', 'FaceAlpha', 0.5);
  415. %[h, p] = ttest2(T1HistogramsPre.DentateGyrusBS, T1HistogramsPost.DentateGyrusBS, 'alpha', 0.05, 'Vartype','unequal')
  416. [p, h, stats] = ranksum(T1HistogramsPre.ROI_DentateGyrus, T1HistogramsPost.ROI_DentateGyrus, 'alpha',0.01,...
  417. 'tail','right')
  418. text(1750, 0.15, sprintf('EMD = %2.1f', currSubjectPars.EMDdg));
  419. text(2500, 0.1, sprintf('T1_{pre} = %2.1f msec', t1mean_pre))
  420. text(1600, 0.1, sprintf('T1_{post} = %2.1f msec', t1mean_post))
  421. title('(iv). Dentate Gyrus');
  422. for i = 1:4
  423. subplot(2,2,i);
  424. set(gca, 'LineWidth', 2, 'FontWeight', 'b', 'FontSize', 10);
  425. xlabel('T_1 (msec)'); ylabel('Density');
  426. xlim([1500, 3000]); ylim([0, 0.2]);
  427. legend('Pre-CA', 'Post-CA', 'Location', 'NorthEast')
  428. end
  429. % save figure to main Bruker study directory
  430. if currSubjectPars.Infected == 0 && currSubjectPars.Timepoint > 0
  431. fig_string = sprintf('%d_%s_noninfected_t1_summaryBS.png', ...
  432. currSubjectPars.ID, ...
  433. currSubjectPars.Genotype);
  434. elseif currSubjectPars.Infected == 1
  435. fig_string = sprintf('%d_%s_infected_t1_summaryBS.png', ...
  436. currSubjectPars.ID, ...
  437. currSubjectPars.Genotype);
  438. elseif currSubjectPars.Timepoint == -1
  439. fig_string = sprintf('%d_%s_ptx_treated_t1_summaryBS.png', ...
  440. currSubjectPars.ID, ...
  441. currSubjectPars.Genotype);
  442. elseif currSubjectPars.Timepoint == 0
  443. fig_string = sprintf('%d_%s_ptx_control_t1_summaryBS.png', ...
  444. currSubjectPars.ID, ...
  445. currSubjectPars.Genotype);
  446. end
  447. saveas(curr_fig, fullfile(fileparts(currSubjectPars.PathToStudy), fig_string));
  448. end
  449. function T1Histograms = segment_t1_map(input_path)
  450. % segment the T1 map using DSURQE atlas labels warped to native space
  451. % load t1 map and labels
  452. t1map = load_nii(fullfile(input_path, 't1_map_corrected.nii.gz')).img;
  453. labels = round(load_nii(fullfile(input_path, 'labels_inv.nii.gz')).img);
  454. % specify bin widths for t1 histograms
  455. bin_width = 25;
  456. bin_edges = 1500:bin_width:3000;
  457. bin_support = (bin_edges(1)+bin_width/2):bin_width:(bin_edges(end)-bin_width/2);
  458. % set roi labels based on DSURQE atlas
  459. thalamus_idx = [204, 4];
  460. striatum_idx = [7, 17];
  461. primary_ssc_idx = [111, 280];
  462. dentate_gyrus_idx = 326:331;
  463. % pur roi labels into a cell so we can cycle through them
  464. roi_cell{1} = thalamus_idx;
  465. roi_cell{2} = striatum_idx;
  466. roi_cell{3} = primary_ssc_idx;
  467. roi_cell{4} = dentate_gyrus_idx;
  468. % cycle through rois
  469. bin_density_matrix = zeros(length(roi_cell), length(bin_support));
  470. bin_density_bs_matrix = zeros(length(roi_cell), length(bin_support));
  471. t1_mean_matrix = zeros(length(roi_cell), 1);
  472. NBTSTRP = 1000;
  473. for i = 1:length(roi_cell)
  474. roi_nums = roi_cell{i};
  475. % segment roi within the whole t1 map
  476. roi_labels = zeros(size(labels));
  477. for j = 1:length(roi_nums)
  478. roi_labels = roi_labels + (labels == roi_nums(j));
  479. end
  480. % bin the t1 values into predefined histogram support
  481. t1_roi = rmoutliers(t1map(roi_labels > 0));
  482. [bin_density, ~] = histcounts(t1_roi, ...
  483. bin_edges, ...
  484. 'Normalization', 'probability');
  485. bin_density_matrix(i, :) = bin_density;
  486. t1_mean_matrix(i, 1) = mean(t1_roi);
  487. for j = 1:NBTSTRP
  488. [bin_density_bs(i,:), ~] = histcounts(datasample(t1_roi, NBTSTRP), ...
  489. bin_edges, ...
  490. 'Normalization', 'probability');
  491. end
  492. bin_density_bs = mean(bin_density_bs, 1);
  493. bin_density_bs_matrix(i, :) = bin_density_bs;
  494. if i == 1
  495. T1Histograms.ROI_Thalamus = t1_roi;
  496. elseif i == 2
  497. T1Histograms.ROI_Striatum = t1_roi;
  498. elseif i == 3
  499. T1Histograms.ROI_PrimarySSC = t1_roi;
  500. elseif i == 4
  501. T1Histograms.ROI_DentateGyrus = t1_roi;
  502. end
  503. end
  504. T1Histograms.BinSupport = bin_support;
  505. T1Histograms.Thalamus = bin_density_matrix(1,:);
  506. T1Histograms.ThalamusBS = bin_density_bs_matrix(1,:);
  507. T1Histograms.T1_Thalamus = t1_mean_matrix(1,1);
  508. T1Histograms.Striatum = bin_density_matrix(2,:);
  509. T1Histograms.StriatumBS = bin_density_bs_matrix(2,:);
  510. T1Histograms.T1_Striatum = t1_mean_matrix(2,1);
  511. T1Histograms.PrimarySSC = bin_density_matrix(3,:);
  512. T1Histograms.PrimarySSCBS = bin_density_bs_matrix(3,:);
  513. T1Histograms.T1_PrimarySSC = t1_mean_matrix(3,1);
  514. T1Histograms.DentateGyrus = bin_density_matrix(4,:);
  515. T1Histograms.DentateGyrusBS = bin_density_bs_matrix(4,:);
  516. T1Histograms.T1_DentateGyrus = t1_mean_matrix(4,1);
  517. end
  518. function SubjectPars = parse_subject_parameters(input_path_pre, cohort_number)
  519. % gets summary information about the current subject
  520. % aggregate identifying subject parameters from Bruker "./subject" file
  521. pathparts = strsplit(input_path_pre,filesep);
  522. study_path = strcat('/', fullfile(pathparts{1:end-2}));
  523. % load subject file into string array
  524. fid = fopen(fullfile(study_path, 'subject'),'r');
  525. subject_file = fread(fid,Inf,'*char');
  526. fclose(fid);
  527. clear fid;
  528. % parse subject file indices for subject name
  529. index1 = strfind(subject_file','##$SUBJECT_name=(<>, <') + length('##$SUBJECT_name=(<>, <');
  530. index2temp = strfind(subject_file', '>');
  531. index2 = index2temp(find(index2temp > index1, 1));
  532. subject_name = lower(subject_file(index1:index2-1)');
  533. clear index1 index2 index2temp;
  534. % subject ID
  535. subject_id = str2double(pathparts{end-2});
  536. % subject sex
  537. index1 = strfind(subject_file','##$SUBJECT_sex=( 8 )') + length('##$SUBJECT_sex=( 8 )') + 2;
  538. index2temp = strfind(subject_file', '>');
  539. index2 = index2temp(find(index2temp > index1, 1));
  540. subject_sex_str = lower(subject_file(index1:index2-1)');
  541. if contains(subject_sex_str, 'female')
  542. subject_sex = 'F';
  543. else
  544. subject_sex = 'M';
  545. end
  546. clear index1 index2 index2temp;
  547. % genotype
  548. if contains(subject_name, 'ko')
  549. genotype = 'KO';
  550. elseif contains(subject_name, 'wt')
  551. genotype = 'WT';
  552. else
  553. genotype = 'WT';
  554. end
  555. % InfectionStatus
  556. if contains(subject_name, 'non')
  557. infected = false;
  558. elseif contains(subject_name, 'control')
  559. infected = false;
  560. elseif contains(subject_name, 'ptx')
  561. infected = false;
  562. else
  563. infected = true;
  564. end
  565. % TimePoint
  566. if contains(subject_name, 'day13')
  567. timepoint = 1;
  568. elseif contains(subject_name, 'day26')
  569. timepoint = 2;
  570. elseif contains(subject_name, 'control')
  571. timepoint = 0;
  572. elseif contains(subject_name, 'ptx')
  573. timepoint = -1;
  574. else
  575. timepoint = 1;
  576. end
  577. % summarize into a data structure
  578. SubjectPars.ID = subject_id;
  579. SubjectPars.Sex = subject_sex;
  580. SubjectPars.Genotype = genotype;
  581. SubjectPars.Infected = infected;
  582. SubjectPars.Timepoint = timepoint;
  583. SubjectPars.Cohort = cohort_number;
  584. SubjectPars.PathToStudy = study_path;
  585. end

rarevtr_roi_analysis.m at commit b2d1ac0, under MIT · at the source

Overview

Authors: Sriparna Mukherjee1,2, Vladimir Grouza3, Alex Tchung1, Amandine Even1,2, Moein Yaqubi2,3, Marius Tuznik3, Tyler Cannon2,4, Sherilyn Junelle Recinto2,3, Christina Gavino2,4, Marie-Josée Bourque1,2, Nicolas Giguère1, Heidi McBride2,3, Michel Desjardins2,5, Samantha Gruenheid2,4, Jo Anne Stratton2,3, David A Rudko3, Louis-Eric Trudeau1,2,6,7
  1. Department of Pharmacology and Physiology, Faculty of Medicine, Université de Montréal, Montreal, Quebec, Canada
  2. Aligning Science Across Parkinson’s (ASAP) Collaborative Research Network, Chevy Chase, Maryland, United States of America
  3. Department of Neurology and Neurosurgery, Faculty of Medicine, McGill University, Montreal Neurological Institute, Montreal, Quebec, Canada
  4. Department of Microbiology and Immunology, Faculty of Medicine, McGill University, Montreal, Quebec, Canada
  5. Department of Pathology and Cell Biology, Faculty of Medicine, Université de Montréal, Montreal, Quebec, Canada
  6. Department of Neurosciences, Faculty of Medicine, Université de Montréal, Montreal, Quebec, Canada
  7. Courtois Institute for Biomedical Innovation and SNC and CIRCA Research Groups, Université de Montréal, Montreal, Quebec, Canada
Journal: PLoS pathogens, volume 22, issue 6, article e1014315
Dates: received 9 July 2025; accepted 28 May 2026; published online 30 June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1371/journal.ppat.1014315 · PMID 42378309 · PMCID PMC13318054 · OpenAlex W7166716914
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: mouse (organism), other condition (population), Parkinson's (population), cellular / molecular (subfield)
Methods: Statistics, Smoothing, state filtering, decompositions, fMRI & imaging
MeSH: Blood-Brain Barrier*, Citrobacter rodentium*, Dopaminergic Neurons*, Enterobacteriaceae Infections*, Microglia*, Parkinson Disease*, Protein Kinases*, Animals, Axons, Male, Mice, Mice, Inbred C57BL, Mice, Knockout, PTEN-Induced Putative Kinase (* major topic)
Topic: Neuroinflammation and Neurodegeneration Mechanisms (Neurology, Neuroscience), according to OpenAlex
Funding: CIHR; Aligning Science Across Parkinson's; Foundation for Parkinson’s Research (MJFF); FRQS (Fonds de recherche du Québec, Santé)
Citations: not cited yet (Europe PMC); 78 references in the paper
Research resources: GFAP RRID:AB_10013382, RRID:AB_10015282, LY6C-AF700 RRID:AB_10612017, CD86-BV650 RRID:AB_11126147, CD11b-BV605 RRID:AB_11126744, NK1.1-BV650 RRID:AB_11147949, RRID:AB_141778, RRID:AB_143165, CD11C-PECY7 RRID:AB_2033997, RRID:AB_2044003, DAT RRID:AB_2190413, TH RRID:AB_2201528, ZO-2 RRID:AB_2203575, RRID:AB_2307392, Peroxidase-AffiniPure Goat Anti-Rat IgG RRID:AB_2338128, 647 were used for fluorescence detection RRID:AB_2534077, 647 were used for fluorescence detection RRID:AB_2534117, RRID:AB_2535812, LY6G-BV510 RRID:AB_2562937, CD45-BV711 RRID:AB_2564383, β actin peroxidase RRID:AB_262011, RRID:AB_2725776, CD19-BV786 RRID:AB_2738141, ZO-1 RRID:AB_2798287, IBA1 RRID:AB_2924932, CD4-APC Cy7 RRID:AB_312726, CD45-FITC RRID:AB_312972, CD8a-A647 RRID:AB_389326, TH RRID:AB_390204, IBA1 RRID:AB_839504, IBA1 RRID:AB_839506, CD3e-PerCp Cy5.5 RRID:AB_893318, F4/80-A647 RRID:AB_893492, RRID:IMSR_JAX:006660, RRID:IMSR_JAX:007909, Hansruedi Bueler RRID:IMSR_JAX:017946, https://github.com/dipy/dipy RRID:SCR_000029, RRID:SCR_001622, The DESeq2 package in R RRID:SCR_001905, 1 http://www.graphpad.com/ RRID:SCR_002798, RRID:SCR_003070, RRID:SCR_003201, RRID:SCR_004463, RRID:SCR_006809, RRID:SCR_008394, RRID:SCR_008520, RRID:SCR_011867, RRID:SCR_014215, RRID:SCR_015687, RRID:SCR_019037, RRID:SCR_025285, RRID:SCR_027284

Abstract

A growing body of research suggests a link between immune system activation and the development of Parkinson’s disease (PD). Previous work showed that repeated gastrointestinal infection with Citrobacter rodentium can induce PD-like motor dysfunction in Pink1 knockout (KO) mice, along with immune cell infiltration into the brain. To better understand mechanisms underlying immune-mediated brain attack in this model, we tested whether mild infections are sufficient to increase blood-brain barrier (BBB) permeability and trigger brain inflammation. Pink1 wild-type (WT) and KO mice were infected with C. rodentium, and gadolinium-enhanced magnetic resonance imaging (MRI) was performed at days 13 and 26 post-infection to assess BBB integrity. Quantitative MRI analysis revealed increased BBB permeability at day 26 in both WT and KO mice, particularly in the striatum, dentate gyrus, somatosensory cortex, and thalamus. Notably, this permeability was not associated with changes in tight junction protein expression or dopamine system markers in the striatum at either time point. However, persistent microglial activation was observed at day 26 post-infection, along with elevated levels of inflammatory mediators such as eotaxin, IFN-γ, CXCL9, IL-17, and MIP-2 in the striatum. Additionally, serum levels of IL-17 and CXCL1 were increased in infected Pink1 KO mice. Flow cytometry revealed neutrophil infiltration in the brain at day 26 post-infection. Finally, a bulk RNA-seq transcriptome analysis revealed that gene sets related to synaptic function were particularly influenced by the infection and that inflammation-related genes were upregulated by the infection in the Pink1 KO mice. These findings support the hypothesis that even mild gastrointestinal infections can increase BBB permeability, disrupt brain homeostasis, and promote chronic neuroinflammation. In genetically susceptible individuals, such as those with Pink1 deficiency, this may represent a first hit that contributes to subsequent induction of PD pathology with aging.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

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

liu-yikang/sherm-rodentskullstrip

License: GPL-3.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: c44afe8a302672a92c0fcc4a3c333d6a40ba3d26, 17 February 2021
Languages: MATLAB (8)
Size: 37 files, 8 scripts
Software Heritage: not archived
Found in: the text, “Magnetic Resonance Imaging (MRI) of the brain an”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
10 files

louis-erictrudeau/trudeau-lab

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: b2d1ac0f24c21f434ed3d740397fcb46fd218838, 14 August 2026
Languages: Python (6), MATLAB (3)
Size: 41 files, 9 scripts
Software Heritage: not archived
Found in: the text, “Confocal imaging and image processing”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: NumPy (4 files), pandas (4 files), Statistics and Machine Learning Toolbox (2 files), Tools for NIfTI and ANALYZE image (MATLAB) (2 files), ANTs (1 file), DIPY (1 file), FSL (1 file), Optimization Toolbox (1 file), Nipype (1 file), SciPy (1 file), statsmodels (1 file), Violinplot-Matlab (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
11 files

The paper's code and data availability statement is in the Data section.

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;
  • 17 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

Datasets cited

Data Availability

The data, code, and key lab materials used and generated in this study are listed in a Key Resource Table alongside their persistent identifiers at https://doi.org/10.5281/zenodo.20091139.

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

Recorded: type, language, journal, volume, issue, pages, dates, 17 authors, 14 MeSH terms, 4 funders, 77 references, 52 RRIDs.

Cite

This paper

Mukherjee, S., Grouza, V., Tchung, A., Even, A., Yaqubi, M., Tuznik, M., Cannon, T., Recinto, S. J., Gavino, C., Bourque, M.-J., Giguère, N., McBride, H., Desjardins, M., Gruenheid, S., Stratton, J. A., Rudko, D. A., & Trudeau, L.-E. (2026). A single Citrobacter rodentium infection in Pink1 knockout and wild-type mice leads to regional blood-brain-barrier perturbation and limited microglial activation without dopamine neuron axon terminal loss. PLoS pathogens, 22(6), e1014315. https://doi.org/10.1371/journal.ppat.1014315

BibTeX

@article{mukherjee2026single,
author = {Mukherjee, Sriparna and Grouza, Vladimir and Tchung, Alex and Even, Amandine and Yaqubi, Moein and Tuznik, Marius and Cannon, Tyler and Recinto, Sherilyn Junelle and Gavino, Christina and Bourque, Marie-Josée and Giguère, Nicolas and McBride, Heidi and Desjardins, Michel and Gruenheid, Samantha and Stratton, Jo Anne and Rudko, David A and Trudeau, Louis-Eric},
title = {{A single Citrobacter rodentium infection in Pink1 knockout and wild-type mice leads to regional blood-brain-barrier perturbation and limited microglial activation without dopamine neuron axon terminal loss}},
journal = {PLoS pathogens},
year = {2026},
month = jun,
volume = {22},
number = {6},
pages = {e1014315},
publisher = {PLOS},
issn = {1553-7366},
doi = {10.1371/journal.ppat.1014315},
url = {https://doi.org/10.1371/journal.ppat.1014315},
pmid = {42378309},
pmcid = {PMC13318054}
}

RIS

TY - JOUR
AU - Mukherjee, Sriparna
AU - Grouza, Vladimir
AU - Tchung, Alex
AU - Even, Amandine
AU - Yaqubi, Moein
AU - Tuznik, Marius
AU - Cannon, Tyler
AU - Recinto, Sherilyn Junelle
AU - Gavino, Christina
AU - Bourque, Marie-Josée
AU - Giguère, Nicolas
AU - McBride, Heidi
AU - Desjardins, Michel
AU - Gruenheid, Samantha
AU - Stratton, Jo Anne
AU - Rudko, David A
AU - Trudeau, Louis-Eric
TI - A single Citrobacter rodentium infection in Pink1 knockout and wild-type mice leads to regional blood-brain-barrier perturbation and limited microglial activation without dopamine neuron axon terminal loss
T2 - PLoS pathogens
J2 - PLoS Pathog
PY - 2026
DA - 2026/06/30
VL - 22
IS - 6
SP - e1014315
SN - 1553-7366
PB - PLOS
DO - 10.1371/journal.ppat.1014315
UR - https://doi.org/10.1371/journal.ppat.1014315
LA - en
ER -

CSL-JSON

{
"id": "10.1371/journal.ppat.1014315",
"type": "article-journal",
"title": "A single Citrobacter rodentium infection in Pink1 knockout and wild-type mice leads to regional blood-brain-barrier perturbation and limited microglial activation without dopamine neuron axon terminal loss",
"container-title": "PLoS pathogens",
"author": [
{
"family": "Mukherjee",
"given": "Sriparna"
},
{
"family": "Grouza",
"given": "Vladimir"
},
{
"family": "Tchung",
"given": "Alex"
},
{
"family": "Even",
"given": "Amandine"
},
{
"family": "Yaqubi",
"given": "Moein"
},
{
"family": "Tuznik",
"given": "Marius"
},
{
"family": "Cannon",
"given": "Tyler"
},
{
"family": "Recinto",
"given": "Sherilyn Junelle"
},
{
"family": "Gavino",
"given": "Christina"
},
{
"family": "Bourque",
"given": "Marie-Josée"
},
{
"family": "Giguère",
"given": "Nicolas"
},
{
"family": "McBride",
"given": "Heidi"
},
{
"family": "Desjardins",
"given": "Michel"
},
{
"family": "Gruenheid",
"given": "Samantha"
},
{
"family": "Stratton",
"given": "Jo Anne"
},
{
"family": "Rudko",
"given": "David A"
},
{
"family": "Trudeau",
"given": "Louis-Eric"
}
],
"container-title-short": "PLoS Pathog",
"volume": "22",
"issue": "6",
"page": "e1014315",
"DOI": "10.1371/journal.ppat.1014315",
"PMID": "42378309",
"PMCID": "PMC13318054",
"ISSN": "1553-7366",
"publisher": "PLOS",
"URL": "https://doi.org/10.1371/journal.ppat.1014315",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
30
]
]
}
}

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.1016/j.isci.2021.103095 [code]
The gut microbiota modulates brain network connectivity under physiological conditions and after acute brain ischemia.
Journal: iScience
In common: DIPY, Nipype, Tools for NIfTI and ANALYZE image (MATLAB), 8 other tools, mouse
[2] doi:10.1016/j.nicl.2025.103758 [code]
White matter microstructural integrity mediates associations between prenatal endocrine-disrupting chemicals exposure and intelligence in adolescents.
Journal: NeuroImage. Clinical
In common: DIPY, Violinplot-Matlab, Optimization Toolbox, 6 other tools, 3 references
[3] 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: DIPY, Violinplot-Matlab, ANTs, 7 other tools, cellular / molecular, 1 reference
[4] doi:10.1038/s41598-023-32924-7 [code]
Reproducible Tract Profiles 2 (RTP2) suite, from diffusion MRI acquisition to clinical practice and research.
Journal: Scientific reports
In common: DIPY, Tools for NIfTI and ANALYZE image (MATLAB), ANTs, 7 other tools, 1 reference
[5] doi:10.1093/brain/awaf302 [code]
Parkinson's disease progression is shaped by longitudinal changes in cerebral compensation.
Journal: Brain : a journal of neurology
In common: DIPY, Tools for NIfTI and ANALYZE image (MATLAB), ANTs, 4 other tools, Parkinson's, 3 references
[6] doi:10.3389/fnins.2024.1385847 [code]
A practical guide for combining functional regions of interest and white matter bundles.
Journal: Frontiers in neuroscience
In common: DIPY, Tools for NIfTI and ANALYZE image (MATLAB), ANTs, 5 other tools, 3 references
[7] doi:10.1162/imag_a_00060 [code]
Denoising diffusion MRI: Considerations and implications for analysis.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: DIPY, Tools for NIfTI and ANALYZE image (MATLAB), Optimization Toolbox, 6 other tools, 2 references
[8] doi:10.1038/s41586-025-09708-2 [code]
A probabilistic histological atlas of the human brain for MRI segmentation.
Journal: Nature
In common: DIPY, Nipype, Tools for NIfTI and ANALYZE image (MATLAB), 7 other tools
[9] doi:10.3390/bs15060746 [code]
Brain White Matter Alterations in Young Adults with Childhood Emotional Neglect Experience.
Journal: Behavioral sciences (Basel, Switzerland)
In common: DIPY, Nipype, ANTs, 7 other tools
[10] doi:10.1073/pnas.2527522123 [code]
Correspondence of large-scale functional brain network decline across aging mice and humans.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: Nipype, Tools for NIfTI and ANALYZE image (MATLAB), ANTs, 6 other tools, mouse, 1 reference

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.1371/journal.ppat.1014315.svg)](https://openscicode.org/badge/doi/10.1371/journal.ppat.1014315)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1371/journal.ppat.1014315.svg
   :target: https://openscicode.org/badge/doi/10.1371/journal.ppat.1014315
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1371/journal.ppat.1014315"><img src="https://openscicode.org/badge/doi/10.1371/journal.ppat.1014315.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.