Modify the colour palette for categorical metadata.

mod_colour(scConf, m, nc)

Arguments

scConf

shinycell config data.table

m

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

nc

character vector of new colour palette

Value

updated shinycell config data.table

Author

John F. Ouyang

Roy Francis

Examples

if (FALSE) {
scConf = mod_colour(scConf, m = "library", nc = c("black", "darkorange", "blue", "red"))
}