nlmixr at WCoP 2022

R Docker nlmixr WCoP

The nlmixr development team presented a nlmixr course in Cape Town, South Africa, for WCoP 2022. Here’s how to get nlmixr up and running with the course materials.

Justin Wilkins https://www.occams.com
2022-04-14

WCoP in Cape Town

After a two-year delay thanks to the ongoing COVID-19 pandemic, we finally got to do WCoP in Cape Town. It was so worth the wait.

nlmixr at WCoP

We had a half-day course just before the conference proper, set up as an introduction to nlmixr as well as to adjacent pharmacometrics packages ggPMX and xgxr. Rik and I were in the room, but the course material itself was presented by Irina Baltcheva, Bruno Bieth, Matt Fidler and Fariba Khanshan as prerecorded video, since none of them were able to join us owing to ongoing travel restrictions. Let’s chalk it up as a learning experience, but a hybrid session like this is not something we’d want to do again.

But! The material, as ever, was great. You can watch the videos here:

As discussed in a previous blog post, nlmixr really lends itself to being Dockerized. So we’ve put together a Docker image with the latest versions of nlmixr, xgxr and ggPMX and all their support packages, the latest version of RStudio Server and all the trimmings. As before, you’ll need to enter this at the terminal prompt:

docker pull kestrel99/nlmixr:wcop2022

(Note the wcop2022 tag, which will get you the version with the course material.)

Now run it (all one line):

docker container run --rm -it -e PASSWORD=mypass -p 8787:8787 
      -v /c/MyProject:/home/rstudio/myproject kestrel99/nlmixr:wcop2022

This will load the image, which you can access through any web browser at http://localhost:8787. The password will be mypass, but you can set this to anything you like at startup. The /c/MyProject part of the command refers to a local folder (if you’re on Windows, this points to C:\MyProject) that will be made available to the image so that you can share files with it.

Enjoy, and let us know if you run into any issues with it! We have a variety of nlmixr images at Docker Hub.

References

Corrections

If you see mistakes or want to suggest changes, please create an issue on the source repository.

Citation

For attribution, please cite this work as

Wilkins (2022, April 14). Numetrics: nlmixr at WCoP 2022. Retrieved from https://numetric.ai/posts/2022-04-14-nlmixr-at-wcop-2022/

BibTeX citation

@misc{wilkins2022nlmixr,
  author = {Wilkins, Justin},
  title = {Numetrics: nlmixr at WCoP 2022},
  url = {https://numetric.ai/posts/2022-04-14-nlmixr-at-wcop-2022/},
  year = {2022}
}