file_ext_without_compression: Get file extension of files without compressions

View source: R/utils_imports.R

file_ext_without_compressionR Documentation

Get file extension of files without compressions

Description

Get file extension of files without compressions

Usage

file_ext_without_compression(x, compressions = c("gzip", "gz", "bgz", "zip"))

Arguments

x

character paths

compressions

character vector, default: c("gzip", "gz", "bgz", "zip"). Expand if you have other formats

Value

character vector of file extensions of paths excluding suffix vector defined in compression.

Examples

file_ext_without_compression(c("abc.bam.gz", "def.bam.zip"))

JokingHero/ORFik documentation built on Dec. 21, 2024, 12:01 a.m.