gt3x_datapath {read.gt3x}R Documentation

Path to read.gt3x package sample data

Description

Path to read.gt3x package sample data

Usage

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

## Not run: 
dir <- gt3x_datapath()
gt3x_filename <- gt3x_datapath(1)
stopifnot(!is.na(gt3x_datapath(2)))

## End(Not run)

testthat::expect_error(gt3x_filename(100))
testthat::expect_error(gt3x_filename(0))

[Package read.gt3x version 1.2.0 Index]