make.score.img: A function to create score images for each subject for...

Description Usage Arguments

Description

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.

Usage

1
2
make.score.img(path.img.list, path.mask.list, loads = medals::def.loads,
  which.scores = 1:8, verbose = TRUE)

Arguments

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


JMMaronge/medals documentation built on May 7, 2019, 10:12 a.m.