Skip to content

Accompanying code for Jajcay, N., & Hlinka, J. (2023). Towards a dynamical understanding of microstate analysis of M/EEG data. bioRxiv, 2023-04. doi: 10.1101/2023.04.09.536154

License

Notifications You must be signed in to change notification settings

jajcayn/eeg_latent_space

Repository files navigation

Towards a dynamical understanding of microstate analysis of M/EEG data

Accompanying code for Jajcay, N., & Hlinka, J. (2023). Towards a dynamical understanding of microstate analysis of M/EEG data. bioRxiv, 2023-04. doi: 10.1101/2023.04.09.536154

Tidying up in progress

Abstract

One of the interesting aspects of EEG data is the presence of temporally stable and spatially coherent patterns of activity, known as microstates, which have been linked to various cognitive and clinical phenomena. However, there is still no general agreement on the interpretation of microstate analysis. Various clustering algorithms have been used for microstate computation, and multiple studies suggest that the microstate time series may provide insight into the neu- ral activity of the brain in the resting state. This study addresses two gaps in the literature. Firstly, by applying several state-of-the-art microstate algorithms to a large dataset of EEG recordings, we aim to characterise and describe various microstate algorithms. We demonstrate and discuss why the three “classically” used algorithms ((T)AAHC and modified K-Means) yield virtually the same results, while HMM algorithm generates the most dissimilar results. Secondly, we aim to test the hypothesis that dynamical microstate properties might be, to a large extent, determined by the linear characteristics of the underlying EEG signal, in particular, by the cross-covariance and autocorrelation structure of the EEG data. To this end, we generated a Fourier transform surrogate of the EEG signal to compare microstate properties. Here, we found that these are largely similar, thus hinting that microstate properties depend to a very high degree on the linear covariance and autocorrelation structure of the underlying EEG data. Finally, we treated the EEG data as a vector autoregression process, estimated its parameters, and generated surrogate stationary and linear data from fitted VAR. We observed that such a linear model generates microstates highly comparable to those estimated from real EEG data, supporting the con- clusion that a linear EEG model can help with the methodological and clinical interpretation of both static and dynamic human brain microstate properties.

About

Accompanying code for Jajcay, N., & Hlinka, J. (2023). Towards a dynamical understanding of microstate analysis of M/EEG data. bioRxiv, 2023-04. doi: 10.1101/2023.04.09.536154

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages