This repository contains the code and results for the manuscript "Alpha rhythm subharmonics underlie responsiveness to theta burst stimulation via calcium metaplasticity" by Kevin Kadak, Davide Momi, Zheng Wang, Sorenza P. Bastiaens, Mohammad P. Oveisi, Taha Morshedzadeh, Minarose Ismail, Jan Fousek, and John D. Griffiths (https://doi.org/10.1371/journal.pcbi.1012926).
Methodological workflow and neurophysiological model for examining iTBS-induced calcium-dependent metaplasticity effects on resting-state EEG circuitry.
A) Corticothalamic column underlying resting-state EEG activity and a B) 4-population corticothalamic neural population model of its circuitry, comprised of cortical excitatory pyramidal (e) and inhibitory interneuron (i) populations, and thalamic excitatory relay (s) and inhibitory reticular (r) nuclei populations. C) Intermittent theta-burst stimulation (iTBS) protocols deliver voltage-spiking stimuli to excitatory cortical populations. Cyan and purple timeseries depict pre- and post-stimulation resting-state activity, respectively, altered by plasticity-induced circuit modifications. D) Flowchart of Ca2+ scheme wherein post-synaptic depolarization and glutaminergic binding induce metaplastic NMDARs to open, enabling the influx of calcium to drive plasticity effects, with moderate and large concentrations driving LTD and LTP, respectively. Connection weight changes are immediately translated through signalled plasticity (a physiological analog of immediate, though functionally unrealized cell states) before manifesting as fully expressed functional modifications via altered
A) Heatmap of iTBS-induced broadband power suppression (pre - post AUC
codecontains the .py files for generating the parameter file permutations, running the simulations, computing results, and storing their contents in a dataframe.datacontains the data object storing the results data based on iTBS and IAF permutations, including heatmaps and distributions.notebookscontains the .ipynb files for using SynPy visualizing the final results and figures.parameterscontains the .conf file for the initial/state variable parameters of the model simulations upon which iTBS and IAF permutations are generated.SynPyis a copy of my custom Python library that wraps NFTsim and provides a toolkit for data analysis, found here.
Files are numbered in the order in which they are ran to generate, analyze, and visualize the results data.
1-using-nftsim-with-SynPyprovides a simple walkthrough of the SynPy toolkit which will be subsequently used for data generation and analysis.2-construct_results_dfcalls SynPy to generate permutations of parameter files, submit those files as Slurm batch jobs to be processed by NFTsim, then calls SynPy again to compute results for each permutation, and finally save these results in a Python dataframe.3-results-stats-and-figsindexes the dataframe results object for visualization and statistical analysis.