Package: EZFragility 2.1.1

Jiefei Wang

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-any)EZFragility_2.1.1.zip(r-4.6-any)EZFragility_2.1.1.zip(r-4.5-any)
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://cranhaven.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:

archivedpackagesr-universe

3.70 score 5 stars 10 scripts 505 downloads 9 exports 67 dependencies

Last updated from:5e68fc7f13 (on package/EZFragility). Checks:8 OK, 1 ERROR. Indexed: no.

TargetResultTimeFilesSyslog
linux-develOK481
source / vignettesERROR297
linux-releaseOK150
macos-releaseOK148
macos-oldrelOK156
windows-develOK104
windows-releaseOK97
windows-oldrelOK108
wasm-releaseOK125

Exports:calcAdjFragestimateSOZfragStatncolnrowplotplotFragDistributionplotFragQuantileshow

Dependencies:askpasscachemclicodetoolscommonmarkcpp11crayoncrulcurlEpochfarverfastmapforeachfsggplot2ggtextgluegridExtragridtextgsignalgtablehmshttpcodehttrisobanditeratorsjpegjsonlitelabelinglifecyclelitedownmagrittrmarkdownmemoisemimeopensslosfrpillarpkgconfigplyrpngpracmaprettyunitsprogresspurrrR6ramifyRColorBrewerRcppreshape2rlangS7scalesstringistringrsysTableContainertibbletriebeardurltoolsutf8vctrsviridisviridisLitewithrxfunxml2

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: 2026-10-09
Started: 2026-10-09

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: 2026-10-09
Started: 2026-10-09