get_example_filename {mhcnuggetsr}R Documentation

Get the full path to an MHCnuggets example file

Description

Get the full path to an MHCnuggets example file

Usage

get_example_filename(
  filename = "test_peptides.peps",
  folder_name = get_default_mhcnuggets_folder(),
  mhcnuggets_url = get_mhcnuggets_url()
)

Arguments

filename

name of the example file, without the path

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

the full path to an MHCnuggets example file

Author(s)

Richèl J.C. Bilderbeek

See Also

use get_example_filenames to get all MHCnuggets example filenames

Examples

if (is_mhcnuggets_installed()) {
  get_example_filename("test_peptides.peps")
}

[Package mhcnuggetsr version 1.1 Index]