Package: EZFragility 2.1.1

EZFragility: Compute Neural Fragility for Ictal iEEG Time Series

Provides tools to compute the neural fragility matrix from intracranial electrocorticographic (iEEG) recordings, enabling the analysis of brain dynamics during seizures. The package implements the method described by Li et al. (2017) <doi:10.23919/ACC.2017.7963378> and includes functions for data preprocessing ('Epoch'), fragility computation ('calcAdjFrag'), and visualization.

Authors:Jiefei Wang [aut, cre], Patrick Karas [aut], Anne-Cecile Lesage [aut], Ioannis Malagaris [aut], Oliver Zhou [aut], Liliana Camarillo Rodriguez [aut], Sean O'Leary [aut], Yuanyi Zhang [aut]

EZFragility_2.1.1.tar.gz
EZFragility_2.1.1.zip(r-4.7)EZFragility_2.1.1.zip(r-4.6)EZFragility_2.1.1.zip(r-4.5)
EZFragility_2.1.1.tgz(r-4.6-any)EZFragility_2.1.1.tgz(r-4.5-any)
EZFragility_2.1.1.tar.gz(r-4.7-any)EZFragility_2.1.1.tar.gz(r-4.6-any)
EZFragility_2.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
EZFragility/json (API)

# Install 'EZFragility' in R:
install.packages('EZFragility', repos = c('https://jiefei-wang.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jiefei-wang/ezfragility/issues

Datasets:
  • pt01EcoG - Pt01 seizure 1 around seizure onset
  • pt01Frag - Pt01 seizure 1 around seizure onset

On CRAN:

Conda:

5.56 score 3 stars 10 scripts 481 downloads 9 exports 67 dependencies

Last updated from:98dc002f93. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK173
source / vignettesOK600
linux-release-x86_64OK161
macos-release-arm64OK95
macos-oldrel-arm64OK109
windows-develOK108
windows-releaseOK139
windows-oldrelOK101
wasm-releaseOK128

Exports:calcAdjFragestimateSOZfragStatncolnrowplotplotFragDistributionplotFragQuantileshow

Dependencies:askpasscachemclicodetoolscommonmarkcpp11crayoncrulcurlEpochfarverfastmapforeachfsggplot2ggtextgluegridExtragridtextgsignalgtablehmshttpcodehttrisobanditeratorsjpegjsonlitelabelinglifecyclelitedownmagrittrmarkdownmemoisemimeopensslosfrpillarpkgconfigplyrpngpracmaprettyunitsprogresspurrrR6ramifyRColorBrewerRcppreshape2rlangS7scalesstringistringrsysTableContainertibbletriebeardurltoolsutf8vctrsviridisviridisLitewithrxfunxml2

manuscript_reproducible
Load the package and data | Data preprocess (Not included in the package) | Download Data | Remove Artifacts | Visualize Voltage Plot (Figure 2.b) | Compute the Fragility Matrix | Fragility Heatmap (Figure 2.a) | Mean and standard deviation statistics for SOZ and non SOZ electrode group (Figure 3.a) | Distribution of Fragility Values (Figure 3.b) | Comparing different lambda values (Figure 4)

Last update: 2025-12-04
Started: 2025-09-06

Introduction to EZFragility package
Key definition of the neural fragility marker | Load small ictal ieeg data for patient PT01 | Compute Fragility Matrix | Predict the SOZ | Fragility Statistics | Plot functions for Fragility Matrix

Last update: 2025-11-16
Started: 2025-01-02