The function reads data generated in Multimodal Parameter Mapping (MPM) experiments.
readMPMData(t1Files =NULL, pdFiles =NULL, mtFiles =NULL, maskFile =NULL, TR =NULL, TE =NULL, FA =NULL, wghts =NULL, verbose =TRUE)
Arguments
t1Files: Vector of filenames corresponding to T1 weighted images (in Nifti-Format) with varying TE
pdFiles: Vector of filenames corresponding to PD weighted images (in Nifti-Format) with varying TE
mtFiles: optional Vector of filenames corresponding to MT weighted images (in Nifti-Format) with varying TE
maskFile: optional filename for mask (in Nifti-Format)
TR: optional numeric TR vector, if omitted information is extracted from .nii files if possible
TE: optional numeric TE vector, if omitted information is extracted from .nii files if possible
FA: optional numeric FA (flip-angle) vector, if omitted information is extracted from .nii files if possible
wghts: optional weights for MPM data volumes. Only needed is volumes have different data variance, e.g., in case of averages of multiple acquisitions.
verbose: logical - provide information on progress
Returns
List with components - ddata: mpm data
sdim: dimension of image cube
nFiles: number of images / image files
t1Files: character - filenames of t1Files
pdFiles: character - filenames of pdFiles
mtFiles: character - filenames of mtFiles
model: Number of the ESTATICS model that can be used
maskFile: character - filenames of maskFile
mask: mask
TR: vector of TR values
TE: vector of TE values
FA: vector of FA values
and class-attribute 'mpmData'
References
Weiskopf, N.; Suckling, J.; Williams, G.; Correia, M. M.; Inkster, B.; Tait, R.; Ooi, C.; Bullmore, E. T. & Lutti, A. Quantitative multi-parameter mapping of R1, PD(), MT, and R2() at 3T: a multi-center validation. Front Neurosci, Wellcome Trust Centre for Neuroimaging, UCL Institute of Neurology, University College London, UK., 2013, 7, 95
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.