Loads the ROI measure for statistical analysis.

bstr_load_roi_data(subjects_dir, csv, roiids, roimeas, exclude_col)

Arguments

subjects_dir

character string for subject directory.

csv

filename of a comma separated (csv) file containing the subject demographic information.

roiids

vector of numeric label identifiers for the region 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.