Load ROI data for statistical analysis.

load_roi_data(subjdir = "", csv = "", roiids = "", roimeas = "", exclude_col)

Arguments

subjdir

subject directory containing BrainSuite processed data.

csv

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.

roiids

numeric label identifiers for the regions of interest (ROI) type analysis.

roimeas

character string for the ROI measure. Should either be "gmthickness", "gmvolume", or "wmvolume".

exclude_col

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.