load_data.Rd
A generic function to load data for statistical analysis.
load_data(
bstr_data,
atlas_filename = NULL,
maskfile = NULL,
hemi = "left",
measure = "",
smooth = 0,
eddy = TRUE,
roiids = NULL,
roimeas = NULL,
exclude_col
)
# S4 method for BstrData
load_data(bstr_data, roiids = NULL, roimeas = NULL, exclude_col)
# S4 method for BstrSBAData
load_data(bstr_data, atlas_filename, hemi, smooth)
# S4 method for BstrTBMData
load_data(bstr_data, atlas_filename, maskfile = NULL, smooth)
# S4 method for BstrDBAData
load_data(bstr_data, atlas_filename, maskfile = NULL, measure, smooth, eddy)
# S4 method for BstrROIData
load_data(bstr_data, roiids = NULL, roimeas = NULL, exclude_col)
object of type BstrData()
path name to the atlas
path name to the mask file
chaaracter string denoting the brain hemisphere. Should either be "left" or "right" or "both".
character specifying the brain imaging measure. If analyzing diffusion data, should be "FA".
numeric value denoting the smoothing level.
boolean for specifying if the diffusion images were eddy-current corrected or not.
numeric label identifier for the region of interest (ROI) type analysis.
character string for the ROI measure. Should either be "gmthickness", "gmvolume", or "wmvolume".
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.
For the most part, the user will never have to call this function directly.
Instead the user should call load_bstr_data()
.