are_mhcnuggets_names: Are these MHCnuggets names?

View source: R/are_mhcnuggets_names.R

are_mhcnuggets_namesR Documentation

Are these MHCnuggets names?

Description

Determine if an HLA haplotype name follow the name format that MHCnuggets uses internally

Usage

are_mhcnuggets_names(mhcs)

Arguments

mhcs

the MHC haplotype names

Value

a vector of booleans, TRUE for HLA haplotypes that follow the MHCnuggets naming convention

Examples

if (is_mhcnuggets_installed()) {
  are_mhcnuggets_names(get_mhc_1_haplotypes())
  are_mhcnuggets_names(get_mhc_2_haplotypes())
}

richelbilderbeek/mhcnuggetsr documentation built on Nov. 9, 2023, 10 p.m.