is_gt3x {read.gt3x}R Documentation

Check if files are .gt3x files

Description

Check if files are .gt3x files

Check if a .gt3x file or unzipped gt3x directory has both log.bin and info.txt

Usage

is_gt3x(path)

have_log_and_info(path, verbose = TRUE)

Arguments

path

Path(s) to file(s)

verbose

print diagnostic messages

Details

Checks if files have a .gt3x file extension

Value

Logical vector of the same length as path, which is TRUE if the corresponding path is a .gt3x file.

See Also

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

Other gt3x-utils: get_n_samples(), ticks2datetime()

Examples


is_gt3x("test.gt3x") # TRUE
is_gt3x("test") # FALSE
is_gt3x(NULL)

have_log_and_info(tempfile(), verbose = TRUE)

[Package read.gt3x version 1.2.0 Index]