negativeControlSelectorModule: Negative control selection utility

View source: R/EvidenceExplorer.R

negativeControlSelectorModuleR Documentation

Negative control selection utility

Description

Shiny Module for integration of evidence for selecting negative controls conceptsets in to shiny applications

Usage

negativeControlSelectorModule(
  id,
  backend,
  conceptInput = NULL,
  siblingLookupLevelsInput = shiny::reactive({     0 }),
  isOutcomeSearch = shiny::reactive({     TRUE }),
  nControls = shiny::reactive({     100 })
)

Arguments

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


OHDSI/CemConnector documentation built on Aug. 5, 2023, 2:47 p.m.