MVPAlab: A machine learning decoding toolbox for multidimensional electroencephalography data López García, David González Peñalver, José María Gorriz Sáez, Juan Manuel Ruz Cámara, María Machine learning Classifications Cross-classification Decoding Cross-validation Multivariate pattern analysis MVPA EEG MEG MVPAlab toolbox This research was supported by the Spanish Ministry of Sci- ence and Innovation under the PID2019–111187GB-I00 grant, by the MCIN/AEI/10.13039/50110 0 011033/ and FEDER “Una manera de hacer Europa’’ under the RTI2018-098913-B100 project, by the Consejería de Economía, Innovación, Ciencia y Empleo (Junta de Andalucía) and FEDER under CV20-45250, A-TIC-080-UGR18, B- TIC-586-UGR20 and P20-00525 projects. The first author of this work is supported by a scholarship from the Spanish Ministry of Science and Innovation (BES-2017–079769). Funding for open ac- cess charge: Universidad de Granada / CBUA. The sample EEG dataset was extracted from an original experiment previously ap- proved by the Ethics Committee of the University of Granada. Background and Objective: The study of brain function has recently expanded from classical univariate to multivariate analyses. These multivariate, machine learning-based algorithms afford neuroscientists extracting more detailed and richer information from the data. However, the implementation of these procedures is usually challenging, especially for researchers with no coding experience. To address this problem, we have developed MVPAlab, a MATLAB-based, flexible decoding toolbox for multidimensional electroencephalography and magnetoencephalography data. Methods: The MVPAlab Toolbox implements several machine learning algorithms to compute multivariate pattern analyses, cross-classification, temporal generalization matrices and feature and frequency contri- bution analyses. It also provides access to an extensive set of preprocessing routines for, among others, data normalization, data smoothing, dimensionality reduction and supertrial generation. To draw statisti- cal inferences at the group level, MVPAlab includes a non-parametric cluster-based permutation approach. Results: A sample electroencephalography dataset was compiled to test all the MVPAlab main function- alities. Significant clusters (p < 0.01) were found for the proposed decoding analyses and different config- urations, proving the software capability for discriminating between different experimental conditions. Conclusions: This toolbox has been designed to include an easy-to-use and intuitive graphic user interface and data representation software, which makes MVPAlab a very convenient tool for users with few or no previous coding experience. In addition, MVPAlab is not for beginners only, as it implements several high and low-level routines allowing more experienced users to design their own projects in a highly flexible manner. 2022-03-17T09:39:56Z 2022-03-17T09:39:56Z 2022-02 info:eu-repo/semantics/article D. López-García, J.M.G. Peñalver, J.M. Górriz et al. MVPAlab: A machine learning decoding toolbox for multidimensional electroencephalography data. Computer Methods and Programs in Biomedicine 214 (2022) 106549 [https://doi.org/10.1016/j.cmpb.2021.106549] http://hdl.handle.net/10481/73512 10.1016/j.cmpb.2021.106549 eng http://creativecommons.org/licenses/by-nc-nd/3.0/es/ info:eu-repo/semantics/openAccess Atribución-NoComercial-SinDerivadas 3.0 España Elsevier