Lesion to Symptom Mapping (R toolbox)

Package details

Open Source Love
Systems: Linux, Mac or Windows Linux Subsystem
Language: R (version 3.0 or above)
License: Apache License 2.0


What does it do

Takes lesion maps and cognitive performance scores from patients with stroke, and maps the brain areas responsible for the cognitive deficit.


The quickest way to install is:

if (! 'devtools' %in% installed.packages()) install.packages('devtools')

This will install all the dependencies, including ANTsR (may take one hour on some computers). Here is the video of the installation process. If it doesn’t work, check out the more detailed installation instructions.



# All functions have appropriate documentation. Start by typing

# run an example analyses using data provided with lesymap
18:34:35 Running LESYMAP   
18:34:35 Checking a few things...  
18:34:35 Loading behavioral data...131 scores found.  
18:34:35 Computing mask from average >= 10% ...  
18:35:23 Computing unique patches...  
18:36:01 Found 195102 patches in 326828 voxels - 1.7 times more voxels  
18:36:01 Using existing lesion matrix... 131x195102  
18:36:01 Running analysis: BMfast ...  
18:36:04 Correcting p-values: fdr ...  
18:36:04 Preparing images...  
18:36:05 Logging call details...  
18:36:05 Done! 1.5 mins   
Hit <Return> to see next plot: 

Checkout how this example looks on the screen.


What is lesion to symptom mapping
Fast lesion drawing in ITKsnap
All Videos
Installing LESYMAP
Provided data
Understanding permutations
Known limitations


Package under development, the behavior of some functions may change.