Wrapper function for gzip, bzip
compress(
fileToCompress,
keep = TRUE,
methodCompress = "gzip",
overwrite = FALSE
)
path to file to compress.
keep (don't delete) input files, TRUE (default) or FALSE.
method to use for compression.
overwrite existing output files, TRUE or FALSE (default).
path to zipped file.
testFQ <- system.file("extdata/Fox3_Std_small.fq.gz",package="CLIPflexR")
decom <- decompress(testFQ,overwrite=TRUE)
com <- compress(decom,overwrite=TRUE)