{
  "_id": "6a1ee466b401979e734110ac",
  "Package": "EZFragility",
  "Title": "Compute Neural Fragility for Ictal iEEG Time Series",
  "Version": "2.1.1",
  "Authors@R": "c(person(\ngiven = \"Jiefei\",\nfamily = \"Wang\",\nemail = \"szwjf08@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-2709-5332\")),\nperson(\ngiven = \"Patrick\",\nfamily = \"Karas\",\nemail = \"pjkaras@UTMB.EDU\",\nrole = \"aut\"),\nperson(\ngiven = \"Anne-Cecile\",\nfamily = \"Lesage\",\nemail = \"aclesage@gmail.com\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-9528-4899\")),\nperson(\ngiven = \"Ioannis\",\nfamily = \"Malagaris\",\nemail = \"ymalag@gmail.com\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-5126-2068\")),\nperson(\ngiven = \"Oliver\",\nfamily = \"Zhou\",\nemail = \"zhou.oliverfr@gmail.com\",\nrole = \"aut\"),\nperson(\ngiven = \"Liliana\",\nfamily = \"Camarillo Rodriguez\",\nemail = \"camarilloliliana@gmail.com\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-8288-6885\")),\nperson(\ngiven = \"Sean\",\nfamily = \"O'Leary\",\nemail = \"smoleary@utmb.edu\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0003-3650-705X\")),\nperson(\ngiven = \"Yuanyi\",\nfamily = \"Zhang\",\nemail = \"yuazhan@utmb.edu\",\nrole = \"aut\")\n)",
  "Description": "Provides tools to compute the neural fragility matrix from\nintracranial electrocorticographic (iEEG) recordings, enabling\nthe analysis of brain dynamics during seizures. The package\nimplements the method described by Li et al. (2017)\n<doi:10.23919/ACC.2017.7963378> and includes functions for data\npreprocessing ('Epoch'), fragility computation ('calcAdjFrag'),\nand visualization.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/Jiefei-Wang/EZFragility",
  "Config/pak/sysreqs": "cmake make libicu-dev libjpeg-dev libpng-dev\nlibuv1-dev libxml2-dev libssl-dev",
  "Repository": "https://jiefei-wang.r-universe.dev",
  "Date/Publication": "2025-12-04 04:18:21 UTC",
  "RemoteUrl": "https://github.com/jiefei-wang/ezfragility",
  "RemoteRef": "HEAD",
  "RemoteSha": "98dc002f93bf7afc64590611098cc5b4747cefc5",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-20 06:15:47 UTC",
    "User": "root"
  },
  "Author": "Jiefei Wang [aut, cre] (ORCID: <https://orcid.org/0000-0002-2709-5332>),\nPatrick Karas [aut],\nAnne-Cecile Lesage [aut] (ORCID:\n<https://orcid.org/0000-0002-9528-4899>),\nIoannis Malagaris [aut] (ORCID:\n<https://orcid.org/0000-0001-5126-2068>),\nOliver Zhou [aut],\nLiliana Camarillo Rodriguez [aut] (ORCID:\n<https://orcid.org/0000-0001-8288-6885>),\nSean O'Leary [aut] (ORCID: <https://orcid.org/0000-0003-3650-705X>),\nYuanyi Zhang [aut]",
  "Maintainer": "Jiefei Wang <szwjf08@gmail.com>",
  "MD5sum": "e325406553b6702a6efec461ff1cc975",
  "_user": "jiefei-wang",
  "_type": "src",
  "_file": "EZFragility_2.1.1.tar.gz",
  "_fileid": "69d307a05b050539d2de837325c22739c486ac338941b5c38b4f16155c88d776",
  "_filesize": 6949308,
  "_sha256": "69d307a05b050539d2de837325c22739c486ac338941b5c38b4f16155c88d776",
  "_created": "2026-05-20T06:15:47.000Z",
  "_published": "2026-06-02T14:10:46.538Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79090612339,
      "time": 216,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7102653984"
    },
    {
      "job": 79090612260,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7102638206"
    },
    {
      "job": 79090611986,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7102626996"
    },
    {
      "job": 79090612406,
      "time": 111,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7102629602"
    },
    {
      "job": 79090610103,
      "time": 627,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7102602497"
    },
    {
      "job": 79090610701,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7360123159"
    },
    {
      "job": 79090611868,
      "time": 127,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7102633954"
    },
    {
      "job": 79090612058,
      "time": 110,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7102629646"
    },
    {
      "job": 79090611681,
      "time": 119,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7102631639"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jiefei-wang/actions/runs/26144650087",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jiefei-wang/ezfragility",
  "_commit": {
    "id": "98dc002f93bf7afc64590611098cc5b4747cefc5",
    "author": "Jiefei Wang <szwjf08@gmail.com>",
    "committer": "Jiefei Wang <szwjf08@gmail.com>",
    "message": "version bump and update vignette\n",
    "time": 1764821901
  },
  "_maintainer": {
    "name": "Jiefei Wang",
    "email": "szwjf08@gmail.com",
    "login": "jiefei-wang",
    "description": "",
    "uuid": 13570205,
    "orcid": "0000-0002-2709-5332"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Epoch",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "viridis",
      "role": "Imports"
    },
    {
      "package": "ggtext",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "ramify",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "doSNOW",
      "role": "Suggests"
    },
    {
      "package": "gsignal",
      "role": "Suggests"
    }
  ],
  "_owner": "jiefei-wang",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-24",
      "n": 2
    },
    {
      "week": "2025-36",
      "n": 3
    },
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-46",
      "n": 3
    },
    {
      "week": "2025-49",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "jiefei-wang",
      "count": 128,
      "uuid": 13570205
    },
    {
      "user": "cecileles",
      "count": 39,
      "uuid": 139265906
    },
    {
      "user": "imalagaris",
      "count": 16,
      "uuid": 25873082
    },
    {
      "user": "seanmnoleary",
      "count": 1,
      "uuid": 127907717
    }
  ],
  "_userbio": {
    "uuid": 13570205,
    "type": "user",
    "name": "Jiefei Wang"
  },
  "_downloads": {
    "count": 495,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/EZFragility"
  },
  "_devurl": "https://github.com/jiefei-wang/ezfragility",
  "_searchresults": 10,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/EZFragility.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jiefei-wang/ezfragility",
  "_realowner": "jiefei-wang",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.3",
      "date": "2025-04-10"
    },
    {
      "version": "2.0.1",
      "date": "2025-09-07"
    },
    {
      "version": "2.1.1",
      "date": "2026-01-13"
    }
  ],
  "_exports": [
    "calcAdjFrag",
    "estimateSOZ",
    "fragStat",
    "ncol",
    "nrow",
    "plot",
    "plotFragDistribution",
    "plotFragQuantile",
    "show"
  ],
  "_datasets": [
    {
      "name": "pt01EcoG",
      "title": "Pt01 seizure 1 around seizure onset",
      "object": "pt01EcoG",
      "class": [
        "Epoch"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "pt01Frag",
      "title": "Pt01 seizure 1 around seizure onset",
      "object": "pt01Frag",
      "class": [
        "Fragility"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "subset-Fragility-method",
      "title": "Subset a Fragility object",
      "topics": [
        "[,Fragility-method"
      ]
    },
    {
      "page": "cash-FragStat-method",
      "title": "Getters and Setters for S4 object",
      "topics": [
        "$,Fragility-method",
        "$,FragStat-method",
        "$<-,Fragility-method",
        "$<-,FragStat-method"
      ]
    },
    {
      "page": "calcAdjFrag",
      "title": "Calculate adjacency matrices and fragility matrix from iEEG recording",
      "topics": [
        "calcAdjFrag"
      ]
    },
    {
      "page": "checkIndex",
      "title": "Check and keep valid index only",
      "topics": [
        "checkIndex"
      ]
    },
    {
      "page": "estimateSOZ",
      "title": "Find Seizure Onset Zone",
      "topics": [
        "estimateSOZ"
      ]
    },
    {
      "page": "fragilityRow",
      "title": "Compute the normalized fragility row for adjacency matrix A",
      "topics": [
        "fragilityRow"
      ]
    },
    {
      "page": "fragStat",
      "title": "Compute quantiles, mean and standard deviation for two electrodes groups",
      "topics": [
        "fragStat"
      ]
    },
    {
      "page": "dim-Fragility-method",
      "title": "Get the number of rows or columns of a Fragility object",
      "topics": [
        "ncol,Fragility-method",
        "nrow,Fragility-method"
      ]
    },
    {
      "page": "plotFrag",
      "title": "Visualization functions (raw signal, fragility matrix)",
      "topics": [
        "plot,Fragility,missing-method",
        "plotFragDistribution",
        "plotFragQuantile"
      ]
    },
    {
      "page": "pt01EcoG",
      "title": "Pt01 seizure 1 around seizure onset",
      "topics": [
        "pt01EcoG",
        "pt01Frag"
      ]
    },
    {
      "page": "ridge",
      "title": "fit a generalized linear model to compute adjacency matrix A",
      "topics": [
        "ridge"
      ]
    },
    {
      "page": "ridgeR2",
      "title": "computes R2",
      "topics": [
        "ridgeR2"
      ]
    },
    {
      "page": "ridgeSearch",
      "title": "Ridge Regression for Electrode Readings",
      "topics": [
        "ridgeSearch"
      ]
    },
    {
      "page": "show-Fragility-method",
      "title": "Print the Fragility object",
      "topics": [
        "show,Fragility-method"
      ]
    },
    {
      "page": "show-FragStat-method",
      "title": "Print the FragStat object",
      "topics": [
        "show,FragStat-method"
      ]
    }
  ],
  "_readme": "https://github.com/jiefei-wang/ezfragility/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cachem",
    "cli",
    "codetools",
    "commonmark",
    "cpp11",
    "crayon",
    "crul",
    "curl",
    "Epoch",
    "farver",
    "fastmap",
    "foreach",
    "fs",
    "ggplot2",
    "ggtext",
    "glue",
    "gridExtra",
    "gridtext",
    "gsignal",
    "gtable",
    "hms",
    "httpcode",
    "httr",
    "isoband",
    "iterators",
    "jpeg",
    "jsonlite",
    "labeling",
    "lifecycle",
    "litedown",
    "magrittr",
    "markdown",
    "memoise",
    "mime",
    "openssl",
    "osfr",
    "pillar",
    "pkgconfig",
    "plyr",
    "png",
    "pracma",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "ramify",
    "RColorBrewer",
    "Rcpp",
    "reshape2",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "sys",
    "TableContainer",
    "tibble",
    "triebeard",
    "urltools",
    "utf8",
    "vctrs",
    "viridis",
    "viridisLite",
    "withr",
    "xfun",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "Intro_to_EZFragility.Rmd",
      "filename": "Intro_to_EZFragility.html",
      "title": "Introduction to EZFragility package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "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"
      ],
      "created": "2025-01-02 04:54:51",
      "modified": "2025-11-16 00:54:04",
      "commits": 20
    },
    {
      "source": "manuscript_reproducible.Rmd",
      "filename": "manuscript_reproducible.html",
      "title": "manuscript_reproducible",
      "author": "Anne-Cecile Lesage, PhD, Oliver Zhou, BA, Jiefei Wang, PhD",
      "engine": "knitr::rmarkdown",
      "headings": [
        "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)"
      ],
      "created": "2025-09-06 18:46:17",
      "modified": "2025-12-04 04:18:21",
      "commits": 6
    }
  ],
  "_score": 5.653212513775344,
  "_indexed": true,
  "_nocasepkg": "ezfragility",
  "_universes": [
    "jiefei-wang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.1",
      "date": "2026-05-20T06:18:59.000Z",
      "distro": "noble",
      "commit": "98dc002f93bf7afc64590611098cc5b4747cefc5",
      "fileid": "598f7ef54f817063adbaef40a91a7ffccee6fa362987cba5df9234580f7235b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiefei-wang/actions/runs/26144650087"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.1",
      "date": "2026-05-20T06:17:57.000Z",
      "distro": "noble",
      "commit": "98dc002f93bf7afc64590611098cc5b4747cefc5",
      "fileid": "cc06db23c620bce68a275662a96d6af25d7a53fb2b00b0d334a95cdb2fce1933",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiefei-wang/actions/runs/26144650087"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.1",
      "date": "2026-05-20T06:17:20.000Z",
      "commit": "98dc002f93bf7afc64590611098cc5b4747cefc5",
      "fileid": "42aef55c3562352d327a17bd5ee2c48ea652a5e29f79bb3d561c6202d8a6ddcb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiefei-wang/actions/runs/26144650087"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.1",
      "date": "2026-05-20T06:17:26.000Z",
      "commit": "98dc002f93bf7afc64590611098cc5b4747cefc5",
      "fileid": "49bb9b919176799c5c927360e1d8f934abbfaabda45d89a0a9d5a23834439584",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiefei-wang/actions/runs/26144650087"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-05-20T06:17:30.000Z",
      "commit": "98dc002f93bf7afc64590611098cc5b4747cefc5",
      "fileid": "1819454bf3c2eed32ec00d916fa312727ba4cd13aae36009fda109d5cd4355cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiefei-wang/actions/runs/26144650087"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-05-20T06:17:08.000Z",
      "commit": "98dc002f93bf7afc64590611098cc5b4747cefc5",
      "fileid": "e5f8d317836f4bfd142b9c15e7bdd7861a5c6ee9e1ea5d80a7ddd4859eba5aa6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiefei-wang/actions/runs/26144650087"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-05-20T06:17:16.000Z",
      "commit": "98dc002f93bf7afc64590611098cc5b4747cefc5",
      "fileid": "6615af61403ad37f8e8026f55bc25b54469315ed4775c73958df00107b17f163",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiefei-wang/actions/runs/26144650087"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.1",
      "date": "2026-06-02T14:09:54.000Z",
      "commit": "98dc002f93bf7afc64590611098cc5b4747cefc5",
      "fileid": "b10e06375bfb2498b8654a557d3af7d980e16e18aea046254d1a26830e477e95",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jiefei-wang/actions/runs/26144650087"
    }
  ]
}