modLabels: Modify the legend labels for categorical metadata

View source: R/modLabels.R

modLabelsR Documentation

Modify the legend labels for categorical metadata

Description

Modify the legend labels for categorical metadata.

Usage

modLabels(scConf, meta.to.mod, new.labels)

Arguments

scConf

shinycell config data.table

meta.to.mod

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(s)

John F. Ouyang

Examples

scConf = modLabels(scConf, meta.to.mod = "library", 
                   new.labels = c("Fib", "Primed", "Naive", "RSeT"))


SGDDNB/ShinyCell documentation built on Jan. 25, 2024, 3:19 p.m.