lsm_regresPerm.Rd
Lesion to symptom mapping performed on a prepared matrix. Regressions are performed between behavior and each column in the lesmat matrix. This function relies on the lmPerm package to run. The number of permutations required to reach stable p-values is estalbished automatically. For this reason, the user cannot specify a predefined number of permutations.
lsm_regresPerm(lesmat, behavior)
lesmat | matrix of voxels (columns) and subjects (rows). |
---|---|
behavior | vector of behavioral scores. |
List with vectors of statistic, pvalue, and zscore.