bioRxiv | 2021

+microstate: A MATLAB toolbox for brain microstate analysis in sensor and cortical EEG/MEG

 
 

Abstract


+microstate is a MATLAB toolbox for brain functional microstate analysis. It builds upon previous EEG microstate literature and toolboxes by including algorithms for microstate analysis for other neuroimaging modalities such as sensor-space MEG and source-space data. +microstate includes codes for performing individual- and group-level brain microstate analysis in resting-state and task-based data including event-related potentials/fields. Functions are included to visualise and perform statistical analysis of microstate sequences, including novel advanced statistical approaches such as microstate-segmented functional connectivity analysis, cluster-permutation topographic ANOVAs, and χ2 analysis of microstate probabilities in response to stimuli. Additionally, codes for simulating microstate sequences and their associated M/EEG data are included in the toolbox, which can be used to generate artificial data with ground truth microstates and to validate the methodology. +microstate integrates with widely used toolboxes for M/EEG processing including Fieldtrip, SPM, LORETA/sLORETA, EEGLAB, and Brainstorm to aid with accessibility, and includes wrappers for pre-existing toolboxes for brain-state estimation such as Hidden Markov modelling (HMM-MAR) and independent component analysis (FastICA) to aid with direct comparison with these techniques. In this paper, we first introduce +microstate before subsequently performing example analyses using open access datasets to demonstrate and validate the methodology. MATLAB live scripts for each of these analyses are included in +microstate, to act as a tutorial and to aid with reproduction of the results presented in this manuscript.

Volume None
Pages None
DOI 10.1101/2021.07.13.452193
Language English
Journal bioRxiv

Full Text