Learn R Programming

mhcnuggetsr (version 1.1)

create_mhcnuggets_options: Create a set of MHCnuggets options.

Description

Create a set of options to run MHCnuggets with.

Usage

create_mhcnuggets_options(
  mhc_class = NA,
  mhc,
  ba_models = FALSE,
  verbose = FALSE,
  folder_name = get_default_mhcnuggets_folder(),
  mhcnuggets_url = get_mhcnuggets_url()
)

Arguments

mhc_class

MHC class. Must be I, II or NA. Use NA to let the class be deduced automatically

mhc

the MHC haplotype name

ba_models

Set to TRUE to use a pure BA model

verbose

set to TRUE for more debug information

folder_name

superfolder of MHCnuggets. The name of the superfolder is /home/[user_name]/.local/share by default, as can be obtained byget_default_mhcnuggets_folder

mhcnuggets_url

URL to the MHCnuggets GitHub repository

Value

an mhcnuggets_options

Details

This function will give an error message if the arguments are invalid.

See Also

use create_test_mhcnuggets_options to create an MHCnuggets object for testing

Examples

Run this code
# NOT RUN {
if (is_mhcnuggets_installed()) {
  create_mhcnuggets_options(
    mhc = "HLA-A02:01"
  )
}
# }

Run the code above in your browser using DataLab