Learn R Programming

netmhc2pan (version 1.3.2)

is_netmhc2pan_haplotype: Is the haplotype valid?

Description

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

Usage

is_netmhc2pan_haplotype(mhc_haplotype)

Value

TRUE if the haplotype is a valid NetMHCIIpan haplotype

Arguments

mhc_haplotype

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

Author

Richèl J.C. Bilderbeek

Examples

Run this code
if (is_netmhc2pan_installed()) {
  is_netmhc2pan_haplotype("DRB1_0311")
  is_netmhc2pan_haplotype("nonsense")
}

Run the code above in your browser using DataLab