Path to read.gt3x package sample data

gt3x_datapath(index = NULL, verbose = TRUE)

gt3x_filename(index = NULL, zipped = FALSE)

Arguments

index

Integer. The index of a sample file to retrieve. If NULL (default) the path to the directory including the sample files will be returned.

verbose

print diagnostic messages

zipped

do the files have a .zip extension

Value

Character vector of files

See also

Other file manipulations: is_gt3x(), list_gt3x(), unzip.gt3x()

Examples

if (FALSE) { dir <- gt3x_datapath() gt3x_filename <- gt3x_datapath(1) } testthat::expect_error(gt3x_filename(100)) testthat::expect_error(gt3x_filename(0))