Neuroimaging Pattern Masks

June 2, 2026 · View on GitHub

This docs/ directory is the documentation hub for the canlab/Neuroimaging_Pattern_Masks repository. It indexes every study folder, links to per-folder documentation (contents_description.md), and explains how to load each map with the CANlab Core Tools.

GitHub renders this page automatically when you open the docs/ folder. The file is also compatible with GitHub Pages (Jekyll) — to enable a public site, turn on Pages with source docs/ in repository settings.

For the project-level overview, see the top-level README.


What is in this repository

The repository collects three kinds of brain maps, each with its own top-level landing page:

TypeTop-level folderLanding page
Multivariate signatures — pre-trained predictive patternsMultivariate_signature_patterns/README
Atlases & parcellations — labeled regions / networksAtlases_and_parcellations/README
CANlab meta-analyses — consensus maps across studiesCANlab_Meta_analysis_maps/README
Neurosynth mapsNeurosynth_maps/README
Individual-study mapsIndividual_study_maps/README
Spatial basis functions — continuous gradients / ICA componentsspatial_basis_functions/README
Templates — reference T1 templatestemplates/README

A web companion with figures and references is hosted at the CANlab Brain Patterns site.

Loading maps

Most maps can be loaded by keyword through CanlabCore:

% Multivariate signatures (returns fmri_data + names)
[obj, networknames, imagenames] = load_image_set('siips');     % SIIPS1
[obj, networknames, imagenames] = load_image_set('npsplus');   % NPS, SIIPS, PINES, Rejection, VPS, GSR...
[obj, networknames, imagenames] = load_image_set('painsig');   % NPS + SIIPS only

% Atlases (returns atlas object)
atl = load_atlas('canlab2024');
atl = load_atlas('canlab2023');
atl = load_atlas('glasser_fmriprep20');
atl = load_atlas('schaefer400');

See load_image_set.m and load_atlas.m in CanlabCore for the full keyword list.

Applying signatures to new data

The repo ships two convenience wrappers at the root of Multivariate_signature_patterns/:

  • apply_all_signatures.m — applies a configurable set of signatures (NPS, SIIPS, PINES, VPS, Rejection, GSR, HR, …) to a cell array of fmri_data objects and returns a results table. Supports similarity_metric (dot-product / cosine / correlation), image_scaling (none / center / z-score / l2-norm), and a named image_set to choose which signature bundle to apply. Example:

    [SIG, sigtable] = apply_all_signatures(DATA_OBJ, ...
        'similarity_metric', 'cosine_similarity', ...
        'image_scaling', 'l2norm_images', ...
        'image_set', 'npsplus');
    
  • apply_siips.m — SIIPS1-specific wrapper that accepts wildcards, filename lists, or fmri_data objects and returns whole-signature responses plus local responses for each of the 44 FDR-thresholded SIIPS subregions.

Both helpers internally call CanlabCore's apply_mask / canlab_pattern_similarity, but they are easier to drop into a batch pipeline than wiring those up by hand.

Per-study documentation

Each study folder contains:

  • A primary-reference PDF named <lastauthor>_<year>_<keywords>.pdf (where available).
  • A contents_description.md that describes the folder (overview, key images, loading instructions, file inventory, citations).
  • A visualize_contents.m MATLAB script that regenerates cortical-surface, isosurface (where relevant), and montage figures into png_images/.
  • The image files themselves (NIfTI / atlas .mat objects / signature .mat objects).
  • Any existing author-authored README.md is preserved verbatim and linked from contents_description.md.

Shared rendering helpers used by every per-folder script live in docs/:


Multivariate signatures — all entries documented

YearStudyTopic
2011Wager — Placebo prediction (J Neurosci)Placebo response
2015Chang — PINES (PLoS Biol)Picture-induced negative affect
2015Kragel — Emotion BPLS (SCAN)7 emotion categories
2015Woo — Romantic Rejection (Nat Comms)Social rejection
2016Eisenbarth — Autonomic GSR/HR (J Neurosci)Skin conductance, heart rate
2016Krishnan — VPS (eLife)Vicarious pain
2017Ashar — Care / Distress (Neuron)Empathic care vs distress
2017López-Solà — Fibromyalgia signatures (PAIN)FM-pain & FM-multisensory; NPS region masks
2017Rosenberg — saCPM (Nat Neurosci)Sustained attention (connectome)
2017Woo — SIIPS1 (Nat Comms)Cerebral pain (beyond nociception)
2018Kragel — MFC generalizability (Nat Neurosci)Pain × emotion × cognitive control
2018Reddan — Threat ImEx (Neuron)CS+ vs CS− threat conditioning
2019Kragel — Emotion Schemas (Sci Adv)20 emotion categories
2019Lee — Back pain (PAIN)Chronic-back-pain markers
2019Matthewson/Woo — SCR pain (PAIN)Skin-conductance + pain
2019Yu/Koban — Guilt (Cereb Cortex)Interpersonal guilt
2020Geuter — Pain PDM mediation (Cereb Cortex)Pain mediation directions
2020Silvestrini/Rainville — aMCC pain × cognitive control (NeuroImage)dACC pain / Stroop
2020Van Oudenhove/Kragel — Somatovisceral (Nat Comms)Visceral vs somatic
2020Zhou — General vicarious pain (eLife)NS / FE / general vicarious pain
2021Čeko — MPA2 multiaversive (Nat Neurosci 2022)5 aversive modalities
2021van 't Hof — BASIC (Cereb Cortex)Sexual-image classifier
2021Zhou — Subjective fear VIFS (Nat Comms)Subjective fear
2022Coll — Pain × money decision valuePain / money / shock value
2022Koban — NCS Craving (Nat Neurosci 2023)Drug & food craving
2023Speer — Brain Reward Signature (BRS)Reward signature
2024FEPS — Facial Expressions of Pain (eLife)Facial-expression-based pain
2026Açıl — Mentalizing: Self / Other (Nat Comms)Mentalizing — overall, self, other, self-vs-other
2026Murillo — PiFoneM (J Pain)Pain-induced fear of neck movement

Atlases and parcellations — all entries documented

YearFolderDescription
2006Desikan-KillianyDesikan-Killiany cortical atlas
2009DestrieuxDestrieux gyral/sulcal cortical atlas
2011Buckner 7networks7 resting-state networks
2011Yeo 17networks17 resting-state networks
2012Desikan-Killiany-Tourville (DKT)DKT cortical atlas
2013Shen/Constable 268268-node functional parcellation
2014Keuken 7T subcortex7T high-resolution subcortex
2016CIT168 amygdala v1.0.3Amygdala subnuclei
2016Fan Brainnetome 273Brainnetome parcellation
2016Glasser HCP-MMP1360 multimodal cortical parcels (pilot)
2018CIT168 reinf-learn v1.0.0CIT168 subcortical v1.0.0
2018CIT168 reinf-learn v1.1.0CIT168 subcortical v1.1.0
2018Iglesias thalamicIglesias thalamic nuclei
2018Schaefer/Yeo multires100–1000 parcel multi-resolution cortex
2018Wager combined atlasOriginal CANlab whole-brain composite
2019Cartmell NAc core/shellNAcc core / shell
2019Kragel PAGPeriaqueductal gray subregions
2019Wager pain pathwaysCanonical ascending/descending pain
2019Zheng pain connectivity modulesPain connectivity modules
2020Iglesias hypothalamusHypothalamic subregions
2020JulichBrain v3.0.3Cytoarchitectonic
2020Pandora WM atlasWhite-matter bundles
2020Thiebaut de Schotten WMWhite-matter atlas
2020Tian subcortical v1.1Multi-scale subcortex
2022Hansen PET tracer mapsNeurotransmitter PET maps
2023Bianciardi Brainstem Navigator v0.9Brainstem nuclei
2023CANlab atlas (2023)CANlab combined atlas (2023)
2023CANlab atlas CIFTICIFTI grayordinate version
2023Harvard AAN brainstemAscending arousal network
2023Levinson/Bari limbic brainstemLimbic brainstem
2024CANlab atlas (2024)Latest CANlab combined atlas
2026Pourmajidian mitochondrial energetic capacityMitochondrial energetic capacity
utilreadme_and_summaryCross-atlas summary materials

CANlab meta-analysis maps — all entries documented

YearFolder
2003Wager — Emotion 64 studies (NeuroImage)
2003Wager — Working memory 60 studies (CABN)
2004Wager — Attention switching 31 studies
2007Etkin — Anxiety disorders (AJP)
2007Nee — Inhibition 47 studies
2008Kober — Emotion 163 studies (NeuroImage)
2011Agency meta-analysis
2011Meissner — Placebo masks (J Neurosci)
2011Yarkoni — Neurosynth (Nat Methods)
2012Denny — SOMA self/other
2014Buhle/Silvers — Reappraisal meta
2015Satpute/Barrett — Emotion valence
2015Wager/Kang — Emotion meta BSPP
2016de la Vega — Neurosynth mPFC parcellation
2016Neurosynth/Wager — Social-affective
2016Pauli — Basal-ganglia parcels (PNAS)
2017Ashar — Placebo review
2017de la Vega — Neurosynth cortical parcellation
2018Kraynak/Gianaros — Immune meta
2018Sha — Common networks of psychopathology
2021Zunhammer — N=603 pain placebo
2024Quah/Saggar — RDoC factor maps (Nat Comms 2025)

Neurosynth maps

Individual-study maps

Spatial basis functions

Templates


Conventions used in this documentation

Per the contribution guidelines, every study folder follows the same layout. The contents_description.md in each folder is the canonical entry point and contains:

  1. Overview — what the resource is, in a few lines, with the primary reference linked at the publisher's site (and citations to any secondary references found in the folder).
  2. Key images — 1–2 representative figures (montage, surface, or isosurface) taken from the CANlab Brain Patterns site or generated by visualize_contents.m. Pre-rendered figures already present in folders (e.g., images_and_regions/, figures/, png_images/) are embedded directly.
  3. How to load — the exact load_atlas() / load_image_set() call, or the filename to pass to fmri_data() / atlas() directly.
  4. Construction scripts — links to constructor scripts in the folder or in CanlabCore.
  5. File inventory — every NIfTI / .mat / .m in the folder with one line each. Individual .png files are not listed (they are embedded as key images instead).
  6. Citations — primary and secondary papers, plus links.

Existing author-authored README.md / Readme.md / Readme.txt files in sub-folders are preserved verbatim and linked from the new contents_description.md, mirroring the Glasser-folder pattern.

Regenerating figures

After modifying any folder, regenerate its PNGs:

cd /path/to/Atlases_and_parcellations/2016_Glasser_Nature_HumanConnectomeParcellation
visualize_contents();   % writes png_images/<label>_{surface,montage,isosurface}.png

To re-render every signature in one MATLAB session:

addpath('/path/to/Neuroimaging_Pattern_Masks/docs');
run_all_multivariate('Multivariate_signature_patterns');    % or any other category

Adding a new study folder

  1. Create the folder under the appropriate category with name YYYY_<lastauthor>_<keywords>.
  2. Drop in the NIfTI / .mat files plus a copy of the primary reference PDF (filename: <lastauthor>_<year>_<keywords>.pdf).
  3. Copy a visualize_contents.m from a similar folder and adapt the imgs cell.
  4. Run it once locally to generate png_images/.
  5. Write contents_description.md following the sections above.
  6. Add the entry to the appropriate category list in the top-level landing page (e.g., Atlases_and_parcellations/README.md) and to the master list in this docs/README.md.
  7. If applicable, add a keyword to the switch in CanlabCore/Data_extraction/load_image_set.m or load_atlas.m.

Documentation status

Every study folder in the repository now has a contents_description.md and (in nearly all cases) a visualize_contents.m. Top-level landing pages list each subfolder and link to its docs.

PDF coverage: 30+ PDFs are checked in directly. For a few paywalled papers (Reddan 2018 Neuron, Speer 2023 J Neurosci, Coll 2022, Kragel 2015 SCAN) the DOI link is recorded but no local PDF is present.

MATLAB / PNG coverage: every visualize_contents.m writes its output to png_images/. The full batch is reproducible by running docs/run_all_multivariate.m once per category.

If a folder you need is missing something, the underlying image files and any pre-existing README.md / create_*.m script in that folder remain authoritative — the new docs are an additional indexing / discovery layer, not a replacement.