Skip to content

InsightRX/PKPDmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PKPDmap

MAP Bayesian and non-parametric data fitting for PK(PD) models.

Description

This R library implements various methods for fitting of individual PK(PD) data. For simulation of PK(PD) profiles it uses the PKPDsim package. The following estimation methods are implemented and available in the get_map_estimates function:

  • map: MAP Bayesian: standard maximum a priori estimation of empirical Bayes estimates
  • map_flat_prior: MAP Bayesian with flat prior: reduced weight of prior distribution, i.e. will put more trust in the data and hence reduce shrinkage (user can control the weighting).
  • ls: Least Squares: not truly least squares but rather special case of MAP Bayesian with flat priors, i.e. with (almost) fully flat prior.
  • np: non-parametric estimation. Performs non-parametric estimation based on user-specified parameter matrix of previously studied subjects.
  • np_hybrid: hybrid MAP and non-parametric extended grid. Will first perform standard MAP estimation (potentially with flattened prior), and subsequently perform non-parametric estimation on grid of support points around MAP estimates.

Installation

The development version of PKPDmap always has the most up-to-date improvements and bug fixes. We aim to release PKPDmap on CRAN soon as well.

The development version of PKPDsim can be installed using:

devtools::install_github("InsightRX/PKPDmap")

Contributing

We welcome input from the community:

  • If you think you have encountered a bug, please submit an issue on the GitHub page. Please include a reproducible example of the unexpected behavior.

  • Please open a pull request if you have a fix or updates that would improve the package. If you're not sure if your proposed changes are useful or within scope of the package, feel free to contact one of the authors of this package.

Disclaimer

The functionality in this R package is provided "as is". While its authors adhere to software development best practices, the software may still contain unintended errors.

InsightRX Inc. and the authors of this package can not be held liable for any damages resulting from any use of this software. By the use of this software package, the user waives all warranties, expressed or implied, including any warranties to the accuracy, quality or suitability of InsightRX for any particular purpose, either medical or non-medical.

© InsightRX logo