Description Usage Arguments Details Value
Parse column names
1 |
cn |
column name |
There are numerous ways to access the values
stored in the columns of a data.frame
. The one
using a dollar sign (e.g. df$this_column
) is
vulnerable to special characters, such as "-", spaces etc.
Since the default method of ggplot2
is to use the
dollar sign approach, we need to ensure that special
characters, which are often part of gene names, are taken
care of. This function simply wraps those names into
single quotes.
column name enclosed in single quotes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.