Description Usage Arguments Value Author(s) Examples
Lesion to symptom mapping performed on a prepared matrix.
The behavior must be a binary vector.
Chi square tests are performed at each voxel. By default
the Yates correction is performed, use correct=FALSE
if you need to disable it. The behavior must
be a binary vector. Exact p-values can be obtained with permutation
based estimatins.
1 2 |
lesmat |
binary matrix (0/1) of voxels (columns) and subjects (rows). |
behavior |
vector of behavioral scores (must be binary. |
YatesCorrect |
(default=T) logical whether to use Yates correction. |
runPermutations |
logical (default=FALSE) whether to use permutation based p-value estimation. |
nperm |
(default=2000) The number of permutations to run. |
showInfo |
display info messagges when running the function. |
... |
other arguments received from |
List of objects returned:
statistic
- vector of statistical values
pvalue
- vector of pvalues
zscore
- vector of zscores
Dorian Pustina
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.