diff --git a/DESCRIPTION b/DESCRIPTION index 40270bb..59aa8d5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: Characterization Type: Package Title: Characterizations of Cohorts -Version: 0.0.6 -Date: 2023-02-13 +Version: 0.1.0 +Date: 2023-03-13 Authors@R: c( person("Jenna", "Reps", , "reps@ohdsi.org", role = c("aut", "cre")), person("Patrick", "Ryan", , "ryan@ohdsi.org", role = c("aut")) diff --git a/NEWS.md b/NEWS.md index dc98ade..79c5acd 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,10 @@ +Characterization 0.1.0 +====================== + +- added support to enable target cohorts with multiple cohort entries for the aggregate covariate analysis by restructing to first cohort entry and ensuring the subject has a user specified minPriorObservation days observation in the database at first entry and also perform analysis on first outcomes and any outcome that is recorded during TAR. +- added shiny app + + Characterization 0.0.1 ====================== diff --git a/_pkgdown.yml b/_pkgdown.yml index 89c427c..0549e21 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -87,6 +87,10 @@ reference: - createSqliteDatabase - createCharacterizationTables - exportDatabaseToCsv - + - title: "Shiny App" + desc: > + Functions to interactively exlore the results from runCharacterizationAnalyses(). + contents: + - viewCharacterization diff --git a/docs/404.html b/docs/404.html index 60042e4..20886a8 100644 --- a/docs/404.html +++ b/docs/404.html @@ -32,7 +32,7 @@
@@ -115,7 +115,7 @@vignettes/InstallationGuide.Rmd
InstallationGuide.Rmd
To install using remotes
run:
install.packages("remotes")
-remotes::install_github("OHDSI/FeatureExtraction")
remotes::install_github("OHDSI/Characterization")
When installing make sure to close any other Rstudio sessions that
are using Characterization
or any dependency. Keeping
@@ -199,7 +198,7 @@
##
## To cite package 'Characterization' in publications use:
##
-## Reps J, Ryan P (2022). _Characterization: Characterizations of
+## Reps J, Ryan P (2023). _Characterization: Characterizations of
## Cohorts_. https://ohdsi.github.io/Characterization,
## https://github.com/OHDSI/Characterization.
##
@@ -208,7 +207,7 @@ Acknowledgments## @Manual{,
## title = {Characterization: Characterizations of Cohorts},
## author = {Jenna Reps and Patrick Ryan},
-## year = {2022},
+## year = {2023},
## note = {https://ohdsi.github.io/Characterization, https://github.com/OHDSI/Characterization},
## }
Site built with pkgdown 2.0.6.
+Site built with pkgdown 2.0.7.
diff --git a/docs/articles/UsingCharacterizationPackage.html b/docs/articles/UsingCharacterizationPackage.html index 66e5172..c2be504 100644 --- a/docs/articles/UsingCharacterizationPackage.html +++ b/docs/articles/UsingCharacterizationPackage.html @@ -33,7 +33,7 @@ @@ -97,7 +97,7 @@vignettes/UsingCharacterizationPackage.Rmd
UsingCharacterizationPackage.Rmd
## Executing SQL took 0.00556 secs
+## Executing SQL took 0.00634 secs
## Creating cohort: Diclofenac
##
|
| | 0%
|
|======================================================================| 100%
-## Executing SQL took 0.00483 secs
+## Executing SQL took 0.00962 secs
## Creating cohort: GiBleed
##
|
| | 0%
|
|======================================================================| 100%
-## Executing SQL took 0.0104 secs
+## Executing SQL took 0.0088 secs
## Creating cohort: NSAIDs
##
|
| | 0%
|
|======================================================================| 100%
-## Executing SQL took 0.0512 secs
+## Executing SQL took 0.0492 secs
## Cohorts created in table main.cohort
## cohortId name
## 1 1 Celecoxib
@@ -332,16 +332,16 @@ Aggreagate Covariates
-100000
+1
8507001
-914
+237
-0.4956616
+0.4947808
@@ -352,16 +352,16 @@ Aggreagate Covariates
-100000
+1
8532001
-930
+242
-0.5043384
+0.5052192
@@ -372,7 +372,7 @@ Aggreagate Covariates
-100031
+2
8507001
@@ -392,7 +392,7 @@ Aggreagate Covariates
-100031
+2
8532001
@@ -412,16 +412,16 @@ Aggreagate Covariates
-100032
+3
8507001
-734
+57
-0.4929483
+0.4596774
@@ -432,16 +432,16 @@ Aggreagate Covariates
-100032
+3
8532001
-755
+67
-0.5070517
+0.5403226
@@ -452,16 +452,16 @@ Aggreagate Covariates
-100033
+4
8507001
-180
+237
-0.5070423
+0.4947808
@@ -472,16 +472,16 @@ Aggreagate Covariates
-100033
+4
8532001
-175
+242
-0.4929577
+0.5052192
@@ -492,16 +492,16 @@ Aggreagate Covariates
-200000
+5
8507001
-407
+894
-0.4788235
+0.4966667
@@ -512,16 +512,16 @@ Aggreagate Covariates
-200000
+5
8532001
-443
+906
-0.5211765
+0.5033333
@@ -532,16 +532,16 @@ Aggreagate Covariates
-200031
+6
8507001
-57
+395
-0.4596774
+0.4759036
@@ -552,16 +552,16 @@ Aggreagate Covariates
-200031
+6
8532001
-67
+435
-0.5403226
+0.5240964
@@ -572,16 +572,16 @@ Aggreagate Covariates
-200032
+7
8507001
-350
+1289
-0.4820937
+0.4901141
@@ -592,16 +592,16 @@ Aggreagate Covariates
-200032
+7
8532001
-376
+1341
-0.5179063
+0.5098859
@@ -612,16 +612,16 @@ Aggreagate Covariates
-200033
+8
8507001
-57
+180
-0.4596774
+0.5070423
@@ -632,16 +632,16 @@ Aggreagate Covariates
-200033
+8
8532001
-67
+175
-0.5403226
+0.4929577
@@ -652,16 +652,16 @@ Aggreagate Covariates
-300000
+9
8507001
-237
+57
-0.4947808
+0.4596774
@@ -672,16 +672,16 @@ Aggreagate Covariates
-300000
+9
8532001
-242
+67
-0.5052192
+0.5403226
@@ -692,16 +692,16 @@ Aggreagate Covariates
-400000
+10
8507001
-1321
+237
-0.4903489
+0.4947808
@@ -712,16 +712,16 @@ Aggreagate Covariates
-400000
+10
8532001
-1373
+242
-0.5096511
+0.5052192
@@ -732,16 +732,16 @@ Aggreagate Covariates
-400031
+11
8507001
-237
+714
-0.4947808
+0.4941176
@@ -752,16 +752,16 @@ Aggreagate Covariates
-400031
+11
8532001
-242
+731
-0.5052192
+0.5058824
@@ -772,16 +772,16 @@ Aggreagate Covariates
-400032
+12
8507001
-1084
+338
-0.4893905
+0.4787535
@@ -792,16 +792,16 @@ Aggreagate Covariates
-400032
+12
8532001
-1131
+368
-0.5106095
+0.5212465
@@ -812,16 +812,16 @@ Aggreagate Covariates
-400033
+13
8507001
-237
+1052
-0.4947808
+0.4890748
@@ -832,73 +832,18 @@ Aggreagate Covariates
-400033
+13
8532001
-242
+1099
-0.5052192
+0.5109252
-
-
-
-- covariatesContinuous:
-
-
-
+- covariatesContinuous:
+
+
+
loadAggregateCovariateAnalyses(saveDirectory)
loadAggregateCovariateAnalyses(fileName)
An directory location to save the results into
The file to save the results into.
loadCharacterizationSettings(saveDirectory)
loadCharacterizationSettings(fileName)
The location of the the json settings
loadDechallengeRechallengeAnalyses(saveDirectory)
loadDechallengeRechallengeAnalyses(fileName)
An directory location to save the results into
The file to save the results into.
loadRechallengeFailCaseSeriesAnalyses(saveDirectory)
loadRechallengeFailCaseSeriesAnalyses(fileName)
An directory location to save the results into
The file to save the results into.
loadTimeToEventAnalyses(saveDirectory)
loadTimeToEventAnalyses(fileName)
An directory location to save the results into
The file to save the results into.
saveAggregateCovariateAnalyses(result, saveDirectory)
saveAggregateCovariateAnalyses(result, fileName)
The output of running computeAggregateCovariateAnalyses()
An directory location to save the results into
The file to save the results into.
saveCharacterizationSettings(settings, saveDirectory)
saveCharacterizationSettings(settings, fileName)
An object of class characterizationSettings created using createCharacterizationSettings
The location to save the json settings
saveDechallengeRechallengeAnalyses(result, saveDirectory)
saveDechallengeRechallengeAnalyses(result, fileName)
The output of running computeDechallengeRechallengeAnalyses()
An directory location to save the results into
The file to save the results into.
saveRechallengeFailCaseSeriesAnalyses(result, saveDirectory)
saveRechallengeFailCaseSeriesAnalyses(result, fileName)
The output of running computeRechallengeFailCaseSeriesAnalyses()
An directory location to save the results into
The file to save the results into.
saveTimeToEventAnalyses(result, saveDirectory)
saveTimeToEventAnalyses(result, fileName)
The output of running computeTimeToEventAnalyses()
An directory location to save the results into
The file to save the results into.
R/ViewShiny.R
+ viewCharacterization.Rd
This is a shiny app for viewing interactive plots and tables
+viewCharacterization(resultLocation, cohortDefinitionSet = NULL)
The location of the results
The cohortDefinitionSet extracted using webAPI
Opens a shiny app for interactively viewing the results
+Input is the output of ...
+