Releases: darwin-eu-dev/TreatmentPatterns
Releases · darwin-eu-dev/TreatmentPatterns
v2.6.9
- Disabled tests when required suggested packages are not available.
- Updated examples to only run when required suggested packages are available.
What's Changed
- Rc by @mvankessel-EMC in #245
Full Changelog: v2.6.0...v2.6.9
v2.6.8
- 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.
v2.6.7
What's Changed
- Dev by @mvankessel-EMC in #237
- Rc by @mvankessel-EMC in #238
Full Changelog: 2.6.6...v2.6.7
v2.6.6
What's Changed
- Validate input by @mvankessel-EMC in #224
- Removed PathwayConsturctor class by @mvankessel-EMC in #225
- Split interactive plots into sunburst and sankey by @mvankessel-EMC in #226
- Updated regex for groupCombinations by @mvankessel-EMC in #228
- Fix replace statements for special characters by @mvankessel-EMC in #231
- Allow named list for colors by @mvankessel-EMC in #232
- Dev by @mvankessel-EMC in #233
- CRAN sync by @mvankessel-EMC in #234
Full Changelog: 2.6.5...2.6.6
v2.6.5
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
orcombinationWindow
. - 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
- Fixed issue with minPostCombinationWindow broken by the fix for re-occurring treatments.
- Added unit tests for minPostCombinationWindow.
v2.6.3
TreatmentPatterns 2.6.3
- Fixed issue where there were duplicate rows in the exported treatmentPathways.csv file.
- Added more comprehensive description for parameter
ageWindow
forexport()
. - 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
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
tocreateSankeyDiagram
- Removed
createSunburstPlot
- Renamed
createSunburstPlot2
tocreateSunburstPlot
- 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
tominCellCount
in export documentation. - Fixed issue where counts of pathways were not computed correctly.
- Fixed spelling error
summaryStatsTherapyDuraion
tosummaryStatsTherapyDuration
. - Fixed issue in
export
where merging two tables could fail, if one was empty.
v2.6.1
- 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
- Added
createSunburstPlot2()
as a replacement ofcreateSunburstPlot()
.createSunburstPlot2()
will fully replacecreateSunburstPlot()
in a future version. - Moved
DatabaseConnector
andSqlRender
to Suggests - Removed obsolete dependencies:
data.table
,fs
, andglue
. - 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.