Hi there! I’m interested in using the covariates put out during fmriprep as a multiple regressor in SPM. SPM requires the multiple regressor to be in a specific format (.txt or .mat). From the SPM12 manual: You will first need to create a *.mat file containing a matrix R or a *.txt file containing the covariates. Each column of R will contain a different covariate. Unless the covariates names are given in a cell array called ’names’ in the MAT-file containing variable R, the covariates will be named R1, R2, R3, …etc.
Has anyone translated the covariate txt output from fmriprep to this SPM multiple covariate format? Would love insight!