decompress: Decompress a file

View source: R/decompress.R

decompressR Documentation

Decompress a file

Description

Decompress a gzipped (.gz) or bgzipped (.bgz) file.

Usage

decompress(
  path_formatted,
  remove = FALSE,
  overwrite = TRUE,
  storage_dir = tempdir(),
  verbose = TRUE
)

Arguments

path_formatted

Path to compressed file.

remove

If TRUE, the input file is removed afterward, otherwise not.

overwrite

If TRUE and the output file already exists, the file is silently overwritten, otherwise an exception is thrown (unless skip is TRUE).

storage_dir

Folder in which to store the GWAS summary stats.

verbose

Print messages.

Value

Path to decompressed file.


neurogenomics/MAGMA_Celltyping documentation built on Oct. 12, 2024, 12:36 a.m.