Skip to contents

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

Usage

makeLabel(object, ...)

# S4 method for character
makeLabel(object)

Arguments

object

Object.

...

Additional arguments.

Value

character(1). Lowercase string.

Note

Updated 2020-01-27.

Examples

makeLabel("mitoVsCoding")
#> [1] "mito vs. coding"
makeLabel("log10GenesPerUMI")
#> [1] "log10 genes per UMI"
makeLabel("Already A Label")
#> [1] "Already A Label"
makeLabel("NASA")
#> [1] "NASA"
makeLabel("nGene")
#> [1] "n gene"