A wrapper using US units for the soft2() 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() or transplantr::soft_US() function.
The units for donor serum creatinine are in mg/dl
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 in mg/dl
National
numeric vector of whether national allocation (1 = "yes", 0 = "no")
CIT
numeric vector of cold ischaemic time in hours
Value
numeric vector of SOFT Scores
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.