is_netmhc2pan_haplotype {netmhc2pan}R Documentation

Is the haplotype valid?

Description

Determines if a haplotype has the same notation as a NetMHC2pan haplotype

Usage

is_netmhc2pan_haplotype(mhc_haplotype)

Arguments

mhc_haplotype

one MHC haplotype, e.g. DRB1_0101. See get_netmhc2pan_alleles for a full list

Value

TRUE if the haplotype is a valid NetMHCIIpan haplotype

Author(s)

Richèl J.C. Bilderbeek

Examples

if (is_netmhc2pan_installed()) {
  is_netmhc2pan_haplotype("DRB1_0311")
  is_netmhc2pan_haplotype("nonsense")
}

[Package netmhc2pan version 1.3.2 Index]