preproc {detectR} | R Documentation |
Optional preprocessing step for regressing out noise variables.
Description
This function saves the residuals after regressing the user-defined noise variables from the user-defined "signal" variables. Noise variables can be nuisance regressors (such as cebral spinal fluid in fMRI), time vectors, or any other vector that the user wishes to regress out.
Usage
preproc(Y, noise, signal)
Arguments
Y |
data: Y = length*dim |
noise |
string vector indicating which variables (columns) are regressors |
signal |
string vector indicating which variables to regress out the noise variables from |
Value
signalmatrix
[Package detectR version 0.3.0 Index]