View source: R/utils_interactiveGgplot.R
ggplotServer | R Documentation |
ggplot
Logic set to create an interactive ggplot
ggplotServer(
input,
output,
id,
plot = NULL,
df = NULL,
x = NULL,
y = NULL,
eventData = NULL
)
ggplotAuxServer(input, output, id)
input |
Shiny input |
output |
Shiny output |
id |
Character: identifier |
plot |
Character: plot expression (if |
df |
Data frame |
x |
Character: name of the variable used for the X axis |
y |
Character: name of the variable used for the Y axis |
eventData |
Alternative splicing event information (if available) |
NULL
(function is only used to modify the Shiny session's
state or internal variables)
Insert ggplotAuxSet
outside any observer (so it is only run
once)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.