DVARS | R Documentation |
Computes the DSE decomposition and DVARS-related statistics. Based on code from github.com/asoroosh/DVARS .
DVARS(
X,
normalize = TRUE,
cutoff_DPD = 5,
cutoff_ZD = qnorm(1 - 0.05/nrow(as.matrix_ifti(X))),
verbose = FALSE
)
X |
a |
normalize |
Normalize the data? Default: To replicate Afyouni and Nichols' procedure for the HCP MPP data, since the HCP scans are already normalized to 10,000, just divide the data by 100 and center the voxels on their means:
Note that while voxel centering doesn't affect DVARS, it does affect DPD and ZD. |
cutoff_DPD, cutoff_ZD |
Numeric outlier cutoffs. Timepoints exceeding these cutoffs will be flagged as outliers. |
verbose |
Should occasional updates be printed? Default is |
A list with components
A data.frame with T
rows, each column being a different variant of DVARS.
"DVARS"
The outlier cutoff value(s).
A logical data.frame with T
rows, where TRUE
indicates suspected outlier presence.
Afyouni, S. & Nichols, T. E. Insight and inference for DVARS. NeuroImage 172, 291-312 (2018).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.