are_mhcnuggets_names {mhcnuggetsr}R 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())
}

[Package mhcnuggetsr version 1.1 Index]