tabPanelModuleUI: modularized UI for creating a new tab

Description Usage Arguments Author(s)

View source: R/tabPanelModule.R

Description

Creates a UI tab with helptext, widgets for user input, a plot, and standardized layout. The default is to create one plot, but if the argument 'twoPlots' is set to TRUE, then the layout allows for two plots, where each can have separate helper text and Shiny widget calls.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
tabPanelModuleUI(
  id,
  tabTitle,
  icon = NULL,
  calls = NULL,
  helperText = NULL,
  twoPlots = FALSE,
  calls2 = NULL,
  helperText2 = NULL,
  title2 = NULL,
  brushName = NULL,
  is.plotly = FALSE
)

Arguments

id

Name of module. Allows each call of this module to be uniquely identified.

tabTitle

Title of the tab, visible in UI

icon

Optional icon to appear on the tab. This attribute is only valid when using a tabPanel within a navbarPage.

calls

Unevaluated expression that stores Shiny widgets (for example, a call to a sliderInput function) for the tab.

helperText

Optional help text for the tab.

twoPlots

defaults to FALSE, and layout is generated for one plot. If TRUE, layout is generated for two plots

calls2

Unevaluated expression that stores Shiny widgets for the (optional) second plot

helperText2

Optional help text for the (optional) second plot

title2

plot title for the (optional) second plot

brushName

character vector indicating the name of brush if you want brushing for the plot. For use in score scatterplots for plot_shiny.fpca() and plot_shiny.mfpca().

is.plotly

Indicates if plots are plotly generated. Defaults to FALSE.

Author(s)

Julia Wrobel jw3134@cumc.columbia.edu


refunders/refund.shiny documentation built on Aug. 20, 2020, 12:43 p.m.