Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
iglauss committed Dec 11, 2024
1 parent d3a8511 commit 88b7696
Show file tree
Hide file tree
Showing 13 changed files with 77 additions and 28 deletions.
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ Suggests:
testthat (>= 3.2.1)
Config/testthat/edition: 3
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
Remotes: boehringer-ingelheim/[email protected]
VignetteBuilder: knitr

1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export("%>%")
export(default_basic_info)
export(default_drug_admin)
export(default_mapping)
export(mock_clinical_timelines_app)
export(mock_with_mm_app)
export(mod_clinical_timelines)
export(mod_clinical_timelines_UI)
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Allow for customized color palettes.
* Use dv.manager's switch2mod() instead of deprecated switch2() function.
* Export mock app.
* Fix error occurring in case only timepoints (i.e., no intervals) are specified.

# dv.clinlines 1.0.4

Expand Down
2 changes: 1 addition & 1 deletion R/mock_clinical_timelines.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mock_clinical_timelines_UI <- function(id = NULL) { # nolint

ui <- shiny::fluidPage(
theme = bslib::bs_theme(version = "4"),
shiny::tags$h1("BI Clinical Timelines", class = "mod-title"),
shiny::tags$h1("DaVinci's Clinical Timelines Module", class = "mod-title"),
mod_clinical_timelines_UI(
ns("clin_tl"),
list("serious_ae_var", "soc_var", "pref_term_var", "drug_rel_ae_var")
Expand Down
17 changes: 17 additions & 0 deletions man/check_valid_color.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/color_lookup.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified man/figures/clin-tl_main_view.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion man/mock_with_mm_app.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 15 additions & 5 deletions man/mod_clinical_timelines.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 15 additions & 5 deletions man/mod_clinical_timelines_server.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 8 additions & 5 deletions man/prep_data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 11 additions & 7 deletions man/set_drug_admin.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion vignettes/clinlines.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,12 @@ Optional parameters of `mod_clinical_timelines()` are:

- `filter`: Defaults to `NULL`, which means no local filters for adverse event data will be offered within the module. Filters can be activated by providing their names through a list (see `vignette("ae-filter")`).

- `receiver_id`: Character string defining the ID of the module to which to send a subject ID. The corresponding module must exist in the module list. The default is NULL which disables communication. See `vignette("communication")` for further information.
- `receiver_id`: Optional character string defining the ID of the module to which to send a subject ID. The corresponding module must exist in the module list. The default is NULL which disables communication. See `vignette("communication")` for further information.

- `default_plot_settings`: An optional named list containing three elements: `x_param` defines if the x axis shows the date or study days as default setting at app launch, `start_day` indicates the lower x-axis limit in case of study day display at app launch, and `boxheight_val` defines the initial height of the individual timeline plot boxes at app launch.

- `color_palette`: An optional named vector that allows customizing the colors for drawing events or intervals.


An illustrative definition of a module list (containing only a Clinical Timelines module with only mandatory parameters) is shown below:

Expand Down

0 comments on commit 88b7696

Please sign in to comment.