mmHLA: number of HLA mismatchs

Description Usage Arguments Value Examples

View source: R/histof.R

Description

Computes the number of HLA mismatchs between donor and candidate

Usage

1
2
3
4
5
6
7
8
mmHLA(
  dA = c("1", "2"),
  dB = c("5", "7"),
  dDR = c("1", "4"),
  cA = c("1", "2"),
  cB = c("3", "15"),
  cDR = c("4", "7")
)

Arguments

dA

donor's HLA-A typing

dB

donor's HLA-B typing

dDR

donor's HLA-DR typing

cA

candidate's HLA-A typing

cB

candidate's HLA-B typing

cDR

candidate's HLA-DR typing

Value

mmA number of HLA-A mismatchs between dA and cA; mmB number of HLA-B mismatchs between dB and cB; mmDR number of HLA-DR mismatchs between dADRand cDR; and mmHLA as the sum of mmA + mmB + mmDR

Examples

1
mmHLA(dA = c('1','2'), dB = c('5','7'), dDR = c('1','4'), cA = c('1','2'), cB = c('03','15'), cDR = c('04','07'))

balima78/histoc documentation built on Jan. 13, 2022, 4:46 a.m.