Sample datasets and signature patterns in CanlabCore

June 12, 2026 · View on GitHub

CanlabCore ships with a small collection of test datasets and exposes a much larger registry of group-level images, parcellations, meta-analytic maps, and multivariate "signature" patterns through the load_image_set function. Together, these are the canonical inputs for the tutorials and walkthroughs at canlab.github.io.

Most of the built-in test data lives in CanlabCore/Sample_datasets/ and ships with the toolbox itself. The remaining datasets and patterns are loaded on demand from the CANlab Neuroimaging_Pattern_Masks repository, the MasksPrivate repository (lab-internal weight maps), the canlab_single_trials repository (single-trial pain datasets), or in some cases by automatic download from Neurovault.

The central entry point is:

[image_obj, networknames, imagenames] = load_image_set('keyword');

load_image_set resolves a keyword (e.g. 'emotionreg', 'nps', 'kragel18', 'bucknerlab') to the matching image set, returns an fmri_data object with the maps loaded, a cell array of formatted network names suitable for plot labels, and a cell array of full image filenames. If the input is not a recognized keyword, it is treated as a list of NIfTI filenames and loaded directly.

For a longer narrative walkthrough see the original CANlab documentation page at https://canlab.github.io/_pages/canlab_help_2c_loading_datasets/canlab_help_2c_loading_datasets.html. The keyword inventory has grown since that page was written, so the table below reflects the current state of the registry from the live load_image_set.m source. A few datasets — particularly newer signatures such as pifonem, transcriptomic_gradients, and the Hansen22 PET maps — are not described in the legacy help page.

Built-in Sample_datasets/ files

The following test data ships with the CanlabCore repository under CanlabCore/Sample_datasets/:

File / folderDescriptionCitation
Atlas_2012_REMI_behavioral_data.matReappraisal-of-emotional-images (REMI) behavioral data accompanying Atlas et al. 2012.Atlas, L. Y., Whittington, R. A., Lindquist, M. A., Wielgosz, J., Sonty, N., & Wager, T. D. (2012). Dissociable influences of opiates and expectations on pain. Journal of Neuroscience, 32(23), 8053-8064.
emotion regulation_pAgF_z_FDR_0.01_8_14_2015.niiNeurosynth-derived "emotion regulation" reverse-inference map (z, FDR 0.01), generated 14-Aug-2015.Yarkoni, T., Poldrack, R. A., Nichols, T. E., Van Essen, D. C., & Wager, T. D. (2011). Large-scale automated synthesis of human functional neuroimaging data. Nature Methods, 8(8), 665-670.
Jepma_IE2_single_trial_canlab_dataset.matSingle-trial dataset from Jepma IE2 (instructed expectancy 2). Stored as a canlab_dataset.Jepma, M., Koban, L., van Doorn, J., Jones, M., & Wager, T. D. (2018). Behavioural and neural evidence for self-reinforcing expectancy effects on pain. Nature Human Behaviour, 2(11), 838-855.
Pinel_sample_fMRI_time_series/Single-subject Pinel localizer raw fMRI timeseries with events file and confounds.Pinel, P., Thirion, B., Meriaux, S., Jobert, A., Serres, J., Le Bihan, D., Poline, J.-B., & Dehaene, S. (2007). Fast reproducible identification and large-scale databasing of individual functional cognitive networks. BMC Neuroscience, 8, 91.
Wager_et_al_2008_Neuron_EmotionReg/30 first-level contrast images for [reappraise negative vs. look negative], plus metadata. Loaded by load_image_set('emotionreg').Wager, T. D., Davidson, M. L., Hughes, B. L., Lindquist, M. A., & Ochsner, K. N. (2008). Prefrontal-subcortical pathways mediating successful emotion regulation. Neuron, 59(6), 1037-1050.
Woo_2015_PlosBio_BMRK3_pain_6levels/BMRK3 pain stimulation 6-levels dataset: 33 participants, brain responses to six levels of heat (one 4-D .nii.gz per subject + bmrk3_6levels_metadata.mat). Loaded by load_image_set('bmrk3') or 'pain', which builds the 198-image object directly from these files (no download).Woo, C.-W., Roy, M., Buhle, J. T., & Wager, T. D. (2015). Distinct brain systems mediate the effects of nociceptive input and self-regulation on pain. PLoS Biology, 13(1), e1002036.

load_image_set keyword registry

The registry is organized into four families, mirroring the :Available Keywords: block in the load_image_set.m header. Type the keyword (or any listed alias) as the first argument to load_image_set. Keywords are matched case-insensitively. Some entries require additional CANlab repositories or private data on the MATLAB path (MasksPrivate, Neuroimaging_Pattern_Masks, canlab_single_trials); a couple are auto-downloaded from Neurovault.

Special meta-keywords:

  • 'list' — returns a table of registered signatures (as the first output) and prints it.
  • 'all' — loads every signature in the registry (large object).

Sample test datasets — one image per subject

Keyword(s)DescriptionTypeCitation
emotionreg, emotionregulationN=30 contrast images for [reappraise negative vs. look negative].group-level imagesWager, T. D., Davidson, M. L., Hughes, B. L., Lindquist, M. A., & Ochsner, K. N. (2008). Prefrontal-subcortical pathways mediating successful emotion regulation. Neuron, 59(6), 1037-1050.
bmrk3, pain33 participants x 6 levels of noxious heat (BMRK3), 198 images. Built from the per-subject images in Sample_datasets/Woo_2015_PlosBio_BMRK3_pain_6levels (no download).group-level imagesWoo, C.-W., Roy, M., Buhle, J. T., & Wager, T. D. (2015). Distinct brain systems mediate the effects of nociceptive input and self-regulation on pain. PLoS Biology, 13(1), e1002036.
kragel270, kragel18_alldata, kragel2018_alldata, kragel18_testdata270 single-subject maps from Kragel 2018 (combined across pain, cognitive control, and negative emotion studies). Auto-downloaded from Neurovault if missing.group-level imagesKragel, P. A., Kano, M., Van Oudenhove, L., Ly, H. G., Dupont, P., Rubio, A., Delon-Martin, C., Bonaz, B. L., Manuck, S. B., Gianaros, P. J., Ceko, M., Reynolds Losin, E. A., Woo, C.-W., Nichols, T. E., & Wager, T. D. (2018). Generalizable representations of pain, cognitive control, and negative emotion in medial frontal cortex. Nature Neuroscience, 21(2), 283-289.

Sample test datasets — one image per trial (single-trial datasets)

These keywords dispatch to load_<keyword>.m in the canlab_single_trials repository (compiled and maintained by Bogdan Petre). Each loads as an fmri_data object whose .metadata_table field stores per-trial information. The repository must be on your MATLAB path. The keyword all_single_trials loads all of them.

Keyword(s)DescriptionTypeCitation
nsfNSF heat-pain study (early Wager-lab pain dataset).single-trial timeseriesWager, T. D., Atlas, L. Y., Lindquist, M. A., Roy, M., Woo, C.-W., & Kross, E. (2013). An fMRI-based neurologic signature of physical pain. New England Journal of Medicine, 368(15), 1388-1397.
bmrk3painBMRK3 painful-heat trials (single-trial version of the BMRK3 dataset).single-trial timeseriesWoo, C.-W., Roy, M., Buhle, J. T., & Wager, T. D. (2015). Distinct brain systems mediate the effects of nociceptive input and self-regulation on pain. PLoS Biology, 13(1), e1002036.
bmrk3warmBMRK3 warm (non-painful) trials.single-trial timeseriesWoo, C.-W., Roy, M., Buhle, J. T., & Wager, T. D. (2015). Distinct brain systems mediate the effects of nociceptive input and self-regulation on pain. PLoS Biology, 13(1), e1002036.
bmrk4BMRK4 capsaicin/heat dataset; basis for the VPS.single-trial timeseriesKrishnan, A., Woo, C.-W., Chang, L. J., Ruzic, L., Gu, X., Lopez-Sola, M., Jackson, P. L., Pujol, J., Fan, J., & Wager, T. D. (2016). Somatic and vicarious pain are represented by dissociable multivariate brain patterns. eLife, 5, e15166.
expExpectancy / placebo single-trial pain dataset.single-trial timeseriesAtlas, L. Y., Bolger, N., Lindquist, M. A., & Wager, T. D. (2010). Brain mediators of predictive cue effects on perceived pain. Journal of Neuroscience, 30(39), 12964-12977.
ieInstructed expectancy (IE) pain dataset.single-trial timeseriesJepma, M., & Wager, T. D. (2015). Conceptual conditioning: Mechanisms mediating conditioning effects on pain. Psychological Science, 26(11), 1728-1739.
ie2Instructed expectancy 2 (Jepma IE2).single-trial timeseriesJepma, M., Koban, L., van Doorn, J., Jones, M., & Wager, T. D. (2018). Behavioural and neural evidence for self-reinforcing expectancy effects on pain. Nature Human Behaviour, 2(11), 838-855.
ilcpILCP chronic-pain single-trial dataset.single-trial timeseries
romanticRomantic-rejection / partner-feedback pain study (basis for the rejection signature).single-trial timeseriesWoo, C.-W., Koban, L., Kross, E., Lindquist, M. A., Banich, M. T., Ruzic, L., Andrews-Hanna, J. R., & Wager, T. D. (2014). Separate neural representations for physical pain and social rejection. Nature Communications, 5, 5380.
sceblSocial / emotional placebo / social-cue pain study (SCEBL).single-trial timeseriesKoban, L., & Wager, T. D. (2016). Beyond conformity: Social influences on pain reports and physiology. Emotion, 16(1), 24-32.
stephanStephan et al. pain dataset.single-trial timeseries
all_single_trialsLoads every single-trial study above into one combined object.single-trial timeseries(see individual studies)

Parcellations and large-scale networks / patterns

Keyword(s)DescriptionTypeCitation
bucknerlab7-network cortical parcellation (Yeo/Buckner 2011). Cortex only.parcellationYeo, B. T. T., Krienen, F. M., Sepulcre, J., Sabuncu, M. R., Lashkari, D., Hollinshead, M., Roffman, J. L., Smoller, J. W., Zollei, L., Polimeni, J. R., Fischl, B., Liu, H., & Buckner, R. L. (2011). The organization of the human cerebral cortex estimated by intrinsic functional connectivity. Journal of Neurophysiology, 106(3), 1125-1165.
bucknerlab_wholebrain7 networks extended to cortex + basal ganglia + cerebellum.parcellationYeo, B. T. T., et al. (2011). The organization of the human cerebral cortex estimated by intrinsic functional connectivity. Journal of Neurophysiology, 106(3), 1125-1165.
bucknerlab_wholebrain_plus7-network parcellation + SPM Anatomy Toolbox regions + brainstem.parcellationYeo, B. T. T., et al. (2011). The organization of the human cerebral cortex estimated by intrinsic functional connectivity. Journal of Neurophysiology, 106(3), 1125-1165.
allengeneticsFive maps of human gene expression compiled by Luke Chang from the Allen Human Brain Atlas.meta-analytic mapHawrylycz, M. J., Lein, E. S., Guillozet-Bongaarts, A. L., Shen, E. H., Ng, L., Miller, J. A., et al. (2012). An anatomically comprehensive atlas of the adult human brain transcriptome. Nature, 489(7416), 391-399.
bgloops, pauli5 basal-ganglia parcels with associated cortical networks (Pauli 2016).parcellationPauli, W. M., O'Reilly, R. C., Yarkoni, T., & Wager, T. D. (2016). Regional specialization within the human striatum for diverse psychological functions. PNAS, 113(7), 1907-1912.
bgloops17, pauli1717-parcel striatal regions (Pauli 2016).parcellationPauli, W. M., O'Reilly, R. C., Yarkoni, T., & Wager, T. D. (2016). Regional specialization within the human striatum for diverse psychological functions. PNAS, 113(7), 1907-1912.
bgloops_cortex, pauli_cortexCortical regions most strongly coupled to the Pauli 5-region striatal clusters.parcellationPauli, W. M., O'Reilly, R. C., Yarkoni, T., & Wager, T. D. (2016). PNAS, 113(7), 1907-1912.
pauli_subcorticalPauli probabilistic subcortical atlas (CIT168).parcellationPauli, W. M., Nili, A. N., & Tyszka, J. M. (2018). A high-resolution probabilistic in vivo atlas of human subcortical brain nuclei. Scientific Data, 5, 180063.
pet_nr_map, hansen22, pet, receptorbinding30 PET tracer / neurotransmitter-receptor maps (Hansen 2022).meta-analytic mapHansen, J. Y., Shafiei, G., Markello, R. D., Smart, K., Cox, S. M. L., Norgaard, M., Beliveau, V., Wu, Y., Gallezot, J.-D., Aumont, E., Servaes, S., Scala, S. G., DuBois, J. M., Wainstein, G., Bezgin, G., Funck, T., Schmitz, T. W., Spreng, R. N., Galovic, M., Koepp, M. J., Duncan, J. S., Coles, J. P., Fryer, T. D., Aigbirhio, F. I., McGinnity, C. J., Hammers, A., Soucy, J.-P., Baillet, S., Guimond, S., Hietala, J., Bedard, M.-A., Leyton, M., Kobayashi, E., Rosa-Neto, P., Ganz, M., Knudsen, G. M., Palomero-Gallagher, N., Shine, J. M., Carson, R. E., Tuominen, L., Dagher, A., & Misic, B. (2022). Mapping neurotransmitter systems to the structural and functional organization of the human neocortex. Nature Neuroscience, 25(11), 1569-1581.
emometa, emotionmeta, 2015emotionmetaMeta-analytic maps for 5 basic emotion categories (Anger, Disgust, Fear, Happy, Sad).meta-analytic mapWager, T. D., Kang, J., Johnson, T. D., Nichols, T. E., Satpute, A. B., & Barrett, L. F. (2015). A Bayesian model of category-specific emotional brain responses. PLOS Computational Biology, 11(4), e1004066.
marg, transmodal, principalgradientMargulies et al. 2016 first principal connectivity gradient (unimodal-to-transmodal). MNI152NLin2009cAsym version.meta-analytic mapMargulies, D. S., Ghosh, S. S., Goulas, A., Falkiewicz, M., Huntenburg, J. M., Langs, G., Bezgin, G., Eickhoff, S. B., Castellanos, F. X., Petrides, M., Jefferies, E., & Smallwood, J. (2016). Situating the default-mode network along a principal gradient of macroscale cortical organization. PNAS, 113(44), 12574-12579.
margfslSame as marg in MNI152NLin6Asym (FSL) space.meta-analytic mapMargulies, D. S., et al. (2016). PNAS, 113(44), 12574-12579.
transcriptomic_gradientsPrincipal transcriptomic gradients of the human brain.meta-analytic mapHawrylycz, M. J., et al. (2012). An anatomically comprehensive atlas of the adult human brain transcriptome. Nature, 489(7416), 391-399.; Vogel, J. W., Alexander-Bloch, A., Wagstyl, K., Bertolero, M. A., Markello, R. D., Pines, A., Sydnor, V. J., Diaz-Papkovich, A., Hansen, J. Y., Evans, A. C., Bernhardt, B., Misic, B., Satterthwaite, T. D., & Seidlitz, J. (2024). Deciphering the functional specialization of whole-brain spatiomolecular gradients in the adult brain. PNAS, 121(25), e2219379121.

Signature patterns and predictive models

Multivariate "signature" patterns are weight maps from peer-reviewed predictive-modeling studies. Most are loaded by a single keyword and stored either in the public Neuroimaging_Pattern_Masks repository or in the private MasksPrivate repository (lab-internal). Convenience meta-keywords:

  • npsplus — NPS (NPSpos / NPSneg), SIIPS, PINES, Romantic Rejection, VPS, etc.
  • painsig — NPS (NPSpos / NPSneg) and SIIPS only.
  • fibromyalgia, fibro, fm — NPSp + FM-pain + FM-multisensory.
  • all — load all registered signatures.
Keyword(s)DescriptionTypeCitation
npsNeurologic Pain Signature (NPS). Predicts physical heat pain.signature patternWager, T. D., Atlas, L. Y., Lindquist, M. A., Roy, M., Woo, C.-W., & Kross, E. (2013). An fMRI-based neurologic signature of physical pain. New England Journal of Medicine, 368(15), 1388-1397.
vpsVicarious Pain Signature (VPS). Predicts pain observed in others.signature patternKrishnan, A., Woo, C.-W., Chang, L. J., Ruzic, L., Gu, X., Lopez-Sola, M., Jackson, P. L., Pujol, J., Fan, J., & Wager, T. D. (2016). Somatic and vicarious pain are represented by dissociable multivariate brain patterns. eLife, 5, e15166.
rejectionRomantic-rejection signature.signature patternWoo, C.-W., Koban, L., Kross, E., Lindquist, M. A., Banich, M. T., Ruzic, L., Andrews-Hanna, J. R., & Wager, T. D. (2014). Separate neural representations for physical pain and social rejection. Nature Communications, 5, 5380.
siipsStimulus-Intensity-Independent Pain Signature.signature patternWoo, C.-W., Schmidt, L., Krishnan, A., Jepma, M., Roy, M., Lindquist, M. A., Atlas, L. Y., & Wager, T. D. (2017). Quantifying cerebral contributions to pain beyond nociception. Nature Communications, 8, 14211.
pinesPicture-Induced Negative Emotion Signature.signature patternChang, L. J., Gianaros, P. J., Manuck, S. B., Krishnan, A., & Wager, T. D. (2015). A sensitive and specific neural signature for picture-induced negative affect. PLOS Biology, 13(6), e1002180.
gsrStress-induced skin-conductance signature.signature patternEisenbarth, H., Chang, L. J., & Wager, T. D. (2016). Multivariate brain prediction of heart rate and skin conductance responses to social threat. Journal of Neuroscience, 36(47), 11987-11998.
hrStress-induced heart-rate signature.signature patternEisenbarth, H., Chang, L. J., & Wager, T. D. (2016). Multivariate brain prediction of heart rate and skin conductance responses to social threat. Journal of Neuroscience, 36(47), 11987-11998.
multisensoryFibromyalgia multisensory pattern.signature patternLopez-Sola, M., Woo, C.-W., Pujol, J., Deus, J., Harrison, B. J., Monfort, J., & Wager, T. D. (2017). Towards a neurophysiological signature for fibromyalgia. Pain, 158(1), 34-47.
fmpainFibromyalgia pain-period pattern.signature patternLopez-Sola, M., et al. (2017). Towards a neurophysiological signature for fibromyalgia. Pain, 158(1), 34-47.
plspainPLS pain-related pattern.signature patternKragel, P. A., Kano, M., Van Oudenhove, L., Ly, H. G., Dupont, P., Rubio, A., Delon-Martin, C., Bonaz, B. L., Manuck, S. B., Gianaros, P. J., Ceko, M., Reynolds Losin, E. A., Woo, C.-W., Nichols, T. E., & Wager, T. D. (2018). Generalizable representations of pain, cognitive control, and negative emotion in medial frontal cortex. Nature Neuroscience, 21(2), 283-289.
cpdmCombined PDM (multivariate-mediation pain pattern).signature patternGeuter, S., Reynolds Losin, E. A., Roy, M., Atlas, L. Y., Schmidt, L., Krishnan, A., Koban, L., Wager, T. D., & Lindquist, M. A. (2020). Multiple brain networks mediating stimulus-pain relationships in humans. Cerebral Cortex, 30(7), 4204-4219.
pain_pdm, pdm10 individual PDM maps and a combined PDM weighting.signature patternGeuter, S., et al. (2020). Multiple brain networks mediating stimulus-pain relationships in humans. Cerebral Cortex, 30(7), 4204-4219.
npsplusNPS (incl. NPSpos / NPSneg), SIIPS, PINES, Rejection, VPS and more in one object.signature pattern(see component signatures)
painsigNPS (incl. NPSpos / NPSneg) and SIIPS only.signature pattern(see component signatures)
fibromyalgia, fibro, fmNPSp, FM-pain, FM-multisensory bundle.signature patternLopez-Sola, M., et al. (2017). Pain, 158(1), 34-47.
guilt, guilt_behaviorGuilt-behavior SVM pattern.signature patternYu, H., Koban, L., Chang, L. J., Wagner, U., Krishnan, A., Vuilleumier, P., Zhou, X., & Wager, T. D. (2020). A generalizable multivariate brain pattern for interpersonal guilt. Cerebral Cortex, 30(6), 3558-3572.
neurosynth, neurosynth_featureset1525 reverse-inference z-score maps from Neurosynth (2013).meta-analytic mapYarkoni, T., Poldrack, R. A., Nichols, T. E., Van Essen, D. C., & Wager, T. D. (2011). Large-scale automated synthesis of human functional neuroimaging data. Nature Methods, 8(8), 665-670.
neurosynth_topics_forwardinference, neurosynth_topics_fi54 forward-inference topic maps from Yarkoni & Poldrack (2014) topic-modeling, with ChatGPT-summarized topic labels from Ke et al. 2024.meta-analytic mapPoldrack, R. A., Mumford, J. A., Schonberg, T., Kalar, D., Barman, B., & Yarkoni, T. (2012). Discovering relations between mind, brain, and mental disorders using topic mapping. PLOS Computational Biology, 8(10), e1002707.
neurosynth_topics_reverseinference, neurosynth_topics_ri54 reverse-inference topic maps; same source as above.meta-analytic mapPoldrack, R. A., et al. (2012). PLOS Computational Biology, 8(10), e1002707.
pain_cog_emo, kragel18PLS maps for generalizable representations of pain, cognitive control, and emotion (24 maps).signature patternKragel, P. A., Kano, M., Van Oudenhove, L., Ly, H. G., Dupont, P., Rubio, A., Delon-Martin, C., Bonaz, B. L., Manuck, S. B., Gianaros, P. J., Ceko, M., Reynolds Losin, E. A., Woo, C.-W., Nichols, T. E., & Wager, T. D. (2018). Generalizable representations of pain, cognitive control, and negative emotion in medial frontal cortex. Nature Neuroscience, 21(2), 283-289.
kragelemotion7 emotion-predictive models (Kragel & LaBar 2015).signature patternKragel, P. A., & LaBar, K. S. (2015). Multivariate neural biomarkers of emotional states are categorically distinct. Social Cognitive and Affective Neuroscience, 10(11), 1437-1448.
kragelschemas20 visual emotion-schema patterns.signature patternKragel, P. A., Reddan, M. C., LaBar, K. S., & Wager, T. D. (2019). Emotion schemas are embedded in the human visual system. Science Advances, 5(7), eaaw4358.
reddanCSplus, threatCS+ vs. CS- threat-conditioning classifier.signature patternReddan, M. C., Wager, T. D., & Schiller, D. (2018). Attenuating neural threat expression with imagination. Neuron, 100(4), 994-1005.e4.
zhouvpsGeneralized vicarious-pain signature (Zhou 2020).signature patternZhou, F., Li, J., Zhao, W., Xu, L., Zheng, X., Fu, M., Yao, S., Kendrick, K. M., Wager, T. D., & Becker, B. (2020). Empathic pain evoked by sensory and emotional-communicative cues share common and process-specific neural representations. eLife, 9, e56929.
multiaversive, mpa2Multiple Predictive patterns for Aversive experience (MPA2): General, Mechanical, Sounds, Thermal, Visual aversive.signature patternCeko, M., Kragel, P. A., Woo, C.-W., Lopez-Sola, M., & Wager, T. D. (2022). Common and stimulus-type-specific brain representations of negative affect. Nature Neuroscience, 25(6), 760-770.
stroopStroop-demand SVM pattern.signature patternSilvestrini, N., Chen, J.-I., Piche, M., Roy, M., Vachon-Presseau, E., Woo, C.-W., Wager, T. D., & Rainville, P. (2020). Distinct fMRI patterns colocalized in the cingulate cortex underlie the after-effects of cognitive control on pain. NeuroImage, 217, 116898.
ncsNeurobiological Craving Signature: combined drug + food, drug-only, food-only weight maps.signature patternKoban, L., Wager, T. D., & Kober, H. (2023). A neuromarker for drug and food craving distinguishes drug users from non-users. Nature Neuroscience, 26(2), 316-325.
pifonemPicture-Induced Fear of Neck Movement (PiFoneM); predicts fear of neck movement in acute and chronic whiplash.signature patternMurillo, C., et al. (2026). PiFoneM: a brain pattern for fear of neck movement in whiplash. Journal of Pain.
vifsVicarious / instrument fear pattern (registered via the signature table; see 'list' for current entry).signature pattern
listPrint and return the live signature registry table.(registry helper)
allLoad every registered signature in one object.signature pattern(see component signatures)

Worked examples

These examples are adapted from the :Examples: block in load_image_set.m.

Loading the NPS plus several other signatures by name

imagenames = {'weights_NSF_grouppred_cvpcr.img' ...   % NPS
              'Rating_Weights_LOSO_2.nii'  ...        % PINES
              'dpsp_rejection_vs_others_weights_final.nii' ... % rejection
              'bmrk4_VPS_unthresholded.nii'};         % VPS

[obj, netnames, imgnames] = load_image_set(imagenames);

% Equivalent (and richer) one-liner using the npsplus keyword:
[obj, netnames, imgnames] = load_image_set('npsplus');

Applying the Kragel 2018 PLS signatures to the emotion-regulation dataset

% Load PLS signatures from Kragel et al. 2018
[obj, names] = load_image_set('pain_cog_emo');
bpls_wholebrain   = get_wh_image(obj, [8 16 24]);
names_wholebrain  = names([8 16 24]);
bpls_subregions   = get_wh_image(obj, [1:6 9:14 17:22]);
names_subregions  = names([1:6 9:14 17:22]);

% Load test data: emotion regulation contrasts (Wager et al. 2008)
test_data_obj = load_image_set('emotionreg');

% Compare the test data to each Kragel pattern
create_figure('Kragel Pain-Cog-Emo maps', 1, 2);
stats = image_similarity_plot(test_data_obj, 'average', 'mapset', ...
    bpls_wholebrain, 'networknames', names_wholebrain, 'nofigure');
subplot(1, 2, 2)
stats = image_similarity_plot(test_data_obj, 'average', 'mapset', ...
    bpls_subregions, 'networknames', names_subregions, 'nofigure');

Browsing the live signature registry

% Print and return the registry as a MATLAB table
sig_table = load_image_set('list');

% Load every registered signature into one fmri_data object
[obj, names] = load_image_set('all');

See also