R/get_haplotype_lut.R

Defines functions get_haplotype_lut

Documented in get_haplotype_lut

#' The mapping from an netmhc2pan name to an ID
#' @export
get_haplotype_lut <- function() {
  t <- tibble::tibble(
    haplotype = netmhc2pan::get_netmhc2pan_alleles(),
    id = NA
  )
  t$id <- paste0("h", seq(1, nrow(t)))
  t
}
richelbilderbeek/nmhc2ppreds documentation built on Aug. 21, 2021, 10:45 a.m.