View source: R/phoenix_immunologic.R
phoenix_immunologic | R Documentation |
Apply the Phoenix immunologic scoring based on ANC and ALC. This is only part of Phoenix-8 and not Phoenix.
phoenix_immunologic(anc = NA_real_, alc = NA_real_, data = parent.frame(), ...)
anc |
absolute neutrophil count; a numeric vector; units of 1,000 cells per cubic millimeter |
alc |
absolute lymphocyte count; a numeric vector; units of 1,000 cells per cubic millimeter |
data |
a |
... |
pass through |
a integer vector with values 0 or 1
As with all other Phoenix organ system scores, missing values in the data set will map to a score of zero - this is consistent with the development of the criteria.
1 point if ANC < 0.500 or ALC < 1.000 (units are 1000 cells per cubic millimeter).
See reference details in phoenix-package
or by calling
citation('phoenix')
.
phoenix
for generating the diagnostic Phoenix
Sepsis score based on the four organ systems:
phoenix_cardiovascular
,
phoenix_coagulation
,
phoenix_neurologic
,
phoenix_respiratory
,
phoenix8
for generating the diagnostic Phoenix 8
Sepsis criteria based on the four organ systems noted above and
phoenix_endocrine
,
phoenix_immunologic
,
phoenix_renal
,
phoenix_hepatic
,
vignette('phoenix')
for more details and examples.
# using the example sepsis data set
# Expected units for ALC and ANC are 1000 cells per cubic millimeter
immu_example <- sepsis[c("pid", "anc", "alc")]
immu_example$score <- phoenix_immunologic(anc, alc, sepsis)
immu_example
# example data set with all possilbe immunologic scores
# Expected units for anc and alc are 1000 cells per cubic millimeter
DF <- expand.grid(anc = c(NA, 0.200, 0.500, 0.600),
alc = c(NA, 0.500, 1.000, 2.000))
phoenix_immunologic(anc = anc, alc = alc, data = DF)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.