Skip to content

Commit

Permalink
og 0.4 and visomop 0.5 compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
edward-burn committed Nov 24, 2024
1 parent ea30962 commit 23a055e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Imports:
dplyr,
glue,
magrittr,
omopgenerics (>= 0.2.1),
omopgenerics (>= 0.4.0),
PatientProfiles (>= 1.2.0),
purrr,
rlang,
Expand Down
Binary file modified data/benchmarkData.rda
Binary file not shown.
5 changes: 3 additions & 2 deletions vignettes/a11_benchmark.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ library(tidyr)
library(gt)
library(scales)
library(CohortConstructor)
library(gt)
niceOverlapLabels <- function(labels) {
new_labels <- gsub("_", " ", gsub(" and.*|cc_", "", labels))
Expand Down Expand Up @@ -213,7 +214,7 @@ The table below depicts the total time it took to create the nine cohorts when u
```{r}
header_prefix <- "[header]Time by tool (minutes)\n[header_level]"
benchmarkData$time_domain |>
gtTable(colsToMergeRows = "all_columns") |>
formatTable() |>
tab_style(style = list(cell_fill(color = "#e1e1e1"), cell_text(weight = "bold")),
locations = cells_column_labels()) |>
tab_style(style = list(cell_text(weight = "bold")),
Expand All @@ -226,7 +227,7 @@ Cohorts are often stratified in studies. With Atlas cohort definitions, each str

```{r}
benchmarkData$time_strata |>
gtTable(colsToMergeRows = "all_columns") |>
formatTable() |>
tab_style(style = list(cell_fill(color = "#e1e1e1"), cell_text(weight = "bold")),
locations = cells_column_labels()) |>
tab_style(style = list(cell_text(weight = "bold")),
Expand Down

0 comments on commit 23a055e

Please sign in to comment.