make.pred.img.RdThis function allows you to create prediction images from the MEDALS pipeline. This should be the last step
make.pred.img(score.img.list, path.mask.list, fit = medals::def.fit, verbose = TRUE)
| score.img.list | A list of sublists, where each sublist is a list of images created from the PC scores. This can be the output of make.score.img().This has to contain at least one sublist |
|---|---|
| path.mask.list | A list of paths to the brain mask for each subject. This should be in the same order as the sublists for score.img.list |
| fit | A model fit object, either use the default or use the output from get.model.fit(). |
| verbose | Print diagnostic messages |