@@ -29,8 +29,11 @@ Derivatives specification (see `BIDS Derivatives RC1`_).
29
29
.. important ::
30
30
In order to remain agnostic to any possible subsequent analysis,
31
31
*fMRIPrep * does not perform any denoising (e.g., spatial smoothing) itself.
32
- The only exception to this principle is the ICA-AROMA's *non-aggressive * denoising
33
- (see below).
32
+ There are two exceptions to this principle (described in their corresponding
33
+ sections below):
34
+
35
+ - ICA-AROMA's *non-aggressive * denoised outputs, and
36
+ - CompCor regressors, which are calculated after temporal high-pass filtering.
34
37
35
38
Visual Reports
36
39
--------------
@@ -285,16 +288,36 @@ the command line options ``--fd-spike-threshold`` and ``--dvars-spike-threshold`
285
288
(default: FD > 0.5 mm or DVARS > 1.5).
286
289
Spike regressors are stored in separate ``motion_outlier_XX `` columns.
287
290
288
- **AROMA confounds **.
289
- :abbr: `AROMA ( Automatic Removal Of Motion Artifacts ) ` is an :abbr: `ICA ( independent components analysis ) `
290
- based procedure to identify confounding time series related to head-motion [Prium2015 ]_.
291
- ICA-AROMA can be enabled with the flag ``--use-aroma ``.
292
-
293
- - ``aroma_motion_XX `` - the motion-related components identified by ICA-AROMA.
294
-
295
- .. danger ::
296
- If you are already using ICA-AROMA cleaned data (``~desc-smoothAROMAnonaggr_bold.nii.gz ``),
297
- do not include ICA-AROMA confounds during your design specification or denoising procedure.
291
+ **Discrete cosine-basis regressors **.
292
+ Physiological and instrumental (scanner) noise sources are generally present in fMRI
293
+ data, typically taking the form of low-frequency signal drifts.
294
+ To account for these drifts, temporal high-pass filtering is the immediate option.
295
+ Alternatively, low-frequency regressors can be included in regression to account
296
+ for these confounding signals.
297
+ Using the :abbr: `DCT ( discrete cosine transform ) ` basis functions, *fMRIPrep * generates
298
+ these low-frequency predictors:
299
+
300
+ - ``cosine_XX `` - DCT-basis regressors.
301
+
302
+ One characteristic of the cosine regressors is that they are identical for two different
303
+ datasets with the same :abbr: `TR ( repetition time ) ` and the same *effective * number of
304
+ time points (*effective * length).
305
+ It is relevant to mention *effective * because initial time points identified as *nonsteady
306
+ states * are removed before generating the cosine regressors.
307
+
308
+ .. caution ::
309
+ If the analysis includes your own high-pass filtering step, the ``cosine_XX ``
310
+ regressors may interfere (meaning, they may re-introduce drifts) if included
311
+ in the design matrix.
312
+
313
+ .. admonition :: See also
314
+
315
+ - A detailed explanation about temporal high-pass filtering is provided with
316
+ the `BrainVoyager User Guide
317
+ <http://www.brainvoyager.com/bvqx/doc/UsersGuide/Preprocessing/TemporalHighPassFiltering.html> `_.
318
+ - `This comment
319
+ <https://github.com/poldracklab/fmriprep/issues/1899#issuecomment-561687460> `__
320
+ on an issue regarding CompCor regressors.
298
321
299
322
**CompCor confounds **.
300
323
:abbr: `CompCor ( Component Based Noise Correction ) ` is a :abbr: `PCA ( principal component analysis ) `,
@@ -315,18 +338,6 @@ decomposition (``t_comp_cor_XX``) and three anatomical decompositions (``a_comp_
315
338
three different noise ROIs: an eroded white matter mask, an eroded CSF mask, and a combined mask derived
316
339
from the union of these.
317
340
318
- .. warning ::
319
- Only a subset of these CompCor decompositions should be used for further denoising.
320
- The original Behzadi aCompCor implementation [Behzadi2007 ]_ can be applied using
321
- components from the combined masks, while the more recent Muschelli implementation
322
- [Muschelli2014 ]_ can be applied using
323
- the :abbr: `WM ( white matter ) ` and :abbr: `CSF ( cerebro-spinal fluid ) ` masks. To determine the provenance
324
- of each component, consult the metadata file (see below).
325
- Make sure you check on `this didactic discussion on NeuroStars.org
326
- <https://neurostars.org/t/fmrirep-outputs-very-high-number-of-acompcors-up-to-1000/5451> `__
327
- where Patrick Sadil gets into details about PCA and how that base technique applies
328
- to CompCor in general and *fMRIPrep *'s implementation in particular.
329
-
330
341
Each confounds data file will also have a corresponding metadata file
331
342
(``~desc-confounds_regressors.json ``).
332
343
Metadata files contain additional information about columns in the confounds TSV file:
@@ -366,6 +377,43 @@ For CompCor decompositions, entries include:
366
377
Entries that are not saved in the data file for denoising are still stored in metadata with the
367
378
``dropped `` prefix.
368
379
380
+ .. caution ::
381
+ Only a subset of these CompCor decompositions should be used for further denoising.
382
+ The original Behzadi aCompCor implementation [Behzadi2007 ]_ can be applied using
383
+ components from the combined masks, while the more recent Muschelli implementation
384
+ [Muschelli2014 ]_ can be applied using
385
+ the :abbr: `WM ( white matter ) ` and :abbr: `CSF ( cerebro-spinal fluid ) ` masks.
386
+ To determine the provenance of each component, consult the metadata file (described above).
387
+
388
+ .. caution ::
389
+ Similarly, if you are using anatomical or temporal CompCor it may not make sense
390
+ to use global signal regressors (``csf ``, ``white_matter ``, or ``global_signal ``) -
391
+ see `#1049 <https://github.com/poldracklab/fmriprep/issues/1049 >`_.
392
+
393
+ .. danger ::
394
+ *fMRIPrep * does high-pass filtering before running anatomical or temporal CompCor.
395
+ Therefore, when using CompCor regressors, the corresponding ``cosine_XX `` regressors
396
+ should be included too in the design matrix.
397
+
398
+
399
+ .. admonition :: See also
400
+
401
+ This didactic `discussion on NeuroStars.org
402
+ <https://neurostars.org/t/fmrirep-outputs-very-high-number-of-acompcors-up-to-1000/5451> `__
403
+ where Patrick Sadil gets into details about PCA and how that base technique applies
404
+ to CompCor in general and *fMRIPrep *'s implementation in particular.
405
+
406
+ **AROMA confounds **.
407
+ :abbr: `AROMA ( Automatic Removal Of Motion Artifacts ) ` is an :abbr: `ICA ( independent components analysis ) `
408
+ based procedure to identify confounding time series related to head-motion [Prium2015 ]_.
409
+ ICA-AROMA can be enabled with the flag ``--use-aroma ``.
410
+
411
+ - ``aroma_motion_XX `` - the motion-related components identified by ICA-AROMA.
412
+
413
+ .. danger ::
414
+ If you are already using ICA-AROMA cleaned data (``~desc-smoothAROMAnonaggr_bold.nii.gz ``),
415
+ do not include ICA-AROMA confounds during your design specification or denoising procedure.
416
+
369
417
Confounds and "carpet"-plot on the visual reports
370
418
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
371
419
The visual reports provide several sections per task and run to aid designing
0 commit comments