This series of notebooks is used to determine the evidence for a pathway connecting two ROIs following those described in Pestilli et al.[1] and Leong et al.[2].
Required steps before running these notebooks:
- Regions of interest (ROIs) were defined in MNI space and subsequently warped from MNI space to each individual subject’s native space (e.g., fsl5.0-applywarp -i roi.nii.gz -r T1w/Diffusion/nodif_brain_mask.nii.gz -w MNINonLinear/xfms/standard2acpc_dc.nii.gz -o roi_warped)
- Whole-brain connectomes were generated (see mrtrix.py and mrtrix.sh for details):
- Constrained spherical deconvolution (CSD)[3] was used to estimate the fiber orientation distribution function (fODF). The fODFs were combined with tissue segmentations derived from the high resolution T1-weighted images to perform anatomically-constrained tractography[4]
- A whole-brain connectome was then generated by seeding all voxels in the white matter. These were filtered down using spherical-deconvolution informed filtering of tractograms (SIFT)[5]
Calculation steps done in these notebooks:
- Virtual_Lesion_Step1
- Generate fiber tracks by seeding from ROI1 and selecting only those that pass through ROI2, and vise versa, with MRtrix3
- Remove the fibers from the previous step that do not start in one ROI and end in the other (The fibers that pass through the ROIs but do not terminate in them)
- Combine all valid fiber tracks into one candiadate streamline set
- Cluster the candiadate streamlines with the dipy[6] QuickBundles algorithm[7] to remove outliers
- Virtual_Lesion_Step2
- Calculate the neighborhood of the candidate streamlines (Voxels where the streamlines pass through)
- Find fibers in the whole brain connectome that pass through the neighborhood
- Combine whole brain connectome with candidate streamlines into one steamline set
- Run the LiFE optimization on this combined streamline set and retrieve RMSE between the original diffusion data set and the LiFE prediction
- Run the LiFE otimization and RMSE calculation again on the whole brain, but this time without the candidate streamlines
- Virtual_Lesion_Step3
- Calculating the normalized difference of the two RMSEs provides the Strength of Evidence
- Save the LiFE optimized candidate streamlines between the two ROIs
**Do not run the parallization on all cores. These notebooks are parallalized by subjects. The limiting factor is the memory usage per process.
[1] PMID: 25194848
[2] PMID: 26748088
[3] PMID: 18583153
[4] PMID: 22705374
[5] PMID: 23238430
[6] PMID: 24600385
[7] PMID: 23248578