Xpose4
Model building aid for population analysis using NONMEM
Install / Use
/learn @UUPharmacometrics/Xpose4README
Xpose 4 <a href="https://uupharmacometrics.github.io/xpose4/"><img src="man/figures/xposelogo.png" align="right" /></a>
<!-- badges: start --> <!-- badges: end -->by Andrew C. Hooker, Mats O. Karlsson and E. Niclas Jonsson
Introduction
Xpose 4 is a collection of functions to be used as a model building aid for nonlinear mixed-effects (population) analysis using NONMEM. It facilitates data set checkout, exploration and visualization, model diagnostics, candidate covariate identification and model comparison.
Installation
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 command line:
install.packages("xpose4") -
Latest development version – from Github. Note that the command below installs the “master” (development) branch; if you want the release branch from Github add
ref="release"to theinstall_github()call.# install.packages("devtools") # if you don't have devtools installed devtools::install_github("UUPharmacometrics/xpose4")
Running Xpose 4
Start R and load xpose:
library(xpose4)
#> Loading required package: lattice
To use the classic menu system, type at the R command prompt:
xpose4()
Each function is independently available from the command line, once the Xpose library is loaded.
First we create a set of files from a NONMEM run
cur.files <- dir() # current files in temp directory
simprazExample() # write files from an example NONMEM run
new.files <- dir()[!(dir() %in% cur.files)] # the new files created by simprazExample
Then 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 be found
by typing (for example) ?xpose4 at the R command line.
Don’t Panic
Andrew Hooker (andrew.hooker at uu.se) should be able to get you an answer if you run into trouble.
The website https://uupharmacometrics.github.io/xpose4/ should also be of help.
If you are using the latest development version of the package the you can look at the development version of the website https://uupharmacometrics.github.io/xpose4/dev.
Release Schedule
Bugfix releases will be released regularly, fixing any problems that are found.
License
Xpose 4 is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details https://www.gnu.org/licenses/.
Known Bugs
None at present, but there will certainly be a few. Report them at https://github.com/UUPharmacometrics/xpose4/issues.
Related Skills
node-connect
348.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
