get_example_filename: Get the full path to a PureseqTM example file.

View source: R/get_example_filename.R

get_example_filenameR Documentation

Get the full path to a PureseqTM example file.

Description

Get the full path to a PureseqTM example file. If the filename specified is not a PureseqTM example file, this function will stop

Usage

get_example_filename(filename, folder_name = get_default_pureseqtm_folder())

Arguments

filename

name of the example file, without the path

folder_name

superfolder of PureseqTM. The superfolder's name is /home/[user_name]/.local/share by default, as can be obtained by get_default_pureseqtm_folder

Value

the full path to a PureseqTM example file

Author(s)

Richèl J.C. Bilderbeek

See Also

use get_example_filenames to get all PureseqTM example filenames

Examples

if (is_pureseqtm_installed()) {
  get_example_filename("1bhaA.fasta")
}

pureseqtmr documentation built on April 6, 2023, 5:20 p.m.