View source: R/barplot_server.R
barplot_server | R Documentation |
Barplot Server
barplot_server(
id,
sample_data_function,
feature_data = shiny::reactive(NULL),
group_data = shiny::reactive(NULL),
barplot_xlab = shiny::reactive(""),
barplot_ylab = shiny::reactive(""),
barplot_title = shiny::reactive(""),
barplot_label = shiny::reactive("Feature"),
drilldown = shiny::reactive(F),
mock_event_data = shiny::reactive(NULL),
...
)
id |
Module ID |
sample_data_function |
A shiny::reactive that returns a function. The function must take an argument called ".feature_class" and return a dataframe with columns "sample_name", "feature_name", "group_name", and "feature_value". |
feature_data |
A shiny::reactive that returns a dataframe with columns "feature_name", and optionally "feature_display" and "feature_class". Each value in the "feature_name" column should only appear once. |
group_data |
A shiny::reactive that returns a dataframe with columns "group_name", "group_display", and optionally "group_description". Each value in the "group_name" column should only appear once. |
barplot_xlab |
A shiny::reactive that returns a string |
barplot_ylab |
A shiny::reactive that returns a string |
barplot_title |
A shiny::reactive that returns a string |
barplot_label |
A shiny::reactive that returns a string |
drilldown |
A shiny::reactive that returns True or False |
mock_event_data |
A shiny::reactive that returns a dataframe. For testing purposes only. Must have columns "curveNumber", "pointNumber", "x", "y", and "key". The "x" column corresponds to the group selected. |
... |
arguments sent to plotly_scatter |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.