Learn R Programming

mhcnuggetsr (version 1.1)

get_example_filename: 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

See Also

use get_example_filenames to get all MHCnuggets example filenames

Examples

Run this code
# NOT RUN {
if (is_mhcnuggets_installed()) {
  get_example_filename("test_peptides.peps")
}
# }

Run the code above in your browser using DataLab