genesetselect: The server function of the genesetselect module

View source: R/genesetselect.R

genesetselectR Documentation

The server function of the genesetselect module

Description

The gene set module is for adding a gene set filter to displays. A selectizeInput is used for performance reasons, providing an autocomplete field for selecting from a list that could stretch to thousands of entries. This would be difficult to do client-side using a standard select field.

Usage

genesetselect(
  input,
  output,
  session,
  eselist,
  getExperiment,
  multiple = TRUE,
  filter_by_type = FALSE,
  require_select = TRUE
)

Arguments

input

Input object

output

Output object

session

Session object

eselist

An ExploratorySummarizedExperimentList with its gene_sets slot set

getExperiment

Accessor for returning an ExploratorySummarizedExperiment object, with 'labelfield' set in its slots

multiple

Boolean: should it be possible to select multiple gene sets?

filter_by_type

Provide a filter for gene set type?

require_select

Require a gene set selection?

Value

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

Examples

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


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