modDefault: Set the default metadata to display

View source: R/modDefault.R

modDefaultR Documentation

Set the default metadata to display

Description

Set the default metadata to display in the shiny app. Default1 is used when plotting metadata with gene expression or when plotting two metadata simultaneously. Default2 is used when plotting two metadata simultaneously.

Usage

modDefault(scConf, default1, default2)

Arguments

scConf

shinycell config data.table

default1

metadata to set as the 1st default metadata to display. Users can either use the actual metadata column names or display names

default2

metadata to set as the 2nd default metadata to display. Users can either use the actual metadata column names or display names

Value

updated shinycell config data.table

Author(s)

John F. Ouyang

Examples

scConf = modDefault(scConf, default1 = "library", default2 = "cluster")


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