Class to view the data and plot view of a DrugExposureDiagnostics check.
self
DrugExposureDiagnostics::ShinyModule -> dataPlotPanel
new()Method to handle the back-end.
Initializer method
dataPlotPanel$new(
data,
dataByConcept = NULL,
id,
title,
description,
plotPercentage,
byConcept,
downloadFilename,
selectedColumns = colnames(data)
)datadata from the DrugExposureDiagnostics package.
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.
(NULL)
(tabItem)
clone()The objects of this class are cloneable with this method.
dataPlotPanel$clone(deep = FALSE)deepWhether to make a deep clone.