get_file_extension: Get the extension of a file

View source: R/miscellanous.R

get_file_extensionR Documentation

Get the extension of a file

Description

lifecycle-maturing

Internally used in count_seq(). Warning: don't work when there is '.' in the name of the file before the extension

Usage

get_file_extension(file_path)

Arguments

file_path

(required) path to a file

Value

The extension of a file.

Author(s)

Adrien Taudière

Examples

get_file_extension("myfile.fasta")

MiscMetabar documentation built on June 8, 2026, 5:07 p.m.