Format character strings to use upper camel-style formatting, where word
boundaries are defined by capitlization only (e.g.
upperCamelCase(object, ...) # S4 method for character upperCamelCase( object, rename = FALSE, recursive = FALSE, smart = TRUE, strict = TRUE, names = !rename, prefix = !rename )
Only applies to string mode (
Enabled by default for string mode, but disabled by default for rename mode, when applicable.
Contains syntatically valid names.
For objects with
names() defined, the underlying data
returns unchanged, except for
Note that lower camel case is generally recommended in R over the use of upper camel case. However, upper camel case is recommended by Bioconductor for S4 class names and corresponding generators, but not variables or functions.
data(syntactic, package = "AcidTest") object <- syntactic$character upperCamelCase(object)#>  "PercentGc" "X10um" "X5X3Bias" "X5prime" #>  "G2mScore" "HelloWorld" "HelloWorld" "MazdaRx4" #>  "NCount" "RnaiClones" "Tx2gene" "Tx2GeneId" #>  "WorfdbHtmlRemap" "X123"