Inria-Empenn / narps_open_pipelines

A codebase reproducing the 70 pipelines of the NARPS study (Botvinik-Nezer et al., 2020) shared as an open resource for the community.
MIT License
9 stars 22 forks source link

[B5I6] Pipeline reproduction (FSL, deriv) #95

Open mirhnius opened 1 year ago

mirhnius commented 1 year ago

Softwares

FSL 5.0.9

Input data

derivatives (fMRIprep)

Additional context

(copied from spreadsheet)

  1. Data received in fmriprep pre-processed form; pre-processing steps performed in order specified in fmriprep v1.1.4
  2. "FramewiseDisplacement" column extracted from the fmriprep confounds file for each run, plotted and used to identify volume-to-volume displacement
  3. Extracted 6 columns from fmriprep confounds file for each run (X, Y, Z, RotX, RotY, RotZ) and computed square, temporal derivative, and temporal derivative squared to create 24-column motion confound file (in Python), which were used to plot volume-to-volume displacement for each of a subject's 4 runs

List of tasks

Please tick the boxes below once the corresponding task is finished. :+1:

bclenet commented 5 months ago

Hi @cmaumet,

In the description, under independent_vars_first_level :

Other nuisance regressors: 1 column for each volume identified as an outlier (outliers identified based on “non-stdDVARS” and “FramewiseDisplacement” columns from fmriprep confounds files (threshold at 75th percentile + 1.5 times interquartile range)). Each column had value 1 at the timepoint identified as an outlier, and zero at all other timepoints.

What I understand from that is :

  1. compute outliers of the non-stdDVARS column according to the formula
  2. compute outliers of the FramewiseDisplacement column according to the formula
  3. create a regressor from step 1 and 2 (OR operation between the two)
  4. add the regressor in the model, only if there is at least one 1 in the column

I just wanted to be sure it's the right thing to do. Thanks !

cmaumet commented 5 months ago

@bclenet that's perfectly how I understand it as well!