check_alleles: Check the allele names

View source: R/check_alleles.R

check_allelesR Documentation

Check the allele names

Description

Check if the alleles have a valid NetMHCpan name. Will stop if not.

Usage

check_alleles(alleles, netmhcpan_folder_name = get_default_netmhcpan_folder())

Arguments

alleles

one or more alleles, e.g. HLA-A0101. See get_netmhcpan_alleles for a full list

netmhcpan_folder_name

the folder (to be) used by NetMHCpan. From this location, a subfolder for NetMHCpan is created. Use get_default_netmhcpan_folder to see the location of the default NetMHCpan folder. Use get_default_netmhcpan_subfolder to see the location of the default NetMHCpan subfolder.

Value

nothing

Author(s)

Richèl J.C. Bilderbeek

See Also

Use to_netmhcpan_name to convert a formal name to an NetMHCpan name. Use get_netmhcpan_alleles for a list of all supported alleles (in NetMHCpan naming format).

Examples

if (is_netmhcpan_installed()) {
  check_alleles("HLA-A0101")
  check_alleles(c("HLA-A0102", "HLA-A0103"))
}

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