Doesn't modify strings already containing a space or multi-letter acronym.

makeTitle(object, ...)

# S4 method for character
makeTitle(object)

Arguments

object

Object.

...

Additional arguments.

Value

character(1). British style sentence case.

Note

Updated 2020-01-27.

See also

Examples

makeTitle("mitoVsCoding")
#> [1] "Mito vs. coding"
makeTitle("log10GenesPerUMI")
#> [1] "Log10 genes per UMI"
makeTitle("Already A Title")
#> [1] "Already A title"
makeTitle("NASA")
#> [1] "NASA"