View source: R/EvidenceExplorer.R
negativeControlSelectorModule | R Documentation |
Shiny Module for integration of evidence for selecting negative controls conceptsets in to shiny applications
negativeControlSelectorModule(
id,
backend,
conceptInput = NULL,
siblingLookupLevelsInput = shiny::reactive({ 0 }),
isOutcomeSearch = shiny::reactive({ TRUE }),
nControls = shiny::reactive({ 100 })
)
id |
string - unique namespace for module |
backend |
CemConnector backend (database or Api URL) |
conceptInput |
shiny::reactive that returns data.frame with headers conceptId, includeDescendants, isExcluded |
siblingLookupLevelsInput |
shiny::reactive that returns positive integer for sibling levels to lookup for condition concept mappings to CEM |
isOutcomeSearch |
shiny::reactive that returns boolean - is this an indication, in which case search for disease concepts. Otherwise, searches for ingredients |
nControls |
shiny::reactive that returns positive integer for number of controls to get |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.