From awesome-cognitive-and-neuroscience-skills
Guides lesion-symptom mapping in clinical neuroscience using VLSM, disconnection analysis, and network methods, controlling for confounds like lesion volume and collinearity.
npx claudepluginhub neuroaihub/awesome_cognitive_and_neuroscience_skills --plugin awesome-cognitive-and-neuroscience-skillsThis skill uses the workspace's default tool permissions.
This skill encodes expert methodological knowledge for lesion-symptom mapping in clinical and cognitive neuroscience. A competent programmer without neuropsychology and neuroimaging training will get this wrong because:
Advises on functional/effective connectivity methods including PPI, DCM, Granger causality, and graph theory for task/resting-state fMRI analysis.
Supports neuroscience research workflows using ToolUniverse tools for computational modeling (rate models, integrate-and-fire), neuroanatomy, neurophysiology, synaptic plasticity, neural circuits, neurodegeneration, and clinical neurology.
Loads and processes 3D medical images in MATLAB Medical Imaging Toolbox: DICOM/NIfTI/NRRD I/O, volume visualization, registration, radiomics features, MedSAM segmentation, PACS queries.
Share bugs, ideas, or general feedback.
This skill encodes expert methodological knowledge for lesion-symptom mapping in clinical and cognitive neuroscience. A competent programmer without neuropsychology and neuroimaging training will get this wrong because:
Do NOT use this skill for:
fmri-glm-analysis-guide)Before executing the domain-specific steps below, you MUST:
For detailed methodology guidance, see the research-literacy skill.
This skill was generated by AI from academic literature. All parameters, thresholds, and citations require independent verification before use in research. If you find errors, please open an issue.
What is your research question?
|
+-- "Which brain voxels are associated with a behavioral deficit?"
| |
| +-- N >= 50 patients, continuous outcome
| | --> VLSM (mass-univariate)
| |
| +-- N >= 50 patients, binary outcome
| | --> VLSM with Brunner-Munzel or chi-square
| |
| +-- N >= 100 patients, distributed representations expected
| | --> SVR-LSM (multivariate)
| |
| +-- N < 50 patients
| --> Underpowered for VLSM; consider ROI-based approach
| or case-series descriptive analysis
|
+-- "Which white matter pathways mediate the deficit?"
| --> Disconnection analysis (BCBToolkit, Disconnectome)
| Can supplement VLSM or replace it when tracts are the question
|
+-- "Which brain networks, when lesioned, produce this symptom?"
--> Lesion network mapping (normative connectome)
Maps lesion location to network disruption
| Method | Description | Accuracy | Time per patient | Source |
|---|---|---|---|---|
| Manual tracing | Expert traces lesion on each slice | Gold standard | 30--60 min | Brett et al., 2001 |
| Semi-automated (lesion_gnb) | Gaussian naive Bayes on FLAIR | Good for chronic WM lesions | 5--15 min | Pustina et al., 2016 |
| LINDA | Random forest on T1 | Good for chronic stroke | 5--10 min | Pustina et al., 2016 |
| U-net / deep learning | Trained CNNs | Approaching manual accuracy | < 1 min | Kamnitsas et al., 2017 |
Domain judgment: Manual tracing remains the gold standard. Semi-automated methods should always be visually inspected and manually corrected. Never trust a fully automated segmentation without visual QC of every patient (Brett et al., 2001).
Cost function masking (CRITICAL): When registering a lesioned brain to MNI template, the lesion MUST be masked out of the cost function. Without masking, the registration algorithm warps healthy tissue to fill the lesion, distorting the spatial normalization (Brett et al., 2001).
Recommended pipeline:
| Requirement | Minimum | Recommended | Source |
|---|---|---|---|
| Sample size | N >= 50 | N >= 100 | Sperber, 2020; Kimberg et al., 2007 |
| Lesion overlap per voxel | >= 10% of sample (or N >= 10) | >= 15% | Kimberg et al., 2007 |
| Behavioral measure | Continuous preferred | -- | Bates et al., 2003 |
Domain judgment: VLSM with N < 50 is severely underpowered. Sperber (2020) showed that with N = 30, VLSM produces maps that fail to replicate and have unacceptably high false discovery rates. If N < 50, consider ROI-based analyses with a priori regions or descriptive lesion overlap approaches.
| Test | When to Use | Advantages | Source |
|---|---|---|---|
| t-test | Continuous behavior, binary lesion status per voxel | Simple, widely used | Bates et al., 2003 |
| Brunner-Munzel | Non-normal behavioral data, unequal variances | Robust to non-normality and unequal group sizes | Rorden et al., 2007 |
| Regression | Controlling for covariates (age, lesion volume) | Flexible; includes confound control | Sperber, 2020 |
| Liebermeister | Binary behavioral outcome (impaired/spared) | For binary classification | Rorden et al., 2007 |
| Method | Description | Recommended? | Source |
|---|---|---|---|
| Permutation-based FWE | Permute behavioral scores 5000+ times; threshold at 5th percentile of max statistic | YES -- gold standard | Kimberg et al., 2007 |
| FDR (Benjamini-Hochberg) | Controls false discovery rate | Acceptable alternative but assumes independence | Kimberg et al., 2007 |
| Bonferroni | Divide alpha by number of voxels | Too conservative; almost never detects effects | Expert consensus |
| Uncorrected | No correction | NEVER for publication | Expert consensus |
Domain judgment: Permutation testing is strongly preferred because lesion maps violate the independence assumptions of FDR and parametric corrections. The spatial correlation structure of lesions means neighboring voxels are highly non-independent. Permutation testing implicitly accounts for this correlation structure (Kimberg et al., 2007).
Lesion volume MUST be controlled. Methods (DeMarco & Turkeltaub, 2018):
CRITICAL: Failing to control for lesion volume is the single most common error in VLSM studies. Large lesions damage more regions and produce worse deficits, creating a spurious correlation between any frequently-damaged voxel and behavioral impairment (DeMarco & Turkeltaub, 2018).
Support vector regression-based lesion-symptom mapping considers the full lesion pattern simultaneously, addressing the collinearity problem of mass-univariate VLSM.
| Parameter | Recommended Value | Source |
|---|---|---|
| Kernel | Linear | Zhang et al., 2014 |
| C parameter | 30 (default for LSM) | Zhang et al., 2014 |
| Feature reduction | Remove voxels with < 10% lesion overlap | Zhang et al., 2014 |
| Statistical inference | Permutation testing (5000+ permutations) | Zhang et al., 2014 |
Advantages over VLSM (Zhang et al., 2014):
Limitations:
Other multivariate approaches (random forests, LASSO regression) can be applied:
A focal lesion disrupts not only the damaged tissue but also white matter pathways passing through the lesion, disconnecting distant brain regions (Foulon et al., 2018). VLSM maps only the lesion site; disconnection analysis maps the affected structural connections.
| Tool | Approach | Data Required | Source |
|---|---|---|---|
| BCBToolkit | Maps lesion to disconnected tracts using normative tractography atlas | Lesion mask in MNI space | Foulon et al., 2018 |
| Disconnectome maps | Pre-computed: for each brain voxel, which tracts are disconnected | Lesion mask in MNI space | Thiebaut de Schotten et al., 2015 |
| Individual tractography | DTI/DWI tractography in each patient | Patient DWI data | Expert consensus |
Maps a lesion to the brain-wide functional network it disrupts, using normative resting-state fMRI data:
Larger lesions produce worse behavioral deficits and damage more voxels. Without controlling for lesion volume, VLSM maps reflect voxels that are part of large lesions rather than voxels critical for the behavior (DeMarco & Turkeltaub, 2018).
Stroke lesions are not uniformly distributed across the brain. The MCA territory (lateral frontal, temporal, parietal, insular cortex) is disproportionately affected. This means:
| Phase | Time | Concern | Source |
|---|---|---|---|
| Acute (< 2 weeks) | Edema, diaschisis, penumbra | Lesion extent overestimated; behavior worst | Karnath et al., 2004 |
| Subacute (2 weeks -- 3 months) | Recovery, reorganization | Lesion stabilizing; behavior improving | Expert consensus |
| Chronic (> 3 months) | Stable lesion | Preferred for VLSM; most stable brain-behavior relationship | Sperber, 2020 |
Domain judgment: Chronic-phase data (> 3 months post-onset) is strongly preferred for VLSM because both lesion extent and behavioral deficits have stabilized. Acute-phase data confounds true lesion effects with transient diaschisis and edema (Karnath et al., 2004; Sperber, 2020).
Always consider controlling for:
| Software | Methods | Language | Source |
|---|---|---|---|
| NiiStat | VLSM, ROI analysis | MATLAB | Rorden et al., 2007 |
| VLSM2 | VLSM with permutation testing | MATLAB | Bates et al., 2003 |
| SVR-LSM toolbox | Multivariate SVR-LSM | MATLAB | Zhang et al., 2014 |
| BCBToolkit | Disconnection analysis, disconnectome | GUI/Python | Foulon et al., 2018 |
| LESYMAP | VLSM, SVR-LSM, SCCAN | R | Pustina et al., 2018 |
| ANTs | Registration with cost function masking | C++/Python | Avants et al., 2011 |
| FSL | Registration, lesion masking | Python/C++ | Jenkinson et al., 2012 |
The most frequent and most damaging error. Always include lesion volume as a covariate or use residualized behavioral scores (DeMarco & Turkeltaub, 2018).
VLSM with N < 50 produces unreliable maps. With N = 30, false positive rates can exceed 50% in some simulations (Sperber, 2020). If your sample is small, use ROI-based approaches or descriptive methods.
Registering lesioned brains to template without masking the lesion distorts the normalization, warping healthy tissue into the lesion cavity and misaligning the rest of the brain (Brett et al., 2001).
Uncorrected thresholds produce massive false positives. Bonferroni is too conservative due to spatial correlation. Use permutation-based FWE (Kimberg et al., 2007).
Interpreting a VLSM map as showing "the region responsible for function X" ignores that vascular territory collinearity may have driven the result. Consider supplementing with disconnection analysis or using multivariate methods (Sperber, 2020).
Acute patients have larger effective lesions (edema) and worse behavior, confounding time-post-onset with lesion severity. Analyze chronic patients separately or include time as a covariate (Karnath et al., 2004).
Based on Sperber (2020), DeMarco & Turkeltaub (2018), and Kimberg et al. (2007):
See references/vlsm-pipeline.md for step-by-step VLSM analysis workflow.
See references/disconnection-guide.md for detailed BCBToolkit and disconnection analysis procedures.