Skip to contents

returns candidates' virtual crossmatch against donor's HLA typing

Usage

xmatch(
  dA = c("1", "2"),
  dB = c("5", "7"),
  dDR = c("1", "4"),
  df.abs = cabs,
  check.validity = TRUE
)

Arguments

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

df.abs

A data frame with candidates' antibodies

check.validity

Logical to decide whether to validate input.

Value

A dataframe with candidates' ID and xm result POS/NEG

Examples

xmatch(dA = c('1','2'), dB = c('5','7'), dDR = c('1','4'),
df.abs = cabs, check.validity = TRUE)[1:5,]
#>    ID  xm
#> 1:  2 NEG
#> 2: 11 POS
#> 3: 19 POS
#> 4: 24 POS
#> 5: 27 NEG