check_tbm_atlas_and_mask.Rd
Check and return the maskfile and the atlas file
check_tbm_atlas_and_mask(
subjdir = "",
csv = "",
atlas = "",
maskfile = "",
exclude_col
)
subject directory containing BrainSuite processed data.
filename of a comma separated (csv) file containing the subject demographic information. The first column of this csv file should be "subjID" and should have subject identifiers you wish to analyze. subjID can be alphanumeric and should be exactly equal to the individual subject directory name.
character specifying the file path prefix (all characters in the file name upto the first ".") for the custom atlas. If empty, the atlas will be read from the svreg.log file in the subject directory. Otherwise, for example, if the atlas for tensor based morphometry is located at /path/to/atlas/myatlas.mri.bfc.nii.gz, then specify atlas="/path/to/atlas/myatlas".
filename of the mask for tbm or diffusion parameter analysis. The mask has to be in the atlas space.
character string for the column in demographics csv (contains 1 or 0 for each row) specifying the subjects to exclude. 1 denotes include, 0 denotes exclude.