-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.Rmd
110 lines (69 loc) · 2.51 KB
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
---
title: "Using cutting edge open-source tools to drill into clinical safety data"
subtitle: "A look into recent developments in Tplyr and safetyGraphics"
author: "Eli Miller, Atorus Research"
date: "4/13/2022"
output:
xaringan::moon_reader:
css: ['styles.css', 'fc','fc-fonts']
lib_dir: libs
nature:
highlightStyle: github
titleSlideClass: ["bottom", "left"]
slideNumberFormat: "%current%"
highlightLines: true
countIncrementalSlides: false
ratio: "16:9"
---
```{r setup, include=FALSE}
library(config)
```
## What is "metadata" in Tplyr?
.two-column[
.left-col[
`get_meta_result`
Get the value of a cell with the row_id and column
`get_meta_subset`
Get the dataset filtered based on the row and column selected.
`build(metadata = TRUE)`
Build a Tplyr table with metadata build in.
]
.right-col[
### What does this help us do?
- Traceability from summary to data - We don't lose the context when we create the table
- Interface for interactive elements - If you are building widgets or interactive elements, you can now know what data a user is trying to interact with
- Logic for filtering and relevant variables - Helper functions for extracting results and filtering data
]
]
---
## Why are you using safetyGraphics?
.center[
- A prebuilt framework for loading and mapping data - safetyGraphics has built in mapping options, but can be used to load data in any format
- Filtering widgets built in - Data can be filtered on the fly
- Extensible built in - Watch out for this to be included in the new release of Tplyr
- Under active development - Multiple teams are developing and improving graphics
]
---
## An example demo table
<iframe src="https://atorus-connect.eastus2.cloudapp.azure.com/content/72595d82-f89d-4e97-ab72-da70d490e9f8", height=85%, width=100%/>
---
## An example AE table
<iframe src="https://atorus-connect.eastus2.cloudapp.azure.com/content/e7b9c342-7f7f-4869-a9d3-03108704373b", height=85%, width=100%/>
---
## An example Renal Table
<iframe src="https://atorus-connect.eastus2.cloudapp.azure.com/content/011dfee9-97d7-4305-83c6-2c138b2f9cb7", height=85%, width=100%/>
---
## Now What?
.center[
1. Make the charts prettier and check with clinicians to make sure they are useful
2. Configure Tplyr so these charts ship by default and data can be swapped in
3. Send Tplyr off to CRAN
4. Get feedback from *you*
]
---
## Thank you to...
.center[
- Jeremy Wildfire (safetyGraphics)
- Matt Kumar (Proof-of-concept)
- Mike Stackhouse (Tplyr Metadata)
]