Wrapper function for gunzip, bunzip
decompress(
fileToDecompress,
outDir = file_path_sans_ext(fileToDecompress),
keep = TRUE,
overwrite = FALSE
)
path to file to decompress.
output directory.
keep (don't delete) input files, TRUE (default) or FALSE.
overwrite existing output files, TRUE or FALSE (default).
path to unzipped file.
testFQ <- system.file("extdata/Fox3_Std_small.fq.gz",package="CLIPflexR")
decompress(testFQ,overwrite=TRUE)
#> [1] "/Users/runner/work/_temp/Library/CLIPflexR/extdata/Fox3_Std_small.fq"