allocation_national.Rdthis is the Australia current national allocation algorithm
allocation_national(recip_matrix, donor_matrix, HLA)
| 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 |
a matrix contains allo_score, which is the alocation score for each new pair
data("rawdata", package = "simKAP") allocation_score <- allocation_national(rawdata,rawdata,rawdata);