is_mhcnuggets_name {mhcnuggetsr}R Documentation

Is this an MHCnuggets name?

Description

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

Usage

is_mhcnuggets_name(mhc)

Arguments

mhc

the MHC haplotype name

Value

TRUE if the name follows the MHCnuggets naming convention

Examples

# The official name is not the name format used by MHCnuggets
is_mhcnuggets_name("HLA-A*01:01")

# MHCnuggets uses names without the asterisk
is_mhcnuggets_name("HLA-A01:01")

[Package mhcnuggetsr version 1.1 Index]