Skip to content

Releases: darwin-eu-dev/TreatmentPatterns

v2.6.9

24 Sep 10:54
Compare
Choose a tag to compare
  • Disabled tests when required suggested packages are not available.
  • Updated examples to only run when required suggested packages are available.

What's Changed

Full Changelog: v2.6.0...v2.6.9

v2.6.8

30 Aug 07:22
Compare
Choose a tag to compare
  • Updated some tests to work with later versions of omopgenerics.
  • Fixed issue with where combinations sometimes got miss-classified.
  • Fixed issue when event starts and ends on end-date of target.
  • Fixed issue when collapsing events when there is also a combination, when filterTreatments = "All".
  • Added check in tests to only run if packages are availible. (noSuggests, M1).
  • createSankeyDiagram() now supports pathways over 3 levels long.

Closed the following issues:
#242
#239
#241

v2.6.7

24 May 08:34
8bc9ee1
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.6.6...v2.6.7

v2.6.6

17 Apr 08:06
8bc9ee1
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.6.5...2.6.6

v2.6.5

20 Feb 09:02
8bc9ee1
Compare
Choose a tag to compare

TreatmentPatterns 2.6.5

  • Removed stringi, rjson, and googleVis as dependencies.
  • Fixed unit tests that had dummy data outside of observation data.
  • Fix for complex edge-case paths with re-occuring treatments.
  • Added unit tests for edge-cases.
  • Added warning when minEraDuration > minPostCombinationWindow or combinationWindow.
  • Fixed issue when filterTreatments was set to "changes", age and sex columns were dropped from output.
  • datatypes of cohort_table are now checked.

v2.6.4

29 Jan 12:01
8bc9ee1
Compare
Choose a tag to compare
  • Fixed issue with minPostCombinationWindow broken by the fix for re-occurring treatments.
  • Added unit tests for minPostCombinationWindow.

v2.6.3

26 Jan 09:19
8bc9ee1
Compare
Choose a tag to compare

TreatmentPatterns 2.6.3

  • Fixed issue where there were duplicate rows in the exported treatmentPathways.csv file.
  • Added more comprehensive description for parameter ageWindow for export().
  • Added additional tests validating the counts per pathway being exported by export().
  • Fixed issue with re-occurring treatments in pathways.
  • Added dedicated logical tests for various pathways.
  • Added dedicated tests for target-event cohort overlaps.
  • Fixed spelling error in outputs, and interaction with them in shiny module.

v2.6.2

13 Dec 15:30
8bc9ee1
Compare
Choose a tag to compare

TreatmentPatterns 2.6.2

  • Fixed spelling mistake 'summaryStatsTherapyDuraion' to 'summaryStatsTherapyDuration'.
  • Added error when only one level of data is available in the data when computing a sankey diagram.
  • Removed createSankeyDiagram
  • Renamed createSankeyDiagram2 to createSankeyDiagram
  • Removed createSunburstPlot
  • Renamed createSunburstPlot2 to createSunburstPlot
  • Fixed issue where target cohorts had to be at least 1 day long to be included when using DatabaseConnector.
  • Fixed CRAN error when running examples.
  • Renamed cellCount to minCellCount in export documentation.
  • Fixed issue where counts of pathways were not computed correctly.
  • Fixed spelling error summaryStatsTherapyDuraion to summaryStatsTherapyDuration.
  • Fixed issue in export where merging two tables could fail, if one was empty.

v2.6.1

12 Dec 10:35
8bc9ee1
Compare
Choose a tag to compare
  • Bumped minimum R version to R 4.2
  • Updated to use DATEDIFF to compute difference between dates when fetching data from the database when using DatabaseConnector.
    (Made some parameters ambiguous for createSankeyDiagram2 and createSunburstPlot2() for more control over the figures (colors, legend width, etc.).
  • Removed addNoPath parameter. 'None' paths are always included.
  • Renamed minFreq parameter to minCellCount.
  • Added Shiny app with exported module classes (See documentation on how to use these modules).
  • Added censoring options of treatment pathways falling below the minCellCount.
  • Significantly improved performance of export().
  • 'None' paths are now also represented in the strata of age / sex / index year.
  • Age groups are now inline with other DARWIN packages, meaing age group 0-18 now includes 18 year olds, and 18-25 included 19 year olds and 25 year olds.

v2.6.0

13 Nov 11:49
8bc9ee1
Compare
Choose a tag to compare
  • Added createSunburstPlot2() as a replacement of createSunburstPlot(). createSunburstPlot2() will fully replace createSunburstPlot() in a future version.
  • Moved DatabaseConnector and SqlRender to Suggests
  • Removed obsolete dependencies: data.table, fs, and glue.
  • Internal performance updates.
  • Internal code style updates.
  • Moved basic filtering when fetching cohort table.
  • Updated ReadMe with functionalities
  • Internal updates to LRFS paths, to allow paths of identical duration.