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
data
data from the
DrugExposureDiagnostics
package.dataByConcept
data by drug concept
id
the unique reference id for the module
title
panel title
description
description of data table
plotPercentage
if plot by percentage should be enabled
byConcept
add byConcept switch
downloadFilename
filename of the downloaded file
selectedColumns
default 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.