Search bioRxivSearch

bioRxiv · 10.1101/047118

CoSMoMVPA: multi-modal multivariate pattern analysis of neuroimaging data in Matlab / GNU Octave

Abstract

Recent years have seen an increase in the popularity of multivariate pattern (MVP) analysis of functional magnetic resonance (fMRI) data, and, to a much lesser extent, magneto-and electro-encephalography (M/EEG) data. We present CoSMoMVPA, a lightweight MVPA (MVP analysis) toolbox implemented in the intersection of the Matlab and GNU Octave languages, that treats both fMRI and M/EEG data as first-class citizens.\n\nCoSMoMVPA supports all state-of-the-art MVP analysis techniques, including searchlight analyses, classification, correlations, representational similarity analysis, and the time generalization method. These can be used to address both data-driven and hypothesis-driven questions about neural organization and representations, both within and across: space, time, frequency bands, neuroimaging modalities, individuals, and species.\n\nIt uses a uniform data representation of fMRI data in the volume or on the surface, and of M/EEG data at the sensor and source level. Through various external toolboxes, it directly supports reading and writing a variety of fMRI and M/EEG neuroimaging formats, and, where applicable, can convert between them. As a result, it can be integrated readily in existing pipelines and used with existing preprocessed datasets.\n\nCoSMoMVPA overloads the traditional volumetric searchlight concept to support neighborhoods for M/EEG and surface-based fMRI data, which supports localization of multivariate effects of interest across space, time, and frequency dimensions. CoSMoMVPA also provides a generalized approach to multiple comparison correction across these dimensions using Threshold-Free Cluster Enhancement with state-of-the-art clustering and permutation techniques.\n\nCoSMoMVPA is highly modular and uses abstractions to provide a uniform interface for a variety of MVP measures. Typical analyses require a few lines of code, making it accessible to beginner users. At the same time, expert programmers can easily extend its functionality.\n\nCoSMoMVPA comes with extensive documentation, including a variety of runnable demonstration scripts and analysis exercises (with example data and solutions). It uses best software engineering practices including version control, distributed development, an automated test suite, and continuous integration testing. It can be used with the proprietary Matlab and the free GNU Octave software, and it complies with open source distribution platforms such as NeuroDebian.\n\nCoSMoMVPA is Free/Open Source Software under the permissive MIT license.\n\nWebsite: https://cosmomvpa.org\n\nSource code: https://github.com/CoSMoMVPA/CoSMoMVPA

Source connections

Explore related subjects

Keep this discovery

BibTeXRIS

Nikolaas N Oosterhof, Andrew C Connolly, James V Haxby. 2016-04-05. CoSMoMVPA: multi-modal multivariate pattern analysis of neuroimaging data in Matlab / GNU Octave. https://doi.org/10.1101/047118

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Temporal and spatial localization of prediction-error signals in the visual brain

It has been suggested that the brain pre-empts changes in the visual environment through generating predictions, although real-time eletrophysiological evidence of prediction violations remains elusive. In a series of experiments we showed participants sequences of images that followed a predictable implied sequence or whose final image violated the implied sequence. Through careful design we were able to use the same final image transitions across predictable and unpredictable conditions, ensuring that any differences in neural responses were due only to preceding context and not to the images themselves. EEG and MEG recordings showed that early/mid-latency visual evoked potentials were robustly modulated by images that violated the implied sequence across a range of types of image change (expression deformations, rigid-rotations and visual field location). This modulation occurred irrespective of stimulus object category. Although the stimuli were static images, MEG source reconstruction of the early latency signal (N/M170) localised expectancy violation signals to brain areas associated with motion perception. Our findings suggest that the N/M170 can index mismatches between predicted and actual visual inputs in a system that predicts trajectories based on ongoing context. This has important implications for understanding the N/M170 and investigating how the brain represents context to generate perceptual predictions.

Neuroscience

AN OSCILLATORY NETWORK MODEL OF HEAD DIRECTION, SPATIALLY PERIODIC CELLS AND PLACE CELLS USING LOCOMOTOR INPUTS

We propose a computational modeling approach that explains the formation of a range of spatial cells like head direction cells, grid cells, border cells and place cells which are believed to play a pivotal role in the spatial navigation of an animal. Most existing models insert special symmetry conditions in the models in order to obtain such symmetries in the outcome; our models do not require such symmetry assumptions. Our modeling approach is embodied in two models: a simple one (Model #1) and a more detailed version (Model #2). In Model #1, velocity input is presented to a layer of Head Direction cells, with no special topology requirements, the outputs of which are presented to a layer of Path Integration neurons. A variety of spatially periodic responses resembling grid cells, are obtained using the Principal Components of Path Integration layer. In Model #2, the input consists of the locomotor rhythms from the four legs of a virtual animal. These rhythms are integrated into the phases of a layer of oscillatory neurons, whose outputs drive a layer of Head Direction cells. The Head Direction cells in turn drive a layer of Path Integration neurons, which in turn project to two successive layers of Lateral Anti Hebbian Networks (LAHN). Cells in the first LAHN resemble grid cells (with both hexagonal and square gridness), and border cells. Cells in the second LAHN exhibit place cell behaviour and a new cell type known as corner cell. Both grid cells and place cells exhibit phase precession in 1D and 2D spaces. The models outline the neural hierarchy necessary to obtain the complete range of spatial cell responses found in the hippocampal system.

Neuroscience

Association of polygenic risk for major psychiatric illness with subcortical volumes and white matter integrity in UK Biobank

Major depressive disorder (MDD), schizophrenia (SCZ) and bipolar disorder (BP) are common, disabling and heritable psychiatric diseases with a complex overlapping polygenic architecture. Individuals with these disorders, as well as their unaffected relatives, show widespread structural differences in corticostriatal and limbic networks. Structural variation in many of these brain regions is also heritable and polygenic but whether their genetic architecture overlaps with major psychiatric disorders is unknown. We sought to address this issue by examining the impact of polygenic risk of MDD, SCZ, and BP on subcortical brain volumes and white matter (WM) microstructure in a large single sample of neuroimaging data; the UK Biobank Imaging study. The first release of UK Biobank imaging data compromised participants with overlapping genetic data and subcortical volumes (N = 978) and WM measures (N = 816). Our, findings however, indicated no statistically significant associations between either subcortical volumes or WM microstructure, and polygenic risk for MDD, SCZ or BP. In the current study, we found little or no evidence for genetic overlap between major psychiatric disorders and structural brain measures. These findings suggest that subcortical brain volumes and WM microstructure may not be closely linked to the genetic mechanisms of major psychiatric disorders.

Neuroscience