lsm_regresPerm: Regression tests for symptom mapping (permutation p-vlaues)

View source: R/lsm_regresPerm.R

lsm_regresPermR Documentation

Regression tests for symptom mapping (permutation p-vlaues)

Description

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.

Usage

lsm_regresPerm(lesmat, behavior)

Arguments

lesmat

matrix of voxels (columns) and subjects (rows).

behavior

vector of behavioral scores.

Value

List with vectors of statistic, pvalue, and zscore.

Author(s)

Dorian Pustina


dorianps/LESYMAP documentation built on June 1, 2024, 2:12 a.m.