decompress: Wrapper function for gunzip, bunzip

View source: R/Functions.R

decompressR Documentation

Wrapper function for gunzip, bunzip

Description

Wrapper function for gunzip, bunzip

Usage

decompress(
  fileToDecompress,
  outDir = file_path_sans_ext(fileToDecompress),
  keep = TRUE,
  overwrite = FALSE
)

Arguments

fileToDecompress

path to file to decompress.

outDir

output directory.

keep

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

overwrite

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

Value

path to unzipped file.

Author(s)

Kathryn Rozen-Gagnon

Examples

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

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