toUnderscoreSeparated | R Documentation |
This function converts a string from camelCase or dot-separated format to an underscore-separated format. It can handle strings that are a combination of camelCase and dot-separated formats. The function replaces dots with underscores and inserts an underscore before any uppercase letter that follows a lowercase letter. It then converts all characters to lowercase.
toUnderscoreSeparated(input_string, toclipboard = FALSE)
input_string |
A character string in camelCase, dot-separated format, or a combination of both. There is no default value for this parameter; a string must be provided. |
toclipboard |
Copy to clipboard? Default: TRUE |
A character string converted to underscore_separated format.
toUnderscoreSeparated("plot.Metadata.cor.heatMap")
toUnderscoreSeparated("plotMetadataCorHeatMap")
toUnderscoreSeparated("plot.metadataCor.heatMap")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.