Test for correlation between a brain imaging phenotype (cortical thickness, determinant of the jacobian matrix) and corr_var using the Pearson's product moment correlation coefficient. The brain imaging phenotype is automatically selected from the type of bstr_data.

bstr_corr(corr_var, bstr_data, group_var = "", mult_comp = "fdr")

Arguments

corr_var

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

bstr_data

Object of type BstrData().

group_var

Character variable for groups in the data. Currently this argument is only used in plotting for ROI analysis.

mult_comp

method for multiple comparisons correction. The default method is "fdr". See bstr_p_adjust() for valid values.

Details

bstr_data can be of the type "sba", "tbm", or "roi".