Skip to contents

Returns the estimated 5-year event (mortality or graft failure combined outcome) probability as described by Molnar, et al (2017).

Usage

txscore(
  recipient.age = 20,
  recipient.race = "White",
  recipient.causeESRD = "Other",
  recipient.dialysis = 12,
  recipient.diabetes = FALSE,
  recipient.coronary = FALSE,
  recipient.albumin = 1.5,
  recipient.hemoglobin = 10,
  donor.age = 30,
  donor.diabetes = "Absence",
  donor.ECD = FALSE,
  mmHLA_A = 0,
  mmHLA_B = 0,
  mmHLA_DR = 0
)

Arguments

recipient.age

A numeric value with recipient's age

recipient.race

A character value with recipient's race from the options: 'White', 'Black', 'Hispanic', 'Other'

recipient.causeESRD

A numeric value with recipient's cause of End-Stage Renal Disease, with options: 'Other', 'Diabetes', 'Hypertension', 'Glomerulonephritis', 'Cystic disease'

recipient.dialysis

A numeric value with recipient's time on dialysis (months)

recipient.diabetes

A logical value with recipient's diabetic status

recipient.coronary

A logical value with recipient's coronary artery disease status

recipient.albumin

A numeric value with recipient's albumin (g/dL)

recipient.hemoglobin

A numeric value with recipient's hemoglobin (g/dL)

donor.age

A numeric value with donor's age

donor.diabetes

A logical value with donor's diabetic status, with options: 'Absence', 'Presence', 'Unknown'

donor.ECD

A logical value regarding Extended Criteria Donor

mmHLA_A

A numeric value (0, 1, 2) with the number of HLA-A mismatches

mmHLA_B

A numeric value (0, 1, 2) with the number of HLA-B mismatches

mmHLA_DR

A numeric value (0, 1, 2) with the number of HLA-DR mismatches

Value

5 year probability for combined outcome of mortality or graft failure

Examples

txscore(recipient.age = 20,
recipient.race = "White", #insurance = 0,
recipient.causeESRD = "Other",
recipient.dialysis = 12, recipient.diabetes = FALSE,
recipient.coronary = FALSE, recipient.albumin = 1.5,
recipient.hemoglobin = 10, donor.age = 30,
donor.diabetes = "Absence",
donor.ECD = FALSE, #mmHLA = "0",
mmHLA_A = 0, mmHLA_B = 0, mmHLA_DR = 0)
#> $LP
#> [1] 0.87003
#> 
#> $gamma
#> [1] 0.916
#> 
#> $PS
#> [1] 0.7969475
#> 
#> $prob5y
#> [1] 46.82
#>