
by Andrew C. Hooker, Mats O. Karlsson and E. Niclas Jonsson
Xpose 4 is a collection of functions to be used as a model buildingaid for nonlinear mixed-effects (population) analysis using NONMEM. Itfacilitates data set checkout, exploration and visualization, modeldiagnostics, candidate covariate identification and modelcomparison.
To install xpose you will need R (>= version 2.2.0).
To install Xpose in R use one of the following methods:
latest stable release – From CRAN. Write at the R commandline:
install.packages("xpose4")Latest development version – from Github. Note that the commandbelow installs the “master” (development) branch; if you want therelease branch from Github addref="release" to theinstall_github() call.
# install.packages("devtools")devtools::install_github("UUPharmacometrics/xpose4")Start R and load xpose:
library(xpose4)#> Loading required package: latticeTo use the classic menu system, type at the R command prompt:
xpose4()Each function is independently available from the command line, oncethe Xpose library is loaded.
First we create a set of files from a NONMEM run
cur.files<-dir()# current files in temp directorysimprazExample()# write files from an example NONMEM runnew.files<-dir()[!(dir()%in% cur.files)]# the new files created by simprazExampleThen we can import our files to Xpose
xpdb<-xpose.data(1)Display goodness-of-fit plots:
basic.gof(xpdb)
Clean up files that were created to show these examples:
unlink(new.files)More help is available in the online documentation, which can befound by typing (for example)?xpose4 at the R commandline.
Andrew Hooker (andrew.hooker at farmaci.uu.se) should be able to getyou an answer if you run into trouble. The websitehttps://uupharmacometrics.github.io/xpose4/ should alsobe of help.
Bugfix releases will be released regularly, fixing any problems thatare found.
Xpose 4 is free software: you can redistribute it and/or modify itunder the terms of the GNU Lesser General Public License as published bythe Free Software Foundation, either version 3 of the License, or (atyour option) any later version.
This program is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU LesserGeneral Public License for more detailshttps://www.gnu.org/licenses/.
None at present, but there will certainly be a few. Report them athttps://github.com/UUPharmacometrics/xpose4/issues.