Documentation¶
Overview¶
- Demonstrations - full listings
- Get Started
- Download instructions
- NMSM 2019, Noesselt’s lab 3rd Modelling Symposium, University of Magdeburg
- Indices and tables
- Frequently Asked/Anticipated Questions
- Contact information
- Information for contributors
- Information for contributing programmers
- Authors
- Contributors
- Acknowledgements
- Citations
- Copyright information
- Changelog
- References
Detailed¶
- Demonstrations - full listings
- demo_fmri_correlation_searchlight
- demo_fmri_distatis
- demo_fmri_rois
- demo_fmri_searchlight_lda
- demo_fmri_searchlight_naive_bayes
- demo_fmri_searchlight_rsm
- demo_meeg_dataset_operations
- demo_meeg_timefreq_searchlight
- demo_meeg_timelock_searchlight
- demo_meeg_timeseries_classification
- demo_meeg_timeseries_generalization
- demo_surface_searchlight_lda
- demo_surface_tfce
- Get Started
- Download instructions
- NMSM 2019, Noesselt’s lab 3rd Modelling Symposium, University of Magdeburg
- Indices and tables
- Frequently Asked/Anticipated Questions
- Contact information
- Information for contributors
- Information for contributing programmers
- Authors
- Contributors
- Acknowledgements
- Citations
Full documentation¶
- Demonstrations - full listings
- demo_fmri_correlation_searchlight
- demo_fmri_distatis
- demo_fmri_rois
- demo_fmri_searchlight_lda
- demo_fmri_searchlight_naive_bayes
- demo_fmri_searchlight_rsm
- demo_meeg_dataset_operations
- demo_meeg_timefreq_searchlight
- demo_meeg_timelock_searchlight
- demo_meeg_timeseries_classification
- demo_meeg_timeseries_generalization
- demo_surface_searchlight_lda
- demo_surface_tfce
- Get Started
- Download instructions
- CoSMo 2013 Multivariate Pattern Analysis Workshop
- Contents
- Introduction
- Exercises
- Dataset basics
- Split-half correlation-based MVPA with group analysis
- Classification with Naive Bayes classifier
- Write your own Nearest-neighbor classifier
- Build wrapper for Matlab’s SVM classifier
- Cross-validation part 1: N-Fold Partitioner
- Cross-validation part 2: using multiple classifiers
- Cross-validation part 3: using a dataset measure
- Visualization of DSMs
- Representational similarity analysis
- Define voxel selection for a searchlight
- Reading material
- Write a searchlight function that computes a generic dataset measure
- Use the searchlight with a neighborhood and a measure
- CoSMoMVPA functions
- CoSMoMVPA functions - header signature files
- CoSMoMVPA functions - skeleton files
- Runnable examples
- Runnable examples - skeleton files
- Miscellaneous
- Contents
- Indices and tables
- CIMeC 2014 Advanced Neural Decoding
- Contents
- Introduction
- Exercises
- Dataset basics
- Split-half correlation-based MVPA with group analysis
- Classification analysis
- Classification analysis with cross-validation
- Using CoSMoMVPA measures
- Using CoSMoMVPA neighborhoods for regions of interest
- Use the searchlight with a neighborhood and a measure
- Representational similarity analysis
- CoSMoMVPA functions
- CoSMoMVPA functions - header signature files
- CoSMoMVPA functions - skeleton files
- Runnable examples
- Runnable examples - skeleton files
- Miscellaneous
- Contents
- Indices and tables
- Royal Holloway University of London CoSMoMVPA workshop
- Contents
- Introduction
- Exercises
- Dataset basics
- Split-half correlation-based MVPA with group analysis
- Classification analysis
- Classification analysis with cross-validation
- Using CoSMoMVPA measures
- Using CoSMoMVPA neighborhoods for regions of interest
- Use the searchlight with a neighborhood and a measure
- Representational similarity analysis
- Using CoSMoMVPA multiple-comparison correction
- CoSMoMVPA functions
- CoSMoMVPA functions - header signature files
- CoSMoMVPA functions - skeleton files
- Runnable examples
- Runnable examples - skeleton files
- Miscellaneous
- Contents
- Indices and tables
- CIMeC hands-on methods course, part 1 (6 April-2 May 2016)
- Contents
- Introduction
- Exercises
- Dataset basics
- Split-half correlation-based MVPA with group analysis
- Classification analysis
- Classification analysis with cross-validation
- Using CoSMoMVPA measures
- Using CoSMoMVPA neighborhoods for regions of interest
- Use the searchlight with a neighborhood and a measure
- Representational similarity analysis
- General MEEG analysis toolboxes
- MEEG Searchlights
- MEEG time generalization
- Using CoSMoMVPA multiple-comparison correction
- CoSMoMVPA functions
- CoSMoMVPA functions - header signature files
- CoSMoMVPA functions - skeleton files
- Runnable examples
- Runnable examples - skeleton files
- Miscellaneous
- Contents
- Indices and tables
- PRNI 2016 workshop
- Contents
- Introduction
- Exercises
- Dataset basics
- Split-half correlation-based MVPA with group analysis
- Classification analysis
- Using CoSMoMVPA measures
- Using CoSMoMVPA neighborhoods for regions of interest
- Use the searchlight with a neighborhood and a measure
- General MEEG analysis toolboxes
- MEEG Searchlights
- MEEG time generalization
- Representational similarity analysis
- Using CoSMoMVPA multiple-comparison correction
- CoSMoMVPA functions
- CoSMoMVPA functions - header signature files
- CoSMoMVPA functions - skeleton files
- Runnable examples
- Runnable examples - skeleton files
- Miscellaneous
- Contents
- Indices and tables
- LABMAN 2017 course
- Contents
- Introduction
- Exercises
- Dataset basics
- Split-half correlation-based MVPA with group analysis
- Classification analysis
- Double dipping
- Classification analysis with cross-validation
- Using CoSMoMVPA measures
- Using CoSMoMVPA neighborhoods for regions of interest
- Use the searchlight with a neighborhood and a measure
- General MEEG analysis toolboxes
- MEEG Searchlights
- MEEG time generalization
- Representational similarity analysis
- Using CoSMoMVPA multiple-comparison correction
- CoSMoMVPA functions
- CoSMoMVPA functions - header signature files
- CoSMoMVPA functions - skeleton files
- Runnable examples
- Runnable examples - skeleton files
- Miscellaneous
- Contents
- Indices and tables
- NMSM 2019, Noesselt’s lab 3rd Modelling Symposium, University of Magdeburg
- Contents
- Introduction
- Exercises
- Dataset basics
- Split-half correlation-based MVPA with group analysis
- Classification analysis
- Classification analysis with cross-validation
- Double dipping
- Using CoSMoMVPA measures
- Using CoSMoMVPA neighborhoods for regions of interest
- Use the searchlight with a neighborhood and a measure
- General MEEG analysis toolboxes
- MEEG Searchlights
- MEEG time generalization
- Representational similarity analysis
- Surface-based fMRI searchlight
- Using CoSMoMVPA multiple-comparison correction
- CoSMoMVPA functions
- CoSMoMVPA functions - header signature files
- CoSMoMVPA functions - skeleton files
- Runnable examples
- Runnable examples - skeleton files
- Miscellaneous
- Contents
- Indices and tables
- Frequently Asked/Anticipated Questions
- General
- How should I cite CoSMoMVPA?
- What is the history of CoSMoMVPA?
- What are the main features?
- What does CoSMoMVPA not provide?
- Does it integrate with PyMVPA?
- Does it run on GNU Octave?
- How fast does it run?
- What should I use as input for MVPA?
- Who are the developers of CoSMoMVPA?
- Which classifiers are available?
- Which platforms does it support?
- What future features can be expected?
- How can I contact the developers directly?
- Is there a mailinglist?
- Why do you encourage balanced partitions?
- Does the LDA (linear discriminant analysis) classifier use shrinkage / normalization?
- How do I …
- Find the correspondence between voxel indices in AFNI and feature indices in CoSMoMVPA
- Get ECoG data in a CoSMoMVPA struct
- Get temporal data in a CoSMoMVPA struct
- Run group analysis
- Make an intersection mask across participants
- Compute for a group of participants who were scanned with MRI the overlap of their masks
- Run group analysis on time-by-time generalization measures
- Use LIBSVM
- Use surface-based mapping with a low-resolution output surface
- Correct for multiple comparisons
- Do cross-modal decoding across three modalities
- Compute classification accuracies manually
- Make a merged hemisphere from a left and right hemisphere
- Merge surface data from two hemispheres
- Visualize and store multiple fMRI volumes
- Average along features in a neighborhood
- Select a time interval in an MEEG dataset
- Select a particular channel type in an MEEG dataset
- Use only a subset of channels for my analysis?
- Should I Fisher-transform correlation values?
- Average samples in a deterministic manner?
- Select only a subset of features in a neighborhood?
- Use multiple-comparison correction for a time course?
- Classify different groups of participants (such as patients versus controls)?
- When running an MEEG searchlight, have the same channels in the output dataset as in the input dataset?
- Save MEEG data when I get the error “value for fdim channel label is not supported”?
- Run a 2 x 2 within-subject ANOVA?
- Use a FieldTrip source dataset that uses a ‘fake’ channel structure
- Run cosmo_montecarlo_cluster_stat on a cluster with multiple nodes
- Why should I consider re-meaning when doing representational similarity analysis (RSA)?
- Import BrainStorm data
- Compute the correlation between two dissimilarity matrices
- Use the generalization measure with different durations for training and test set?
- Get the classifier weights after training a classifier?
- Get coordinates of voxels in a CoSMoMVPA fMRI dataset?
- Compute representational similarity across chunks?
- Run group analysis on time generalization results?
- General
- Contact information
- Information for contributors
- Information for contributing programmers
- Code development
- Build system
- Matlab code guidelines
- Maximum line length is 75 characters
- Indentation is 4 spaces (no tabs)
- Use lower-case letters for variable names
- Throw an (informative) error early
- Do not repeat yourself
- Write in normal, understandable english
- Document functions
- Pre-allocate space for data
- Use vectorization
- Use clear variable names
- Avoid side effects
- Use onCleanup if an earlier state needs to be reset
- Tests should not require user interaction
- Do not use global variables
- Avoid long and complicated expressions
- Use
sprintf
orfprint
when formatting strings - Avoid using
eval
- Minimize using
try
andcatch
- No private functions
- No file duplication
- Check input arguments
- CoSMoMVPA-specific guidelines
- Test suite
- Good tests
- Authors
- Contributors
- Acknowledgements
- Citations