
Clean HLA carrier output to a wide format
ukb_hla_clean.RdConvert the long table returned by ukb_hla_specify() into a wide table
suitable for downstream analysis: eid, <allele>, <allele>_carrier, ...
Examples
if (FALSE) { # \dontrun{
header <- ukb_hla_header()
hla <- data.table::fread("HLA.csv") %>%
ukb_hla_typing(header) %>%
ukb_hla_specify("B27") %>%
ukb_hla_clean()
} # }