User Tools

Site Tools


biac:analysis:resting_pipeline

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
biac:analysis:resting_pipeline [2013/09/16 18:26]
admin
biac:analysis:resting_pipeline [2023/02/23 18:43] (current)
Line 17: Line 17:
     4 - normalize data     4 - normalize data
     5 - regress out WM/CSF     5 - regress out WM/CSF
-    6 - lowpass filter+    6 - bandpass filter
     7 - do parcellation and produce correlation matrix from label file     7 - do parcellation and produce correlation matrix from label file
       * or split it up:       * or split it up:
Line 47: Line 47:
                         (1,3,5,2,4,6), up=ascending, down=descending,                         (1,3,5,2,4,6), up=ascending, down=descending,
                         even=interleaved (2,4,6,1,3,5) ).  Default is to read                         even=interleaved (2,4,6,1,3,5) ).  Default is to read
-                        this from input image, if available.+                        this from input BXH, if available.
   --tr=MSEC             TR of functional data in MSEC   --tr=MSEC             TR of functional data in MSEC
   --ref=FILE            pointer to FLIRT reference image if not using standard   --ref=FILE            pointer to FLIRT reference image if not using standard
Line 68: Line 68:
                         0.5                         0.5
   --lpfreq=0.08         frequency cutoff for lowpass filtering in HZ.  default   --lpfreq=0.08         frequency cutoff for lowpass filtering in HZ.  default
-                        is .08hz+                        is .08hz.  highpass is fixed at .001hz.
   --corrlabel=FILE      pointer to 3D label containing ROIs for the   --corrlabel=FILE      pointer to 3D label containing ROIs for the
                         correlation search. default is the 116 region AAL                         correlation search. default is the 116 region AAL
Line 181: Line 181:
   * run fsl's slice time correction ( slicetimer )   * run fsl's slice time correction ( slicetimer )
   * if starting with a BXH header, you'll likely have the sliceorder field which will be used to create a custom sliceorder file to be used by fsl   * if starting with a BXH header, you'll likely have the sliceorder field which will be used to create a custom sliceorder file to be used by fsl
 +  * the default is to run bxh_slicetiming to extract a timing file from the BXH header
   * if this isn't present, then you'll need to define **--sliceorder** so that we can generate the file for you   * if this isn't present, then you'll need to define **--sliceorder** so that we can generate the file for you
     * "odd" is interleaved with odd, then even slice ordering: 1,3,5,2,4,6,etc     * "odd" is interleaved with odd, then even slice ordering: 1,3,5,2,4,6,etc
Line 186: Line 187:
     * "up" is ascending data, from the bottom up: 1,2,3,4,5,6     * "up" is ascending data, from the bottom up: 1,2,3,4,5,6
     * "down" is descending data, from the top down: 6,5,4,3,2,1     * "down" is descending data, from the top down: 6,5,4,3,2,1
 +  * this gets much more complicated with multi-band data, so using the default extraction is recommended 
  
 ==== Step 2 ==== ==== Step 2 ====
Line 216: Line 218:
 ==== Step 6 ====  ==== Step 6 ==== 
   * this step will band-pass filter data to remove high-frequency noise using custom python code   * this step will band-pass filter data to remove high-frequency noise using custom python code
-  * the default is 0.08 HZ+  * the default lowpass is 0.08 HZ 
 +  * highpass is fixed at .001 HZ
   * if you'd like to chose a different frequency, please use ** --lpfreq **   * if you'd like to chose a different frequency, please use ** --lpfreq **
 ==== Step 7 ====  ==== Step 7 ==== 
Line 264: Line 267:
 </code> </code>
  
 +
 +==== Step 8 ==== 
 +  * Functional connectivity density mapping
 +  * Takes functional data from last step and calculates how connected they are to the voxels around them
 +  * uses ( --fcdmthresh and --refgm ) as the pearson r-value and gray matter mask
 +  * if defaults are used, then a dilated gray matter mask is used from FAST segmentation of MNI brain and a pearson r value of 0.6
 +  * Iteratively goes to all neighboring voxels and counts the number that have correlated signal until they are under the r threshold
 +  * adapted from Dardo Tomasi, PNAS(2010), vol. 107, no. 21. 9885–9890
 +  * resulting file with be "fcdm.nii.gz"; higher voxel values indicate more correlation from neighbors
 +
 +{{:biac:analysis:fcdm.png?direct&400|}}
 ===== Things to consider ===== ===== Things to consider =====
   * this was designed to be modular, so that you only need to run the steps you need   * this was designed to be modular, so that you only need to run the steps you need
Line 403: Line 417:
  
  
-Still under-development 
 3D VTK: 3D VTK:
  
Line 410: Line 423:
  
  
 +
 +
 +----
 +
 +===== Download Source =====
 +{{:biac:analysis:rsfmri_python.tgz|}}
 +  - source files assume you have a working install of FSL and all imported python modules
 +  - need a working install of the [[http://www.nitrc.org/projects/bxh_xcede_tools/|BIRN BXH/Xcede tools]]
 +  - will need to edit any paths that may be different at your install location ( FSL FAST segmentations of the MNI brain and base sets of ROIs )
 +  - **Chou et al. AJNAR(2012), May; 33(5): 833–838 **
 +  - fcdm algorithm adapted from **Dardo Tomasi, PNAS(2010), vol. 107, no. 21. 9885–9890**
  
  
  
  
biac/analysis/resting_pipeline.1379355973.txt.gz · Last modified: 2014/08/04 16:03 (external edit)