{
  "_id": "6ac918c5de46216d5edd992c",
  "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",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/Jiefei-Wang/EZFragility",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-09 16:29:56 UTC",
    "User": "root"
  },
  "Author": "Jiefei Wang [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2709-5332>), Patrick Karas [aut],\nAnne-Cecile Lesage [aut] (ORCID:\n<https://orcid.org/0000-0002-9528-4899>), Ioannis Malagaris\n[aut] (ORCID: <https://orcid.org/0000-0001-5126-2068>), Oliver\nZhou [aut], Liliana Camarillo Rodriguez [aut] (ORCID:\n<https://orcid.org/0000-0001-8288-6885>), Sean O'Leary [aut]\n(ORCID: <https://orcid.org/0000-0003-3650-705X>), Yuanyi Zhang\n[aut]",
  "Maintainer": "Jiefei Wang <szwjf08@gmail.com>",
  "Config/pak/sysreqs": "cmake make libicu-dev libjpeg-dev libpng-dev\nlibuv1-dev libxml2-dev libssl-dev",
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-10-09 02:02:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/EZFragility",
  "RemoteSha": "5e68fc7f13e89137f6ad7390666f6b65312c7151",
  "RemoteSubdir": "EZFragility",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "EZFragility_2.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/c185400dab23686dfb5c6644bb549e4ed960146e1b8d2a9fb9106bcf289494cd",
  "_filesize": 2696058,
  "_sha256": "c185400dab23686dfb5c6644bb549e4ed960146e1b8d2a9fb9106bcf289494cd",
  "_expires": "2027-01-17T16:39:31.000Z",
  "_created": "2026-10-09T16:29:56.000Z",
  "_published": "2026-10-11T09:12:00.240Z",
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/37958972708",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113918787548,
      "time": 481,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11630259117"
    },
    {
      "job": 113918787446,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11630003239"
    },
    {
      "job": 113918787458,
      "time": 156,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11630933725"
    },
    {
      "job": 113918787546,
      "time": 148,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11629989393"
    },
    {
      "job": 113916743914,
      "time": 297,
      "config": "source",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11630947339"
    },
    {
      "job": 113918787599,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11631157762"
    },
    {
      "job": 113918787430,
      "time": 104,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11629757619"
    },
    {
      "job": 113918787738,
      "time": 108,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11631322370"
    },
    {
      "job": 113918787429,
      "time": 97,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11631157658"
    }
  ],
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_commit": {
    "id": "5e68fc7f13e89137f6ad7390666f6b65312c7151",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add EZFragility to CRANhaven, because archived on 2026-10-09 02:02:00 +0000\n",
    "time": 1791511320
  },
  "_maintainer": {
    "name": "Jiefei Wang",
    "email": "szwjf08@gmail.com",
    "login": "jiefei-wang",
    "description": "",
    "uuid": 13570205,
    "orcid": "0000-0002-2709-5332"
  },
  "_distro": "resolute",
  "_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": "cranhaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-41",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "followers": 3,
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 505,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/EZFragility"
  },
  "_devurl": "https://github.com/jiefei-wang/ezfragility",
  "_searchresults": 10,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/EZFragility.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/jiefei-wang/ezfragility",
  "_realowner": "jiefei-wang",
  "_cranurl": false,
  "_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/cranhaven/cranhaven.r-universe.dev/raw/package/EZFragility/EZFragility/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": "2026-10-09 02:02:00",
      "modified": "2026-10-09 02:02:00",
      "commits": 1
    },
    {
      "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": "2026-10-09 02:02:00",
      "modified": "2026-10-09 02:02:00",
      "commits": 1
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "ezfragility",
  "_universes": [
    "cranhaven"
  ],
  "_indexurl": "https://jiefei-wang.r-universe.dev/EZFragility",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.1",
      "date": "2026-10-09T16:38:08.000Z",
      "distro": "resolute",
      "commit": "5e68fc7f13e89137f6ad7390666f6b65312c7151",
      "fileid": "https://r2.ropensci.org/2ed020210a5b24c1b2bf5f2d49f5324bcfc9a59a5f37569d257c511e1a864aaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/37958972708"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.1",
      "date": "2026-10-09T16:32:54.000Z",
      "distro": "resolute",
      "commit": "5e68fc7f13e89137f6ad7390666f6b65312c7151",
      "fileid": "https://r2.ropensci.org/6343cfe7552d3ee798f5140f8391b42e186240fb846fe81e8a98bc4b338c9131",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/37958972708"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.1",
      "date": "2026-10-09T16:37:16.000Z",
      "commit": "5e68fc7f13e89137f6ad7390666f6b65312c7151",
      "fileid": "https://r2.ropensci.org/254123d4354d8ca79e37cd2ace18ff4e02b98356fc6042c8163ad1f6edd46e75",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/37958972708"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.1",
      "date": "2026-10-09T16:38:27.000Z",
      "commit": "5e68fc7f13e89137f6ad7390666f6b65312c7151",
      "fileid": "https://r2.ropensci.org/b4657a5dc42df996ed9501cf1c40388f1346c996b010a2ed2aff3a8d457c9946",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/37958972708"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.1",
      "date": "2026-10-09T16:32:57.000Z",
      "commit": "5e68fc7f13e89137f6ad7390666f6b65312c7151",
      "fileid": "https://r2.ropensci.org/b96dd976805309bfe0b8223cd32b4149a694c125536b9503f8711bc600909d0a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/37958972708"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-10-09T16:31:45.000Z",
      "commit": "5e68fc7f13e89137f6ad7390666f6b65312c7151",
      "fileid": "https://r2.ropensci.org/262090a24ba58eeffd3ed5b1610514508ecf32934985b313b52d513d5c6913f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/37958972708"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-10-09T16:31:49.000Z",
      "commit": "5e68fc7f13e89137f6ad7390666f6b65312c7151",
      "fileid": "https://r2.ropensci.org/82b0c39a6639ee647039387dbd239d47ed137256230722e01df2495685cc7829",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/37958972708"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.1",
      "date": "2026-10-09T16:31:43.000Z",
      "commit": "5e68fc7f13e89137f6ad7390666f6b65312c7151",
      "fileid": "https://r2.ropensci.org/34ded26ac956760d67f9106d45a5dcf317a5fca5b19bdaf6ed9fa3f93967b209",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/37958972708"
    }
  ]
}