pt1: Matching punctuation' according to 2007 PT's algorithm

Description Usage Arguments Value Examples

View source: R/pt.R

Description

Ordering of waitlisted candidates for a given donor and according to PT's algorithm.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
pt1(
  iso = TRUE,
  dABO = "O",
  dA = c("1", "2"),
  dB = c("15", "44"),
  dDR = c("1", "4"),
  dage = 65,
  df.abs = cabs,
  data = candidates,
  pts.80 = 8,
  pts.50 = 4,
  pts.dial = 0.1,
  pts.age = 4,
  n = 2,
  ...
)

Arguments

iso

A logical value for isogroupal compatibility.

dABO

A character value with ABO blood group.

dA

donor's HLA-A typing.

dB

donor's HLA-B typing.

dDR

donor's HLA-DR typing.

dage

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 with color priority classification.

pts.80

A numerical value for the points to a cPRA >= 80

pts.50

A numerical value for the points to a cPRA >= 50

pts.age

A numerical value for the points to age difference

n

A positive integer to slice the first candidates.

Value

An ordered data frame with a column 'cp' (color priority), 'sp', 'hi' and 'mmHLA'.

Examples

1
pt1(iso = TRUE, dABO = "A", dA = c("1","2"), dB = c("15","44"), dDR = c("1","4"),

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