is_mhcnuggets_name: Is this an MHCnuggets name?

View source: R/is_mhcnuggets_name.R

is_mhcnuggets_nameR 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")

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