is_mhcnuggets_name: Is this an MHCnuggets name?

Description Usage Arguments Value Examples

View source: R/is_mhcnuggets_name.R

Description

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

Usage

1

Arguments

mhc

the MHC haplotype name

Value

TRUE if the name follows the MHCnuggets naming convention

Examples

1
2
3
4
5
# 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")

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