mgVolcano: Creates a volcano plot from a source input

Description Usage Arguments Module Return

View source: R/shiny-module-mgVolcano.R

Description

Creates a volcano plot from a source input

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
mgVolcanoUI(
  id,
  x,
  stats = "dge",
  xaxis = "logFC",
  yaxis = "padj",
  idx = "idx",
  hexbin = TRUE,
  default_xhex = 1,
  default_yhex = 0.1
)

mgVolcano(
  input,
  output,
  session,
  x,
  stats = "dge",
  xaxis = "logFC",
  yaxis = "pval",
  idx = "idx",
  tools = c("box_select", "reset", "save"),
  width = NULL,
  height = NULL,
  highlight = reactive(NULL),
  default_xhex = 1,
  default_yhex = 0.1,
  webgl = FALSE,
  ...
)

Arguments

id

the shiny id of the output widget

x

the name of the column from the stats table to use on x axis

stats

the stats to pull from x (if necessary) to build the volcano for.

highlight

a reactive vector of featureIds that indicate which points to highlight on the volcano, irresespective of their "hexbin" status.

y

the name of the column from the stats table to use on y axis

Module Return

This module returns a data.frame with the information of the selected features. If no genes are selected in a volcano, it will return NULL.


lianos/multiGSEA.shiny documentation built on Sept. 15, 2020, 10:45 p.m.