bstr_ttest.RdPerform independent sample and paired sample t-tests for differences between means of brain imaging phenotypes for a categorical variable.
bstr_ttest(group_var, bstr_data, paired = FALSE, mult_comp = "fdr")Categorical variable name. This should be present in the demographics csv file associated
with bstr_data.
Object of type BstrData().
logical; is TRUE if group_var contains matching (dependent) samples. The default value is FALSE.
method for multiple comparisons correction. The default method is "fdr". See bstr_p_adjust() for valid values.
The degrees of freedom are calculated using the Welch–Satterthwaite approximation by default.
bstr_data can be of the type "sba", "tbm", or "roi".