hla_mm_level: HLA mismatch level

Description Usage Arguments Details Value Examples

View source: R/hla_mismatch.R

Description

Vectorised function to calculate HLA mismatch level as used in UK national deceased donor kidney matching scheme.

Usage

1
hla_mm_level(a, b, dr)

Arguments

a

numeric vector of HLA A locus mismatches (0-2)

b

numeric vector of HLA B locus mismatches (0-2)

dr

numeric vector of HLA DR locus mismatches (0-2)

Details

Mismatches should be provided as numeric vectors of integers with values from 0 to 2 The HLA mismatch level is derived from UK kidney matching policies which can be found on the NHS Blood & Transplant ODT website at www.odt.nhs.uk

Value

numeric vector of HLA mismatch levels (1-4)

Examples

1
hla_mm_level(a = 0, b = 1, dr = 1)

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