scrub_xifti {fMRIscrub} | R Documentation |
Scrub fMRI data in CIFTI format
Description
Performs projection scrubbing or DVARS scrubbing, and optionally thresholds
to identify artifactual time points. Requires ciftiTools
and the
Connectome Workbench.
Usage
scrub_xifti(
X,
method = c("projection", "DVARS"),
brainstructures = c("left", "right"),
...
)
Arguments
X |
Path to a CIFTI file, or a |
method |
|
brainstructures |
Character vector indicating which brain structure(s)
to use: |
... |
Additional arguments to each specific scrubbing function:
|
Value
A list with components
- measure
A length
T
vector or data.frame withT
rows, giving the outlyingness measure(s)- measure_info
Describes the outlyingness measure(s)
- outlier_cutoff
The outlier cutoff value(s).
- outlier_flag
A length
T
vector or data.frame withT
rows, whereTRUE
indicates suspected outlier presence.