viewCharacterization | R Documentation |
This is a shiny app for viewing interactive plots and tables
viewCharacterization(resultFolder, cohortDefinitionSet = NULL)
resultFolder |
The location of the csv results |
cohortDefinitionSet |
The cohortDefinitionSet extracted using webAPI |
Input is the output of ...
Opens a shiny app for interactively viewing the results
conDet <- exampleOmopConnectionDetails()
drSet <- createDechallengeRechallengeSettings(
targetIds = c(1,2),
outcomeIds = 3
)
cSet <- createCharacterizationSettings(
dechallengeRechallengeSettings = drSet
)
runCharacterizationAnalyses(
connectionDetails = conDet,
targetDatabaseSchema = 'main',
targetTable = 'cohort',
outcomeDatabaseSchema = 'main',
outcomeTable = 'cohort',
cdmDatabaseSchema = 'main',
characterizationSettings = cSet,
outputDirectory = file.path(tempdir(),'view')
)
viewCharacterization(
resultFolder = file.path(tempdir(),'view')
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.