soft2: SOFT score from P-SOFT

Description Usage Arguments Details Value Examples

View source: R/liver_scores.R

Description

A vectorised function to calculate SOFT Scores for predicting patient survival after liver transplantation when the P-SOFT score is already known. The P-SOFT Score can be calculated using the transplantr::p_soft() function. Alternatively, the SOFT Score can be calculated in full, including the P-SOFT parameters using the transplantr::soft() function. The units for donor serum creatinine are in µmol/l but can be changed to mg/dl by setting the Units parameter to "US".

Usage

1
2
soft2(PSoft, PortalBleed, DonorAge, DonorCVA, DonorSCr, National, CIT,
  Units = "SI")

Arguments

PSoft

numeric vector of P-SOFT scores

PortalBleed

numeric vector of whether portal bleeding in 48 hours pre-transplant (1 = "yes", 0 = "no")

DonorAge

numeric vector of donor ages in years

DonorCVA

numeric vector of whether donor cause of death is CVA/stroke (1 = "yes", 0 = "no")

DonorSCr

numeric vector of donor terminal serum creatinine

National

numeric vector of whether national allocation (1 = "yes", 0 = "no")

CIT

numeric vector of cold ischaemic time in hours

Units

units to use for creatinine, "SI" (default) for µmol/l, "US" for mg/dl

Details

Reference: Rana A, Hardy MA, Halazun KJ, et al. Survival Outcomes Following Liver Transplantation (SOFT) Score: A Novel Method to Predict Patient Survival Following Liver Transplantation. American Journal of Transplantation 2008; 8:2537-2546.

Value

numeric vector of SOFT Scores

Examples

1
2
soft2(PSoft = 4, PortalBleed = 0, DonorAge = 61, DonorCVA = 1, DonorSCr = 140,
    National = 1, CIT = 12) # 13

transplantr documentation built on Feb. 28, 2020, 5:07 p.m.