Write maps of ESTATICS parameters in standardized form as NIfTI files.
Write maps of ESTATICS parameters in standardized form as NIfTI files.
R2, ST1, SPD and, if available, SMT-maps are written as compressed NIfTI files into directory the speecified directory. If class(mpmESTATICSModel) == "sESTATICSModel" and an smoothed data are stored in mpmESTATICSModel$smoothedData the smoothed data are stored as ompressed NIfTI files in dir with filenames assembled using prefix and the names of the data source files.
writeESTATICS(mpmESTATICSModel, dir =NULL, prefix ="estatics", verbose =TRUE)
Arguments
mpmESTATICSModel: Object of class 'ESTATICSModel' or 'sESTATICSModel' as returned from function estimateESTATICS or smoothESTATICS.
dir: Directory name (or path) for output.
prefix: Prefix for file names
verbose: logical - provide information on progress
Returns
The function returns NULL
References
J. Polzehl and K. Tabelow (2023), Magnetic Resonance Brain Imaging: Modeling and Data Analysis Using R, 2nd Edition, Chapter 6, Springer, Use R! Series. doi:10.1007/978-3-031-38949-8_6.
J. Polzehl and K. Tabelow (2023), Magnetic Resonance Brain Imaging - Modeling and Data Analysis Using R: Code and Data. doi:10.20347/WIAS.DATA.6.