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 = FALSE, 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"