PKSolver: An add-in program for pharmacokinetic and pharmacodynamic data analysis in Microsoft Excel

https://doi.org/10.1016/j.cmpb.2010.01.007Get rights and content

Abstract

This study presents PKSolver, a freely available menu-driven add-in program for Microsoft Excel written in Visual Basic for Applications (VBA), for solving basic problems in pharmacokinetic (PK) and pharmacodynamic (PD) data analysis. The program provides a range of modules for PK and PD analysis including noncompartmental analysis (NCA), compartmental analysis (CA), and pharmacodynamic modeling. Two special built-in modules, multiple absorption sites (MAS) and enterohepatic circulation (EHC), were developed for fitting the double-peak concentration–time profile based on the classical one-compartment model. In addition, twenty frequently used pharmacokinetic functions were encoded as a macro and can be directly accessed in an Excel spreadsheet. To evaluate the program, a detailed comparison of modeling PK data using PKSolver and professional PK/PD software package WinNonlin and Scientist was performed. The results showed that the parameters estimated with PKSolver were satisfactory. In conclusion, the PKSolver simplified the PK and PD data analysis process and its output could be generated in Microsoft Word in the form of an integrated report. The program provides pharmacokinetic researchers with a fast and easy-to-use tool for routine and basic PK and PD data analysis with a more user-friendly interface.

Introduction

Analysis of drug concentration–time or drug effect-concentration data plays an important role in pharmacokinetic (PK) and pharmacodynamic (PD) research. Tedious mathematical calculations, optimization algorithms, and graph plotting are essential for pharmacokinetic data analysis. To streamline such analyses, various software packages have been developed and marketed. More often than not, many of these commercially available packages, such as WinNonlin and Kinetica, are expensive or have a steep learning curve. Therefore, it is worthwhile exploring the possibility of cost-effective and easy-to-use alternatives for PK/PD analysis.

Microsoft Excel has been widely used by scientists for data collection, calculation, and analysis. While custom designed spreadsheet templates can be easily built, sophisticated and highly customizable macros can also be compiled using Excel Visual Basic for Applications (VBA). Several templates and add-in programs have already been developed for biological and medicinal applications [1], [2], [3], [4]. In pharmaceutical science, Excel has been adopted for pharmacokinetic data analysis such as noncompartmental analysis (NCA) calculation [5], [6], nonlinear fitting analysis [7], complex pharmacokinetic model simulation [8], bioavailability/bioequivalence (BA/BE) simulation [9], in vitro/in vivo correlation (IVIVC) analysis [10], [11] and modeling of quantitative structure–pharmacokinetic relationships [12]. However, some of these programs have only a few NCA calculation functions [5], [6] or were built as predetermined spreadsheet templates limiting data input in specified ranges as well as the amount of data. These data sets are usually paired concentration–time data and often have limited data sets (for example, “up to 30 plasma samples” [7]); thus, most of these programs lack flexibility. Moreover, according to previous reports [13], [14], it is time-consuming to perform a step-by-step nonlinear fitting because only a single set data can be fitted using Excel's SOLVER each time. Additionally, PK models for analyzing double-peak concentration–time data are rarely embedded in popular, commercially available packages. Thus it is highly desirable to have these models coded as an add-in program with user-friendly interface, predefined menus and forms for easy recall.

In this study, a VBA program, PKSolver, was developed for a range of applications for PK/PD data analysis including: (1) noncompartmental analysis for plasma data after extravascular administration, IV bolus injection, and IV infusion; (2) compartmental modeling of concentration–time data; (3) compartmental model analysis for double-peak concentration–time curves; (4) modeling of pharmacodynamic data; and (5) twenty frequently used pharmacokinetic functions that can be invoked within an open spreadsheet. Last, but not least, all the features mentioned above can be programmed to run in batches and can subsequently generate integrated report in MS Word documents with only a few simple operations.

Section snippets

Computational methods

Because of journal space restrictions, a detailed description of frequently used PK compartmental models and PD models is beyond the scope of this article. Only certain special computational strategies are listed.

Interface and flowchart

Once the add-in program has been installed, a pull-down PKSolver menu appears in the menu bar when Excel is launched. As shown in Fig. 3, users may select a module of interest from the menu and input time and concentration data by simply drag-selecting a range of cells in the spreadsheet and then setting calculation options interactively. The PKSolver program provides many customizable options for PK/PD modeling, including optimization algorithms, initial values, fitting weight, and chart and

Sample program runs

Validation of a newly developed program is an important aspect of its acceptability. For this purpose, we compared the results of PKSolver with the professional PK/PD software packages WinNonlin (Pharsight, Mountain View, USA) and Scientist (Micromath, Saint Louis, USA) using two sample data sets from a published book.

Conclusion and specification

In this study, a menu-driven program for PK/PD data analysis in MS Excel was developed. PKSolver was much more flexible than those programs tailored as spreadsheet templates that limit data input in specified ranges, as well as the amount of data. Abundant calculation options were provided in all the modules, an advantage that cannot be provided by a spreadsheet template-style tool. The flexibility of PKSolver was demonstrated by the 20 NCA PK functions embedded in the program and used directly

Conflicts of interest

The authors claim no conflicts of interest.

Acknowledgments

The authors wish to thank Dr. Fang He (University of Pittsburgh, USA), Dr. Bhaskara R. Jasti (University of the Pacific, USA), and Dr. David L. Armbruster (The University of Tennessee Health Sciences Center, USA) for their kind editorial help in revising the English of this article. The authors thank partial financial support from Ministry of Science and Technology of the People's Republic of China under project 2009ZX09310-004.

References (23)

Cited by (0)

1

These authors contributed equally to this work.

View full text