AUTHOR=Sun Kaijia , Wang Haixiang , Bai Yunxian , Zhou Wenjing , Wang Liang TITLE=MRIES: A Matlab Toolbox for Mapping the Responses to Intracranial Electrical Stimulation JOURNAL=Frontiers in Neuroscience VOLUME=Volume 15 - 2021 YEAR=2021 URL=https://www.frontiersin.org/journals/neuroscience/articles/10.3389/fnins.2021.652841 DOI=10.3389/fnins.2021.652841 ISSN=1662-453X ABSTRACT=Propose: Directed cortical responses to intracranial electrical stimulation is a good standard for mapping inter-regional direct connectivity. Cortico-cortical evoked potential (CCEP), elicited by single pulse electrical stimulation (SPES), has been widely used to map the normal and abnormal brain effective network. However, automated processing of CCEP datasets and visualization of connectivity results remain challenging for researchers and clinicians. In this study, we develop a Matlab toolbox named MRIES (Mapping the Responses to Intracranial Electrical Stimulation) to automatically process CCEP data and visualize the connectivity results. Method: The MRIES integrates the processing pipeline of the CCEP datasets and various methods for connectivity calculation based on low- and high-frequency signals with stimulation artifacts removed. The connectivity matrices are saved in different folders for visualization. Different visualization patterns (connectivity matrix, circle map, surface map and volume map) are also integrated in the graphical user interface (GUI), which makes it easy to intuitively display and compare different connectivity measurements. Further, one sample CCEP data set collected from eight epilepsy patients are used to validate the MRIES toolbox. Result: We show the GUI and visualization functions of MRIES using one example CCEP data that has been described in a complete tutorial. We apply this toolbox to the sample CCEP data set to investigate direct connectivity between the medial temporal lobe and the insular cortex. We find bidirectional connectivity between MTL and insular that are consistent with the findings in previous studies. Conclusion: MRIES has a friendly GUI and integrates the full processing pipeline of CCEP data and various visualization methods. The MRIES toolbox, tutorial and the example data can be freely downloaded. As an open-source package, MRIES is expected to improve the reproducibility of CCEP findings and facilitate clinical translation.