RAVEL intensity normalization.
normalizeRAVEL(
input.files,
output.files = NULL,
brain.mask = NULL,
control.mask = NULL,
mod = NULL,
WhiteStripe = TRUE,
WhiteStripe_Type = c("T1", "T2", "FLAIR"),
stripped = TRUE,
k = 1,
returnMatrix = TRUE,
writeToDisk = FALSE,
verbose = TRUE,
...
)Vector of filenames for the input images. Must be NIfTI files.
Optional vector of filenames for the output images. By
default, will be the input.files with suffix "RAVEL".
Filename for the brain binary mask specifying the template space brain. Must be a NIfTI file.
Filename for the control region binary mask to be used in RAVEL. Must be a NIfTI file.
Model matrix for outcome of interest and other covariates
Should White Stripe intensity normalization be performed prior to RAVEL?.
What modality is used for WhiteStripe? Should be one of T1, T2 or FLAIR.
Is the image skull stripped? TRUE by default.
Number of unwanted factors to be included in the RAVEL model.
Should the matrix of intensities be returned? TRUE by default.
Should the scans be saved to the disk? FALSE by default.
Should messages be printed?
additional arguments to pass to whitestripe
if returnMatrix is FALSE, no value returned, but
RAVEL-corrected images are saved. If returnMatrix is TRUE,
RAVEL-corrected images are saved and a matrix of normalized intensities is
returned.