Learn R Programming

phoenix: Phoenix Sepsis and Phoenix-8 Sepsis Criteria

Implementation of the Phoenix and Phoenix-8 Sepsis Criteria as described in:

The best overview for this package is the R vignette which you can view locally after installing the R package via

vignette("phoenix")

or you can read it online here

The Phoenix Criteria have been implemented in

  • an R package,
  • a Python module, and
  • example SQL queries.

The repository has been built with R as the primary and default language.

Citation

If you use this package in your work, please cite the Phoenix criteria by citing the two JAMA papers. Please cite this code base by citing the application note, and if using the R package, cite it explicitly as well.

Peter E DeWitt, Seth Russell, Margaret N Rebull, L Nelson Sanchez-Pinto, Tellen
D Bennett, phoenix: an R package and Python module for calculating the Phoenix
pediatric sepsis score and criteria, JAMIA Open, Volume 7, Issue 3, October
2024, ooae066, [doi:10.1093/jamiaopen/ooae066](doi:10.1093/jamiaopen/ooae066)

Bibtex formatted citations can be retrieved within R via

# Manuscripts
print(citation("phoenix"), bibtex = TRUE)

# R package
print(citation("phoenix", auto = TRUE), bibtex = TRUE)

Or in this repo from the file inst/CITATION

R

Install

From CRAN

Install the current release from the Comprehensive R Archive Network (CRAN). Within R call:

install.packages("phoenix", repos = "https://cran.rstudio.com")

Developmental

Install the development version of phoenix directly from github via the remotes package:

if (!("remotes" %in% rownames(installed.packages()))) {
  warning("installing remotes from https://cran.rstudio.com")
  install.packages("remotes", repo = "https://cran.rstudio.com")
}

remotes::install_github("cu-dbmi-peds/phoenix")

NOTE: If you are working on a Windows machine you will need to download and install Rtools.

Examples

Details on the Phoenix criteria and the use of the R package can be found in the manual for the package, the Get started on the website, or the vignette within R

vignette("phoenix")

Python

A python module is available on PyPi. You can install it via pip

pip install phoenix-sepsis

Examples

Read the article The Phoenix Septic Criteria in Python for details and examples of using the python code as is.

SQL

Read The Phoenix Sepsis Criteria in SQL article for details and examples of implementing the scoring rubrics in SQL. These examples are done in SQLite but will be easily translated into other SQL dialects.

Copy Link

Version

Install

install.packages('phoenix')

Monthly Downloads

170

Version

1.1.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Peter DeWitt

Last Published

July 8th, 2024

Functions in phoenix (1.1.1)

phoenix_cardiovascular

Phoenix Cardiovascular Score
map

Mean Arterial Pressure
phoenix_coagulation

Phoenix Coagulation Score
phoenix_immunologic

Phoenix Immunologic Score
phoenix_hepatic

Phoenix Hepatic Score
phoenix-package

phoenix: Phoenix and Phoenix-8 Sepsis Criteria
phoenix_endocrine

Phoenix Endocrine Score
phoenix

The Phoenix Sepsis Score
phoenix_neurologic

Phoenix Sepsis Neurological Score
phoenix8

The Phoenix 8 Sepsis Score
phoenix_respiratory

Phoenix Respiratory Score
phoenix_renal

Phoenix Renal Score
sepsis

sepsis