An algorithm to apply on deceased donor's Kidney allocation for transplantation. Ordering of wait listed candidates for a given donor and according to an utility-justice matrix.
Arguments
- iso
A logical value for ABO isogroupal compatibility.
- dABO
A character value with donor's ABO blood group (O, A, B, AB).
- dA
A two elements character vector donor's HLA-A typing.
- dB
A two elements character vector donor's HLA-B typing.
- dDR
A two elements character vector donor's HLA-DR typing.
- donor.age
A numeric value with donor's age.
- df.abs
A data frame with candidates' antibodies.
- data
A data frame containing demographics and medical information for a group of waitlisted transplant candidates.
- n
A positive integer to slice the first candidates.
- q2
A numerical value for the median of candidates' waiting list (0 - 120).
- q3
A numerical value for the third quartile of candidates' waiting list (0 - 120).
- uj.matx
A 6 by 6 matrix obtained from
uj_matx()
.- SP
A logical value, when
TRUE
donors with 65+ years old are allocated prioritize to 65+ candidates,similarly do the Senior Program.- AM
A logical value, when
TRUE
hipersensitized candidates are prioritize, similarly to the Acceptable mismatch program.- mm000
A logical value, when
TRUE
candidates with 0 HLA mismatchs with the donor are prioritize.- check.validity
Logical to decide whether to validate input arguments.