Skip to contents

[Experimental]

This module provides an interactive volcano plot for RNA-seq gene expression analysis.

Usage

tm_g_volcanoplot(
  label,
  mae_name,
  exclude_assays = character(),
  pre_output = NULL,
  post_output = NULL
)

ui_g_volcanoplot(id, datasets, mae_name, pre_output, post_output)

srv_g_volcanoplot(id, datasets, mae_name, exclude_assays)

sample_tm_g_volcanoplot()

Arguments

label

(string)
menu item label of the module in the teal app.

mae_name

(string)
name of the MAE data used in the teal module.

exclude_assays

(character)
names of the assays which should not be included in choices in the teal module.

pre_output

(shiny.tag or NULL)
placed before the output to put the output into context (for example a title).

post_output

(shiny.tag or NULL)
placed after the output to put the output into context (for example the shiny::helpText() elements can be useful).

id

(string) the shiny module id.

datasets

(Datasets)
teal specific argument which is automatically passed to the UI and server functions, holding all the data sets provided in the app initialization.

Value

Shiny module to be used in the teal app.

Functions

  • ui_g_volcanoplot: sets up the user interface.

  • srv_g_volcanoplot: sets up the server with reactive graph.

  • sample_tm_g_volcanoplot: sample module function.

Examples

mae <- hermes::multi_assay_experiment
mae_data <- dataset("MAE", mae)
data <- teal_data(mae_data)
app <- init(
  data = data,
  modules = modules(
    tm_g_volcanoplot(
      label = "volcanoplot",
      mae_name = "MAE"
    )
  )
)
#> [INFO] 2022-06-14 17:44:55.9787 pid:1178 token:[] teal.modules.hermes Initializing tm_g_volcanoplot
if (interactive()) {
  shinyApp(app$ui, app$server)
}

# Alternatively you can run the sample module with this function call:
if (interactive()) {
  sample_tm_g_volcanoplot()
}