et_mmp: Mismatch Probability (MMP) from ETKAS

View source: R/et.R

et_mmpR Documentation

Mismatch Probability (MMP) from ETKAS

Description

Mismatch Probability (MMP) is a calculation of the probability of receiving a kidney offer with 0 and 1 broad HLA-A, -B or split DR mismatches based on 1000 kidneys offered, taking into account AB0 blood group rules and PRA screening. Patients receive between 0-100 MMPs

Usage

et_mmp(
  data = candidates,
  hlaA = hlaApt,
  hlaB = hlaBpt,
  hlaDR = hlaDRpt,
  abo_freq = ABOpt,
  check.validity = TRUE
)

Arguments

data

A data frame containing demographics and medical information for a group of waitlisted transplant candidates.

hlaA

A data frame with HLA-A allele frequencies

hlaB

A data frame with HLA-B allele frequencies

hlaDR

A data frame with HLA-DR allele frequencies

abo_freq

A data frame with ABO blood group frequencies

check.validity

Logical to decide whether to validate input.

Source

https://www.eurotransplant.org/wp-content/uploads/2020/01/H4-Kidney.pdf

Examples

et_mmp(data = candidates,
hlaA = hlaApt, hlaB = hlaBpt, hlaDR = hlaDRpt,
abo_freq = ABOpt, check.validity = TRUE)

FilipePintoReis/KARS_project documentation built on July 11, 2022, 9:19 a.m.