Description Usage Arguments Module Return
View source: R/shiny-module-mgVolcano.R
Creates a volcano plot from a source input
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,
...
)
|
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 |
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 |
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
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.