Skip to content

Commit

Permalink
add the vignette route_of_administration
Browse files Browse the repository at this point in the history
  • Loading branch information
levenc committed Jul 28, 2024
1 parent 7d31697 commit 302ab75
Show file tree
Hide file tree
Showing 34 changed files with 462 additions and 30 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

## Documentation
* The README illustrates a simple example of dose adaptation
* `vignette("route_of_administration")` shows how to select a route of administration for optimal dosing

# posologyr v1.2.4

Expand Down
10 changes: 5 additions & 5 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ therapeutic drug monitoring, or TDM) and a population pharmacokinetic model, `po

Individual pharmacokinetic (PK) profiles can be estimated with or without data from therapeutic drug monitoring (TDM):

+ `poso_estim_map()` computes the Maximum A Posteriori Bayesian Estimates(MAP-BE) of the individual PK parameters from the results of TDM
+ `poso_estim_map()` computes the Maximum A Posteriori Bayesian Estimates (MAP-BE) of the individual PK parameters from the results of TDM
+ `poso_simu_pop()` samples from the the a priori distributions of PK parameters

`posologyr` takes advantage of the simulation framework provided by the
Expand Down Expand Up @@ -139,25 +139,25 @@ We will optimize the gentamicin dosage for this patient to meet two criteria:
+ A peak concentration of 35 mg/L, 30 minutes after a 30-minute infusion.
+ A trough concentration of less than 0.5 mg/L.

The time required to reach a residual concentration of 0.5 mg/L can be estimated as follows
The time required to reach a residual concentration of 0.5 mg/L can be estimated as follows:

```{r}
poso_time_cmin(patient_data,mod_gentamicin_Xuan2003,tdm=TRUE,
target_cmin = 0.5)
```

The dose required to achieve our target concentration can then be determined for an infusion at H48
The dose required to achieve our target concentration can then be determined for an infusion at H48.

```{r}
poso_dose_conc(patient_data,mod_gentamicin_Xuan2003,tdm=TRUE,
target_conc = 35,time_dose = 48,time_c = 49)
```

In conclusion, to meet our 2 criteria, a dose of 760 mg 48 h after the first injection would be appropriate.
In conclusion a dose of 760 mg 48 h after the first injection would be appropriate to meet our 2 criteria.

More examples can be found at: https://levenc.github.io/posologyr/

## Performance of the MAP-EBE algorithm in posologyr
## Performance of the MAP-BE algorithm in posologyr
`posologyr` showed comparable performance to NONMEM MAP estimation with option `MAXEVAL=0`:

* Pharmaceutics **2022**, 14(2), 442; [doi:10.3390/pharmaceutics14020442](https://doi.org/10.3390/pharmaceutics14020442)
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Individual pharmacokinetic (PK) profiles can be estimated with or
without data from therapeutic drug monitoring (TDM):

- `poso_estim_map()` computes the Maximum A Posteriori Bayesian
Estimates(MAP-BE) of the individual PK parameters from the results of
Estimates (MAP-BE) of the individual PK parameters from the results of
TDM
- `poso_simu_pop()` samples from the the a priori distributions of PK
parameters
Expand Down Expand Up @@ -150,7 +150,7 @@ criteria:
- A trough concentration of less than 0.5 mg/L.

The time required to reach a residual concentration of 0.5 mg/L can be
estimated as follows
estimated as follows:

``` r
poso_time_cmin(patient_data,mod_gentamicin_Xuan2003,tdm=TRUE,
Expand All @@ -172,7 +172,7 @@ poso_time_cmin(patient_data,mod_gentamicin_Xuan2003,tdm=TRUE,
```

The dose required to achieve our target concentration can then be
determined for an infusion at H48
determined for an infusion at H48.

``` r
poso_dose_conc(patient_data,mod_gentamicin_Xuan2003,tdm=TRUE,
Expand All @@ -193,12 +193,12 @@ poso_dose_conc(patient_data,mod_gentamicin_Xuan2003,tdm=TRUE,
#> 3 0.08904752 -0.04838936 38 63
```

In conclusion, to meet our 2 criteria, a dose of 760 mg 48 h after the
first injection would be appropriate.
In conclusion a dose of 760 mg 48 h after the first injection would be
appropriate to meet our 2 criteria.

More examples can be found at: <https://levenc.github.io/posologyr/>

## Performance of the MAP-EBE algorithm in posologyr
## Performance of the MAP-BE algorithm in posologyr

`posologyr` showed comparable performance to NONMEM MAP estimation with
option `MAXEVAL=0`:
Expand Down
1 change: 1 addition & 0 deletions docs/404.html

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

1 change: 1 addition & 0 deletions docs/LICENSE.html

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

4 changes: 2 additions & 2 deletions docs/articles/a_posteriori_dosing.html

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

1 change: 1 addition & 0 deletions docs/articles/a_priori_dosing.html

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

4 changes: 2 additions & 2 deletions docs/articles/auc_based_dosing.html

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

3 changes: 3 additions & 0 deletions docs/articles/index.html

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

4 changes: 2 additions & 2 deletions docs/articles/multiple_endpoints.html

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

1 change: 1 addition & 0 deletions docs/articles/patient_data_input.html

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

7 changes: 3 additions & 4 deletions docs/articles/posologyr_user_defined_models.html

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

Loading

0 comments on commit 302ab75

Please sign in to comment.