Learn R Programming

mhcnuggetsr (version 1.1)

are_mhcnuggets_names: 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

Run this code
# NOT RUN {
if (is_mhcnuggets_installed()) {
  are_mhcnuggets_names(get_mhc_1_haplotypes())
  are_mhcnuggets_names(get_mhc_2_haplotypes())
}
# }

Run the code above in your browser using DataLab