Analysis of pharmacokinetic (PK) data is concerned with defining the
relationship between the dosing regimen and the body's exposure to
drug as indicated by the concentration time curve to determine a dose.
To analyze PK data, there are three categories of packages within
CRAN: noncompartmental analysis (NCA), modeling (typically using
compartmental analysis), and reporting (typically for NCA).
NCA is used as method of description of PK with minimal assumptions of
the rates of distribution of the drug through the body. NCA is
typically used to describe the PK of a drug in clinical studies with
many samples per subject on the same and sequential days.
The NCA packages are:
-
ncappc
-
Performs traditional NCA and simulation-based posterior predictive checks for a population PK model using NCA metrics. It targets summarizing data from model-fit or simulated sources.
-
NonCompart
-
Provides basic computational functions for NCA.
-
PK
-
Allows estimation of pharmacokinetic parameters using non-compartmental theory. Both complete sampling and sparse sampling designs are implemented. The package provides methods for hypothesis testing and confidence intervals related to superiority and equivalence.
Modeling of PK data typically uses compartmental methods which assume
that the drug enters the body either through an intravenous (IV) or
extravascular (often oral or subcutaneous, SC) dose. Packages listed
below are restricted to packages that have specific interest to PK
modeling and not the (many) packages that support modeling that could
be used for PK data.
The PK modeling and simulation packages are:
-
cpk
-
Provides simplified clinical pharmacokinetic functions for dose regimen design and modification at the point-of-care.
-
dfpk
-
Provides statistical methods involving PK measures for dose finding in Phase 1 clinical trials.
-
mrgsolve
-
Facilitates simulation from hierarchical, ordinary differential equation (ODE) based models typically employed in drug development.
-
nmw
-
Is a package to understand the algorithms of NONMEM.
-
PKgraph
-
Provides a graphical user interface for population pharmacokinetic model diagnosis from a variety of modeling fitting software, including NONMEM, Monolix, SAS, and R.
-
PKPDmodels
-
Provides functions to evaluate common pharmacokinetic/pharmacodynamic models and their gradients.
-
RxODE
-
RxODE is an R package that facilitates simulation with ODE models in R. It is designed with pharmacometrics models in mind, but can be applied more generally to any ODE model.
-
scaRabee
-
Provides a framework for simulation and optimization of pharmacokinetic-pharmacodynamic models at the individual and population level.
Communication of results is as important (or more important) than
actually completing an analysis. While many users are currently using
rmarkdown and knitr for general reporting, the features of packages
which are important for reporting PK data are:
-
ncar
-
Provides NCA for a report writer generating rtf and pdf output.
-
pkr
-
Generates NCA data sets compliant to CDISC and other pharmacokinetic functions for reviewer.
-
PKreport
-
Provides automatic pipeline for users to visualize data and models with an archive-oriented management tool for users to store, retrieve and modify figures and graph generation based on lattice and ggplot2.