Class to view the data and plot view of a DrugExposureDiagnostics check.
Super class
DrugExposureDiagnostics::ShinyModule -> dataPlotPanel
Methods
Method new()
Method to handle the back-end.
Initializer method
Usage
dataPlotPanel$new(
data,
dataByConcept = NULL,
id,
title,
description,
plotPercentage,
byConcept,
downloadFilename,
selectedColumns = colnames(data)
)Arguments
datadata from the
DrugExposureDiagnosticspackage.dataByConceptdata by drug concept
idthe unique reference id for the module
titlepanel title
descriptiondescription of data table
plotPercentageif plot by percentage should be enabled
byConceptadd byConcept switch
downloadFilenamefilename of the downloaded file
selectedColumnsdefault selected columns
input(
input)
Input from the server function.output(
output)
Output from the server function.session(
session)
Session from the server function.
Method uiBody()
Method to include a tabPanel to include the body.