Make syntactically valid names out of character vectors.
This package is part of the basejump toolkit. Refer to its website for installation instructions.
Additionally, the package exports these utility functions:
makeNames(): modified variant of
make.names()that sanitizes using underscores instead of dots.
capitalize(): Capitalize the first letter of all words in a character vector.
syntactic is designed to handle many common mixed case acronyms (e.g. mRNA, RNAi), as well as decimals in names. Additionally, the package defines S4 method support for a number of popular Bioconductor S4 classes, including
If syntactic doesn't work quite right for you, these popular packages also provide excellent sanitization support: