CompCor_HCP | R Documentation |
Wrapper to CompCor
for HCP-format data. Can be used to clean
the surface-based CIFTI data with aCompCor using the noise PCs and ROIs
calculated from the NIFTI fMRI data and NIFTI mask. Can also be used to just
obtain the noise PCs and ROIs without performing aCompCor, if the CIFTI
data is not provided.
CompCor_HCP(
nii,
nii_labels,
ROI_noise = c("wm_cort", "csf"),
noise_nPC = 5,
noise_erosion = NULL,
idx = NULL,
cii = NULL,
brainstructures = c("left", "right"),
center = TRUE,
scale = TRUE,
DCT = 0,
nuisance_too = NULL,
verbose = FALSE
)
nii |
|
nii_labels |
|
ROI_noise |
A list of numeric vectors. Each entry should represent labels
in
These default ROIs are based on this forum post: https://www.mail-archive.com/hcp-users@humanconnectome.org/msg00931.html Default: |
noise_nPC |
The number of principal components to compute for each noise ROI. Alternatively, values between 0 and 1, in which case they will represent the minimum proportion of variance explained by the PCs used for each noise ROI. The smallest number of PCs will be used to achieve this proportion of variance explained. Should be a list or numeric vector with the same length as |
noise_erosion |
The number of voxel layers to erode the noise ROIs by.
Should be a list or numeric vector with the same length as |
idx |
A numeric vector indicating the timepoints to use, or
|
cii |
|
brainstructures |
Choose among "left", "right", and "subcortical".
Default: |
center , scale |
Center the columns of the data by median, and scale the
columns of the data by MAD? Default: |
DCT |
Add DCT bases to the nuisance regression? Use an integer to
indicate the number of cosine bases. Use The data must be centered, either before input or with |
nuisance_too |
A matrix of nuisance signals to add to the nuisance
regression. Should have |
verbose |
Should occasional updates be printed? Default: |
The noise components, and if cii
is provided, the cleaned
surface-based data as a "xifti"
object.
Behzadi, Y., Restom, K., Liau, J. & Liu, T. T. A component based noise correction method (CompCor) for BOLD and perfusion based fMRI. NeuroImage 37, 90-101 (2007).
Muschelli, J. et al. Reduction of motion-related artifacts in resting state fMRI using aCompCor. NeuroImage 96, 22-35 (2014).
CompCor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.