is_netmhc2pan_haplotype: Is the haplotype valid?

View source: R/is_netmhc2pan_haplotype.R

is_netmhc2pan_haplotypeR 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")
}

netmhc2pan documentation built on Nov. 9, 2023, 1:08 a.m.