get_example_filename: Get the full path to an MHCnuggets example file

View source: R/get_example_filename.R

get_example_filenameR 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",
  mhcnuggetsr_folder = get_default_mhcnuggetsr_folder()
)

Arguments

filename

name of the example file, without the path

mhcnuggetsr_folder

folder where mhcnuggetsr stores its temporary files. Use get_default_mhcnuggetsr_folder for its default value.

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")
}

richelbilderbeek/mhcnuggetsr documentation built on Nov. 9, 2023, 10 p.m.