## load a MRIaggr object
data("MRIaggr.Pat1_red", package = "MRIaggr")
## parameters to normalize
param <- c("DWI_t0","T2_FLAIR_t2","T2_GRE_t0","TTP_t0")
## manual allocation
resNormalization <- calcNormalization(MRIaggr.Pat1_red, param = param)
allocNormalization(MRIaggr.Pat1_red, overwrite = TRUE) <- resNormalization
## automatic allocation
resNormalization <- calcNormalization(MRIaggr.Pat1_red, param = param,
update.object = TRUE, overwrite = TRUE)
Run the code above in your browser using DataLab