Description Usage Arguments Value
Format data for pscrub and CompCor
1 2 3 4 5 6 7 | format_data(
X,
ROI_data = "infer",
ROI_noise = NULL,
noise_nPC = 5,
noise_erosion = NULL
)
|
X |
Wide numeric data matrix (T observations by V variables, T << V).
For example, if Or, a 4D array or NIFTI or file path to a NIFTI (I by J by K by T
observations), in which case Or, a |
ROI_data |
Indicates the data ROI. Allowed arguments depend on If If If If |
ROI_noise |
Indicates the noise ROIs for aCompCor. Should be a list where
each entry corresponds to a distinct noise ROI. The names of the list should
be the ROI names, e.g. For all types of If If (If |
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 |
A list with components "X", "X_noise", "ROI_data", and "ROI_noise"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.