Modify the legend labels for categorical metadata.

mod_label(scConf, m, new.labels)

Arguments

scConf

shinycell config data.table

m

metadata for which to modify the legend labels. Users can either use the actual metadata column names or display names. Please specify only one metadata

new.labels

character vector of new legend labels

Value

updated shinycell config data.table

Author

John F. Ouyang

Roy Francis

Examples

if (FALSE) {
scConf = mod_label(scConf, m = "library", new.labels = c("Fib", "Primed", "Naive", "RSeT"))
}