This function performs the ANOVA Linear Mixed Effects analysis for ROIs

bstr_roi_lmer_anova(group_var, main_effect = "", covariates = "", bstr_data)

Arguments

group_var

Categorical variable name. This should be present in the demographics csv file associated with bstr_data.

main_effect

Character string containing an independent variable whose effect you want to measure. It could be disease status, age, gender etc. This should strictly be a single variable. This can be either a categorical or a continuous variable.

covariates

Character string containing a set of other predictors (variables) in the model. If more than one covariates are included, they should be separated by a + operator similar to an R formula.

bstr_data

Object of type BstrData()