is_netmhcpan_haplotype: Is the haplotype valid?

View source: R/is_netmhcpan_haplotype.R

is_netmhcpan_haplotypeR Documentation

Is the haplotype valid?

Description

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

Usage

is_netmhcpan_haplotype(mhc_haplotype)

Arguments

mhc_haplotype

one MHC haplotype, e.g. HLA-A0101. See get_netmhcpan_alleles for a full list

Value

TRUE if the haplotype is a valid NetMHCpan haplotype

Author(s)

Richèl J.C. Bilderbeek

Examples

if (is_netmhcpan_installed()) {
  is_netmhcpan_haplotype("DRB1_0311")
  is_netmhcpan_haplotype("nonsense")
}

tzina97/netMHCpanW documentation built on April 26, 2022, 1:18 a.m.