EZFragility: Epileptogenic Zone Localization Based on neural Fragility EEG marker
Introduction
The goal of this Rpackage is to allow neuroscientists to reproduce and test the neural fragility method described in (Li et al. 2017, 2021). This method implements an intracranial EEG (iEEG) marker of the epileptogenic zone localization. In this method, seizures are conceptualized as transitions from a stable networked system to an unstable one. To quantify this, node fragility is computed from linear network models, measuring each node’s susceptibility to destabilization. There are significant details missing in (Li et al. 2017, 2021) to reproduce the neural fragility method and adjust the parameters. This Rpackage aims to identify and fill up the implementation details. It will also allow users to test the method parameters on their data.
Installation
To install the package from GitHub
devtools::install_github("Jiefei-Wang/EZFragility")
EZFragility package tutorial
To load the package
library(EZFragility)If you are working with the source code, you can load the package with
devtools::load_all()
The package contains an example data. To see the first 5 rows and columns of the data, type
pt01EcoG[1:5, 1:5]
The package contains an example results. To see it, type
pt01FragFor explanations on how to use the package please refer to the vignette.
vignette("Intro_to_EZFragility", package = "EZFragility")
Implementation details
The method is based on building a discrete time linear system computing
a stable adjacency matrix A for the evolution of x(t).