standardizeData.RdStandardize data (feature standardization). Optional covariates adjustment is provided.
standardizeData(dat, batch, mod, mean.only = FALSE)Numeric matrix with imaging features as rows, and scans/images as columns.
Numeric or character vector specifying the batch/scanner
variable needed for harmonization. Length must be equal to the
number of columns in dat.
Optional model matrix for outcome of interest and other covariates besides batch/scanner.
Should only correction factors be calculated for location? FALSE by default.
Standardized data.