Giter VIP home page Giter VIP logo

popkinr's Introduction

CRAN status

popkinr

PopkinR is an R package aiming at facilitating the development of non-linear mixed effects models with NONMEM.

It contains interactive web-applications based on shiny for:

  • Post-processing of NONMEM runs results (PMXploit)
  • Launch of NONMEM runs and editing control files (PMXecute)
  • Exploration of NONMEM-like datasets (PMXplore)

Reference: PopkinR: a suite of Shiny applications focused on the pharmacometrics workflow presented at PAGE 2018

Installation

# Install the latest version from GitHub
# install.packages('devtools')

# Install pmxploit package first
devtools::install_github('pnolain/pmxploit')

# Install PopkinR
devtools::install_github('pnolain/popkinr')

Getting started with the applications

library(popkinr)

# PMXploit
nonmem_toolbox()
# PMXploit with VPC feature
nonmem_toolbox(nonmem_exe = "/path/to/nonmem/run/nmfe74",
               nmcheck_exe = "/path/to/nonmem/tr/NMTRAN.exe")

# PMXecute
nonmem_monitor(nonmem_exe = "/path/to/nonmem/run/nmfe74",
               nmcheck_exe = "/path/to/nonmem/tr/NMTRAN.exe",
               nonmem_parafile = "/path/to/nonmem/runfiles/mpilinux8.pnm")

# PMXecute (with PsN execute)
nonmem_monitor(nonmem_exe = "/usr/local/bin/execute",
               nonmem_call = "{nonmem_exe} {control_file} -nodes={n_nodes}",
               nmcheck_exe = "/path/to/nonmem/tr/NMTRAN.exe")

# PMXplore
dataset_exploration()

PMXploit popkinr::nonmem_toolbox

Together with the pmxploit package, brings interactivity to NONMEM runs post-processing analysis.

Dynamically generates corresponding R-code to most of the plots and tables provided by the application so it can be embedded in any R script.

library(popkinr)

# PMXploit
nonmem_toolbox()
# PMXploit with VPC feature
nonmem_toolbox(nonmem_exe = "/path/to/nonmem/run/nmfe74",
               nmcheck_exe = "/path/to/nonmem/tr/NMTRAN.exe")

pmxploit

PMXecute popkinr::nonmem_monitor

Application for launching and monitoring NONMEM runs on a local setup.

Provides control file generation functionalities for models with $PRIOR, $CHAIN processing or bootstrapping.

library(popkinr)

# PMXecute
nonmem_monitor(nonmem_exe = "/path/to/nonmem/run/nmfe74",
               nmcheck_exe = "/path/to/nonmem/tr/NMTRAN.exe",
               nonmem_parafile = "/path/to/nonmem/runfiles/mpilinux8.pnm")

# PMXecute (with PsN execute)
nonmem_monitor(nonmem_exe = "/usr/local/bin/execute",
               nonmem_call = "{nonmem_exe} {control_file} -nodes={n_nodes}",
               nmcheck_exe = "/path/to/nonmem/tr/NMTRAN.exe")

Gif preview...

PMXplore popkinr::dataset_exploration

Application for exploratory data analysis of NONMEM-like datasets.

Provides interactive visualizations and summaries of dependent variables, dosing regimens and covariates (distributions, longitudinal evolution) and dataset manipulation functionalities.

library(popkinr)

# PMXplore
dataset_exploration()

Gif preview...

popkinr's People

Contributors

combetr avatar pnolain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

popkinr's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.