R/create_temp_fasta_filename.R

Defines functions create_temp_fasta_filename

Documented in create_temp_fasta_filename

#' Create a \code{.fasta} file
#' @return a path to a non-existing file,
#' for example, \code{/home/myusername/.cache/temp_582046426735.fasta}
#' @examples
#' create_temp_fasta_filename()
#' @author Richèl J.C. Bilderbeek
#' @export
create_temp_fasta_filename <- function() {
  tempfile(
    pattern = "temp_",
    tmpdir = rappdirs::user_cache_dir(),
    fileext = ".fasta"
  )
}

Try the netmhc2pan package in your browser

Any scripts or data that you put into this service are public.

netmhc2pan documentation built on Nov. 9, 2023, 1:08 a.m.