Load cortical surface data for statistical analysis.

load_sba_data(
  subjdir = "",
  csv = "",
  hemi = "left",
  smooth = 0,
  atlas = "",
  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.

hemi

chaaracter string denoting the brain hemisphere. Should either be "left" or "right".

smooth

numeric value denoting the smoothing level.

atlas

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".

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.