compress: Wrapper function for gzip, bzip

View source: R/Functions.R

compressR Documentation

Wrapper function for gzip, bzip

Description

Wrapper function for gzip, bzip

Usage

compress(
  fileToCompress,
  keep = TRUE,
  methodCompress = "gzip",
  overwrite = FALSE
)

Arguments

fileToCompress

path to file to compress.

keep

keep (don't delete) input files, TRUE (default) or FALSE.

methodCompress

method to use for compression.

overwrite

overwrite existing output files, TRUE or FALSE (default).

Value

path to zipped file.

Author(s)

Kathryn Rozen-Gagnon

Examples

 
testFQ <- system.file("extdata/Fox3_Std_small.fq.gz",package="CLIPflexR")
decom <- decompress(testFQ,overwrite=TRUE)
com <- compress(decom,overwrite=TRUE)

kathrynrozengagnon/CLIPflexR documentation built on Dec. 8, 2022, 7:31 p.m.