Skip to content

Commit

Permalink
Merge pull request #197 from OHDSI/develop
Browse files Browse the repository at this point in the history
Release candidate
  • Loading branch information
jreps committed Oct 6, 2023
2 parents 619fed2 + 46977ca commit be1d48e
Show file tree
Hide file tree
Showing 342 changed files with 27,635 additions and 12,455 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ docs
.github
deploy.sh
compare_versions
^.idea$
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
.RData
.Ruserdata
/.idea/
rsconnect/rconnect.jnj.com/NHall6/phevaluator_v01.dcf
errorReportSql.txt
9 changes: 6 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: OhdsiShinyModules
Type: Package
Title: Repository of Shiny Modules for OHDSI Result Viewers
Version: 1.1.0
Version: 2.0.0
Author: Jenna Reps
Maintainer: Jenna Reps <reps@ohdsi.org>
Description: Install this package to access useful shiny modules for building shiny apps to explore results using the OHDSI tools .
Expand All @@ -11,9 +11,11 @@ LazyData: true
Depends:
R (>= 3.3.0)
VignetteBuilder: knitr
Language: EN-US
Imports:
checkmate,
CirceR,
cowplot,
DatabaseConnector,
dplyr,
DT,
Expand All @@ -36,16 +38,17 @@ Imports:
shinydashboard,
shinyWidgets,
SqlRender,
stringi,
stringr,
tibble,
tidyr,
tidyselect,
tippy,
RColorBrewer
RColorBrewer,
markdown
Suggests:
kableExtra,
knitr,
markdown,
ResultModelManager,
RSQLite,
testthat,
Expand Down
137 changes: 72 additions & 65 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,21 +1,59 @@
# Generated by roxygen2: do not edit by hand

export(LargeDataTable)
export(aboutHelperFile)
export(aboutServer)
export(aboutViewer)
export(characterizationView)
export(characterizationAggregateFeaturesServer)
export(characterizationAggregateFeaturesViewer)
export(characterizationDechallengeRechallengeServer)
export(characterizationDechallengeRechallengeViewer)
export(characterizationHelperFile)
export(characterizationIncidenceServer)
export(characterizationIncidenceViewer)
export(characterizationServer)
export(characterizationTableServer)
export(characterizationTableViewer)
export(characterizationTimeToEventServer)
export(characterizationTimeToEventViewer)
export(characterizationViewer)
export(cohortCountsView)
export(cohortDefinitionsView)
export(cohortDiagCharacterizationView)
export(cohortDiagnosticsHelperFile)
export(cohortDiagnosticsSever)
export(cohortDiagnosticsServer)
export(cohortDiagnosticsView)
export(cohortGeneratorHelperFile)
export(cohortGeneratorServer)
export(cohortGeneratorViewer)
export(cohortMethodAttritionServer)
export(cohortMethodAttritionViewer)
export(cohortMethodCovariateBalanceServer)
export(cohortMethodCovariateBalanceViewer)
export(cohortMethodDiagnosticsSummaryServer)
export(cohortMethodDiagnosticsSummaryViewer)
export(cohortMethodHelperFile)
export(cohortMethodKaplanMeierServer)
export(cohortMethodKaplanMeierViewer)
export(cohortMethodPopulationCharacteristicsServer)
export(cohortMethodPopulationCharacteristicsViewer)
export(cohortMethodPowerServer)
export(cohortMethodPowerViewer)
export(cohortMethodPropensityModelServer)
export(cohortMethodPropensityModelViewer)
export(cohortMethodPropensityScoreDistServer)
export(cohortMethodPropensityScoreDistViewer)
export(cohortMethodResultSummaryServer)
export(cohortMethodResultSummaryViewer)
export(cohortMethodServer)
export(cohortMethodSystematicErrorServer)
export(cohortMethodSystematicErrorViewer)
export(cohortMethodViewer)
export(cohortOverlapView)
export(compareCohortCharacterizationView)
export(conceptsInDataSourceView)
export(createCdDatabaseDataSource)
export(createCustomColDefList)
export(dataDiagnosticDrillServer)
export(dataDiagnosticDrillViewer)
export(dataDiagnosticHelperFile)
Expand All @@ -24,46 +62,9 @@ export(dataDiagnosticSummaryServer)
export(dataDiagnosticSummaryViewer)
export(dataDiagnosticViewer)
export(databaseInformationView)
export(descriptionAggregateFeaturesServer)
export(descriptionAggregateFeaturesViewer)
export(descriptionDechallengeRechallengeServer)
export(descriptionDechallengeRechallengeViewer)
export(descriptionHelperFile)
export(descriptionIncidenceServer)
export(descriptionIncidenceViewer)
export(descriptionServer)
export(descriptionTableServer)
export(descriptionTableViewer)
export(descriptionTimeToEventServer)
export(descriptionTimeToEventViewer)
export(descriptionViewer)
export(estimationAttritionServer)
export(estimationAttritionViewer)
export(estimationCovariateBalanceServer)
export(estimationCovariateBalanceViewer)
export(estimationDiagnosticsSummaryServer)
export(estimationDiagnosticsSummaryViewer)
export(estimationForestPlotServer)
export(estimationForestPlotViewer)
export(estimationHelperFile)
export(estimationKaplanMeierServer)
export(estimationKaplanMeierViewer)
export(estimationPopulationCharacteristicsServer)
export(estimationPopulationCharacteristicsViewer)
export(estimationPowerServer)
export(estimationPowerViewer)
export(estimationPropensityModelServer)
export(estimationPropensityModelViewer)
export(estimationPropensityScoreDistServer)
export(estimationPropensityScoreDistViewer)
export(estimationResultsTableServer)
export(estimationResultsTableViewer)
export(estimationServer)
export(estimationSubgroupsServer)
export(estimationSubgroupsViewer)
export(estimationSystematicErrorServer)
export(estimationSystematicErrorViewer)
export(estimationViewer)
export(datasourcesHelperFile)
export(datasourcesServer)
export(datasourcesViewer)
export(evidenceSynthesisHelperFile)
export(evidenceSynthesisServer)
export(evidenceSynthesisViewer)
Expand All @@ -72,30 +73,36 @@ export(getLogoImage)
export(incidenceRatesView)
export(inclusionRulesView)
export(indexEventBreakdownView)
export(largeTableServer)
export(largeTableView)
export(makeButtonLabel)
export(orpahanConceptsView)
export(predictionCalibrationServer)
export(predictionCalibrationViewer)
export(predictionCovariateSummaryServer)
export(predictionCovariateSummaryViewer)
export(predictionCutoffServer)
export(predictionCutoffViewer)
export(predictionDesignSummaryServer)
export(predictionDesignSummaryViewer)
export(predictionDiagnosticsServer)
export(predictionDiagnosticsViewer)
export(predictionDiscriminationServer)
export(predictionDiscriminationViewer)
export(predictionHelperFile)
export(predictionModelSummaryServer)
export(predictionModelSummaryViewer)
export(predictionNbServer)
export(predictionNbViewer)
export(predictionServer)
export(predictionSettingsServer)
export(predictionSettingsViewer)
export(predictionValidationServer)
export(predictionValidationViewer)
export(predictionViewer)
export(patientLevelPredictionCalibrationServer)
export(patientLevelPredictionCalibrationViewer)
export(patientLevelPredictionCovariateSummaryServer)
export(patientLevelPredictionCovariateSummaryViewer)
export(patientLevelPredictionCutoffServer)
export(patientLevelPredictionCutoffViewer)
export(patientLevelPredictionDesignSummaryServer)
export(patientLevelPredictionDesignSummaryViewer)
export(patientLevelPredictionDiagnosticsServer)
export(patientLevelPredictionDiagnosticsViewer)
export(patientLevelPredictionDiscriminationServer)
export(patientLevelPredictionDiscriminationViewer)
export(patientLevelPredictionHelperFile)
export(patientLevelPredictionModelSummaryServer)
export(patientLevelPredictionModelSummaryViewer)
export(patientLevelPredictionNbServer)
export(patientLevelPredictionNbViewer)
export(patientLevelPredictionServer)
export(patientLevelPredictionSettingsServer)
export(patientLevelPredictionSettingsViewer)
export(patientLevelPredictionValidationServer)
export(patientLevelPredictionValidationViewer)
export(patientLevelPredictionViewer)
export(phevaluatorHelperFile)
export(phevaluatorServer)
export(phevaluatorViewer)
export(sccsHelperFile)
export(sccsServer)
export(sccsView)
Expand Down
11 changes: 11 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
OhdsiShinyModules v2.0.0
========================
- updated all models to use the same resultDatabaseSettings
- made module function naming consistent (modules named after analysis packages)
- made table prefix inputs consistent across modules
- updated patientlevelprediction, cohortmethod and sccs to look similar.
- Updated Cohort Diagnostics characterization to improve overall performance
- Added plots for incidence in characterization module
- Added PheValuator package
- Numerous bug fixes (see github issues)

OhdsiShinyModules v1.1.0
========================
- Udated the style for Characterization
Expand Down
2 changes: 1 addition & 1 deletion R/OhdsiShinyModules.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @file OhdsiShinyModules.R
#
# Copyright 2022 Observational Health Data Sciences and Informatics
# Copyright 2023 Observational Health Data Sciences and Informatics
#
# This file is part of OhdsiShinyModules
#
Expand Down
14 changes: 11 additions & 3 deletions R/about-main.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @file about-main.R
#
# Copyright 2022 Observational Health Data Sciences and Informatics
# Copyright 2023 Observational Health Data Sciences and Informatics
#
# This file is part of PatientLevelPrediction
#
Expand Down Expand Up @@ -42,7 +42,9 @@ aboutHelperFile <- function(){
#' The user interface to the home page module
#'
#' @export
aboutViewer <- function(id = 'homepage') {
aboutViewer <- function(
id = 'homepage'
) {
ns <- shiny::NS(id)

shinydashboard::box(
Expand Down Expand Up @@ -71,12 +73,18 @@ aboutViewer <- function(id = 'homepage') {
#' The user specifies the id for the module
#'
#' @param id the unique reference id for the module
#' @param connectionHandler a connection to the database with the results
#' @param resultDatabaseSettings a list containing the characterization result schema, dbms, tablePrefix, databaseTable and cgTablePrefix
#'
#' @return
#' The server for the shiny app home
#'
#' @export
aboutServer <- function(id = 'homepage') {
aboutServer <- function(
id = 'homepage',
connectionHandler = NULL,
resultDatabaseSettings = NULL
) {
shiny::moduleServer(
id,
function(input, output, session) {
Expand Down
Loading

0 comments on commit be1d48e

Please sign in to comment.