Skip to content

These Notebooks calculate the likeliness of the existens of a fiber bundle with LiFEs Virtual Lesion approach. The probability will be difined based on the Strength of Evidence.

Notifications You must be signed in to change notification settings

rfdougherty/VirtualLesion

 
 

Repository files navigation

Virtual Lesion

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].

Image

Required steps before running these notebooks:

  1. 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)
  2. Whole-brain connectomes were generated (see mrtrix.py and mrtrix.sh for details):
    1. 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]
    2. 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:

  1. Virtual_Lesion_Step1
    1. Generate fiber tracks by seeding from ROI1 and selecting only those that pass through ROI2, and vise versa, with MRtrix3
    2. 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)
    3. Combine all valid fiber tracks into one candiadate streamline set
    4. Cluster the candiadate streamlines with the dipy[6] QuickBundles algorithm[7] to remove outliers
  2. Virtual_Lesion_Step2
    1. Calculate the neighborhood of the candidate streamlines (Voxels where the streamlines pass through)
    2. Find fibers in the whole brain connectome that pass through the neighborhood
    3. Combine whole brain connectome with candidate streamlines into one steamline set
    4. Run the LiFE optimization on this combined streamline set and retrieve RMSE between the original diffusion data set and the LiFE prediction
    5. Run the LiFE otimization and RMSE calculation again on the whole brain, but this time without the candidate streamlines
  3. Virtual_Lesion_Step3
    1. Calculating the normalized difference of the two RMSEs provides the Strength of Evidence
    2. 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

About

These Notebooks calculate the likeliness of the existens of a fiber bundle with LiFEs Virtual Lesion approach. The probability will be difined based on the Strength of Evidence.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 73.4%
  • Python 25.1%
  • Shell 1.5%