Skip to content

Commit

Permalink
Closes #70 pharmaverseadam update of ae templates (#93)
Browse files Browse the repository at this point in the history
Addresses portions of #70

---------

Signed-off-by: Zelos Zhu <[email protected]>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 27856297+dependabot-preview[bot]@users.noreply.github.com <27856297+dependabot-preview[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 14, 2024
1 parent 46459a6 commit b0ea5cc
Show file tree
Hide file tree
Showing 21 changed files with 16,119 additions and 1,726 deletions.
166 changes: 83 additions & 83 deletions tests/testthat/_snaps/table_aet01.md

Large diffs are not rendered by default.

280 changes: 148 additions & 132 deletions tests/testthat/_snaps/table_aet01_aesi.md

Large diffs are not rendered by default.

2,741 changes: 2,416 additions & 325 deletions tests/testthat/_snaps/table_aet02.md

Large diffs are not rendered by default.

45 changes: 22 additions & 23 deletions tests/testthat/_snaps/table_aet02_smq.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,32 @@
Code
res
Output
A: Drug X B: Placebo C: Combination
(N=134) (N=134) (N=132)
—————————————————————————————————————————————————————————————————————————————————————————————————————
Total number of patients with at least one adverse event 72 (53.7%) 79 (59.0%) 75 (56.8%)
SMQ01NAM
Total number of patients with at least one adverse event 72 (53.7%) 79 (59.0%) 75 (56.8%)
Overall total number of events 119 139 141
dcd B.2.2.3.1 48 (35.8%) 54 (40.3%) 51 (38.6%)
dcd C.1.1.1.3 43 (32.1%) 46 (34.3%) 43 (32.6%)
Xanomeline High Dose Placebo Xanomeline Low Dose
(N=84) (N=86) (N=84)
——————————————————————————————————————————————————————————————————————————————————————————————————————————————————
Total number of patients with at least one adverse event 11 (13.1%) 4 (4.7%) 5 (6.0%)
SMQ01NAM
Total number of patients with at least one adverse event 11 (13.1%) 4 (4.7%) 5 (6.0%)
Overall total number of events 22 6 9
VOMITING 7 (8.3%) 3 (3.5%) 3 (3.6%)
NAUSEA 6 (7.1%) 3 (3.5%) 3 (3.6%)

# AET02SMQ variant 2 is produced correctly

Code
res
Output
A: Drug X B: Placebo C: Combination
(N=134) (N=134) (N=132)
——————————————————————————————————————————————————————————————————————————————————————————————————————
Total number of patients with at least one adverse event 95 (70.9%) 103 (76.9%) 108 (81.8%)
CQ01NAM
Total number of patients with at least one adverse event 74 (55.2%) 80 (59.7%) 87 (65.9%)
Overall total number of events 126 134 162
dcd D.2.1.5.3 47 (35.1%) 58 (43.3%) 57 (43.2%)
dcd A.1.1.1.1 50 (37.3%) 45 (33.6%) 63 (47.7%)
SMQ01NAM
Total number of patients with at least one adverse event 72 (53.7%) 79 (59.0%) 75 (56.8%)
Overall total number of events 119 139 141
dcd B.2.2.3.1 48 (35.8%) 54 (40.3%) 51 (38.6%)
dcd C.1.1.1.3 43 (32.1%) 46 (34.3%) 43 (32.6%)
Xanomeline High Dose Placebo Xanomeline Low Dose
(N=84) (N=86) (N=84)
————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
Total number of patients with at least one adverse event 15 (17.9%) 10 (11.6%) 8 (9.5%)
SMQ01NAM
Total number of patients with at least one adverse event 11 (13.1%) 4 (4.7%) 5 (6.0%)
Overall total number of events 22 6 9
VOMITING 7 (8.3%) 3 (3.5%) 3 (3.6%)
NAUSEA 6 (7.1%) 3 (3.5%) 3 (3.6%)
CQ01NAM
Total number of patients with at least one adverse event 6 (7.1%) 7 (8.1%) 3 (3.6%)
Overall total number of events 9 8 4
HEADACHE 6 (7.1%) 7 (8.1%) 3 (3.6%)

Loading

0 comments on commit b0ea5cc

Please sign in to comment.