| unzip.gt3x | R Documentation |
unzip.gt3x() makes it convenient to unzip multiple .gt3x files.
unzip.gt3x(path, verbose = TRUE, ...)
path |
One of the following: (1) A path to a directory with .gt3x files in which case they are all unzipped, or (2) A character vector of direct paths to .gt3x files. |
verbose |
print diagnostic messages |
... |
arguments to pass to |
A .gt3x file is a zipped directory with two files: log.bin and info.txt. This function simply unzips the contents of the directories.
Returns a vector of paths to unzipped gt3x folders.
Other file manipulations:
gt3x_datapath(),
is_gt3x(),
list_gt3x()
gt3xfile <-
system.file(
"extdata", "TAS1H30182785_2019-09-17.gt3x",
package = "read.gt3x")
gt3xdirs <- unzip.gt3x(gt3xfile)
## Not run:
# unzip a single .gt3x file
path <- gt3x_datapath(1)
gt3xdir <- unzip.gt3x(path)
# unzip multiple .gt3x files
dir <- gt3x_datapath()
gt3xdirs <- unzip.gt3x(dir)
## End(Not run)
tfile = tempfile()
testthat::expect_error(unzip.gt3x(c(dir, tfile)))
testthat::expect_error(unzip.gt3x(c("", "")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.