modColours | R Documentation |
Modify the colour palette for categorical metadata.
modColours(scConf, meta.to.mod, new.colours)
scConf |
shinycell config data.table |
meta.to.mod |
metadata for which to modify the colour palette. Users can either use the actual metadata column names or display names. Please specify only one metadata |
new.colours |
character vector of new colour palette |
updated shinycell config data.table
John F. Ouyang
scConf = modColours(scConf, meta.to.mod = "library",
new.colours = c("black", "darkorange", "blue", "red"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.