LESYMAP

Lesion to Symptom Mapping (R toolbox)


Package details

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

Travis


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.


Install

The quickest way to install is:

if (! 'devtools' %in% installed.packages()) install.packages('devtools')
devtools::install_github('dorianps/LESYMAP')

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.


Use

library(LESYMAP)

# All functions have appropriate documentation. Start by typing
?lesymap

# run an example analyses using data provided with lesymap
example(lesymap)
18:34:35 Running LESYMAP 0.0.0.9001   
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: 

Check out how this example looks on the screen.


Documentation

What is lesion to symptom mapping
Fast lesion drawing in ITKsnap
All Videos
Installing LESYMAP
[New] Registering lesions in template space
Provided data
Understanding permutations
Known limitations


Note

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