You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tlg/pharmacokinetic.qmd
+37-25Lines changed: 37 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -24,11 +24,11 @@ The packages used with a brief description of their purpose are as follows:
24
24
25
25
See catalog for PK TLGs here [PK TLG catalog](https://insightsengineering.github.io/tlg-catalog/stable/)
26
26
27
-
## Load Data and Required pharmaverse Package
27
+
See the [`{admiral}` Guide for createing a PK NCA](https://pharmaverse.github.io/admiral/articles/pk_adnca.html) for more information about the structure of `ADPC`. See also `ADPC` under the ADaM section on the left panel.
28
28
29
-
After installation of packages, the first step is to load our pharmaverse packages and input data. Here, we are going to encode missing entries in a data frame `adsl` and `adpc`.
29
+
## Data preprocessing
30
30
31
-
Note that `{tern}` depends on `{rtables}` so the latter is automatically attached.
31
+
Here we set up the data for the table, graph and listing. We will read `ADPC` and `ADSL` from `{pharmaverseadam}`. We use `tern::df_explicit_na()` to set missing values as categorical. In `ADPC` we will keep only concentration records (dropping dosing records), and for this example we will only keep plasma concentrations (dropping urine). The `ADPC` data also includes duplicated records for analysis with `DYTPE == "COPY"` we will drop these as well (These are removed by selecting `ANL02FL == "Y"`).
0 commit comments