This function allows you to create the score images for each PC in the MEDALS pipeline. These will be used as predictors in a model to predict lesion areas. This should be the 3rd step in the MEDALS pipeline.
1 2 | make.score.img(path.img.list, path.mask.list, loads = medals::def.loads,
which.scores = 1:8, verbose = TRUE)
|
path.img.list |
A list of sublists, where each sublist is a list of paths to the files for each imaging modality (ex. T1w, T2w, DWI, etc.) for a particular subject. 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 path.img.list |
loads |
The loadings matrix to rotate original data by. |
which.scores |
A vector of the score images desired for each subject. Ex. 1:8. |
verbose |
Print diagnostic Messages |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.