View source: R/MACUI_interface.R
encode_MAC | R Documentation |
Encode a list of HLA alleles into multiple allele code (MAC). The National Marrow Donor Program (NMDP) uses [MAC](https://bioinformatics.bethematchclinical.org/ hla-resources/allele-codes/allele-code-lists/) to facilitate the reporting and comparison of HLA alleles. MAC represent groups of HLA alleles and are useful when the HLA typing is ambiguous and does not allow to narrow down one single allele from a list of alleles.
encode_MAC(allele_list)
allele_list |
list of HLA alleles (e.g. c("A*01:01:01", "A*02:01:01", "A*03:01")) |
encoded MAC
allele_list <- c("A*01:01:01", "A*02:01:01", "A*03:01") encode_MAC(allele_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.