this is the Australia current national allocation algorithm

allocation_national(recip_matrix, donor_matrix, HLA)

Arguments

recip_matrix

a data.frame with recipient features, this is the input recipient matrix

donor_matrix

a data.frame with donor features,this is the input donor matrix

HLA

a matrix, this is the calculated HLA mismatching counts matrix

Value

a matrix contains allo_score, which is the alocation score for each new pair

Examples

data("rawdata", package = "simKAP") allocation_score <- allocation_national(rawdata,rawdata,rawdata);