groupby: The server function of the groupby module

View source: R/groupby.R

groupbyR Documentation

The server function of the groupby module

Description

The groupby module provides a UI element to choose from the group_vars in a SummarizedExperment. Useful for coloring in a PCA etc

Usage

groupby(
  input,
  output,
  session,
  eselist,
  group_label = "Group by",
  multiple = FALSE,
  selectColData = NULL,
  isDynamic = reactive({
     TRUE
 })
)

Arguments

input

Input object

output

Output object

session

Session object

eselist

ExploratorySummarizedExperimentList object containing ExploratorySummarizedExperiment objects

group_label

A label for the grouping field

multiple

Produces a checkbox group if true, a select box if false

selectColData

Reactive returning an experiment matrix, probably derived from the selectmatrix module.

isDynamic

Reactive expression providing a boolean. A FALSE value causes the groupby option to be placed in a hidden field.

Value

output A list of reactive functions which will be used by other modules.

Examples

geneset_functions <- callModule(groupby, "heatmap", getExperiment)


pinin4fjords/shinyngs documentation built on May 5, 2024, 7:17 a.m.