R/get_mhc_2_haplotypes.R

Defines functions get_mhc_2_haplotypes

Documented in get_mhc_2_haplotypes

#' Get all the MHC-II haplotypes
#'
#' Get all the MHC-II haplotypes that MHCnuggets has been trained upon.
#' @inheritParams default_params_doc
#' @return a character vector with haplotype names in MHCnuggets format
#' @examples
#' if (is_mhcnuggets_installed()) {
#'   get_mhc_2_haplotypes()
#' }
#' @author Richèl J.C. Bilderbeek
#' @export
get_mhc_2_haplotypes <- function(
  folder_name = get_default_mhcnuggets_folder(),
  mhcnuggets_url = get_mhcnuggets_url()
) {
  mhcnuggetsr::get_trained_mhc_2_haplotypes()
}

Try the mhcnuggetsr package in your browser

Any scripts or data that you put into this service are public.

mhcnuggetsr documentation built on Nov. 8, 2020, 4:35 p.m.