file.cleanSpecialCharactersFromFileName: Clean Special Character from Filenames

file.cleanSpecialCharactersFromFileNameR Documentation

Clean Special Character from Filenames

Description

Clean non-universally acceptable special characters out of a filename, to guarantee the file will be successfully created and readable later with the exact same filename.

Usage

file.cleanSpecialCharactersFromFileName(fnames)

Arguments

fnames

character vector of potential filenames

Details

This function is designed to make sure that filenames with embedded GeneIDs always use characters allowable on any operating system.

Value

character vector of (potentially modified) filenames, of the same length as fnames, with any special characters converted to hyphens.

Examples

  file.cleanSpecialCharactersFromFileName( "MAL8_18s:rRNA.png")

robertdouglasmorrison/DuffyTools documentation built on April 16, 2024, 6:31 a.m.