Advertisement

The AAPS Journal

, 20:52 | Cite as

PharmTeX: a LaTeX-Based Open-Source Platform for Automated Reporting Workflow

  • Christian Hove RasmussenEmail author
  • Mike K. Smith
  • Kaori Ito
  • Vijayakumar Sundararajan
  • Mats O. Magnusson
  • E. Niclas Jonsson
  • Luke Fostvedt
  • Paula Burger
  • Lynn McFadyen
  • Thomas G. Tensfeldt
  • Timothy Nicholas
Research Article

Abstract

Every year, the pharmaceutical industry generates a large number of scientific reports related to drug research, development, and regulatory submissions. Many of these reports are created using text processing tools such as Microsoft Word. Given the large number of figures, tables, references, and other elements, this is often a tedious task involving hours of copying and pasting and substantial efforts in quality control (QC). In the present article, we present the LaTeX-based open-source reporting platform, PharmTeX, a community-based effort to make reporting simple, reproducible, and user-friendly. The PharmTeX creators put a substantial effort into simplifying the sometimes complex elements of LaTeX into user-friendly functions that rely on advanced LaTeX and Perl code running in the background. Using this setup makes LaTeX much more accessible for users with no prior LaTeX experience. A software collection was compiled for users not wanting to manually install the required software components. The PharmTeX templates allow for inclusion of tables directly from mathematical software output as well and figures from several formats. Code listings can be included directly from source. No previous experience and only a few hours of training are required to start writing reports using PharmTeX. PharmTeX significantly reduces the time required for creating a scientific report fully compliant with regulatory and industry expectations. QC is made much simpler, since there is a direct link between analysis output and report input. PharmTeX makes available to report authors the strengths of LaTeX document processing without the need for extensive training.

Graphical Abstract

Key Words

drug development latex pharmacometrics report automation reproducible reporting 

Notes

Compliance with Ethical Standards

Conflict of Interest

Christian Hove Rasmussen is employed at Certara Strategic Consulting and was previously employed at Pfizer. Timothy Nicholas, Mike K. Smith, Luke Fostvedt, Paula Burger, Lynn McFadyen, and Thomas G. Tensfeldt are employed at Pfizer. Vijayakumar Sundararajan is employed at Ridgeback Solutions and has supported Pfizer on a commercial basis. Mats O. Magnusson and E. Niclas Jonsson are employed at Pharmetheus and have supported Pfizer on a commercial basis. Kaori Ito is employed at Applied Pharmacometrics and Research and was previously employed at Pfizer.

Supplementary material

12248_2018_202_MOESM1_ESM.pdf (856 kb)
ESM 1 (PDF 855 kb)
12248_2018_202_MOESM2_ESM.pdf (1.5 mb)
ESM 2 (PDF 1577 kb)

References

  1. 1.
    Baumer B, Cetinkaya-Rundel M, Bray A, Loi L, Horton NJ. R markdown: integrating a reproducible analysis tool into introductory statistics. arXiv preprint arXiv. 1894, 2014;1402Google Scholar
  2. 2.
    Dauchy, A., Guennec, S.L.: Professional outputs with ODS LATEX. In: Proceedeings of the 2008 Pharmaceutical Users Software Exchange (PhUSE) Conference, vol. TU04 (2008). URL http://www.lexjansen.com/phuse/2008/tu/TU04.pdf
  3. 3.
    Gentleman R, Temple Lang D. Statistical analyses and reproducible research. J Comput Graph Stat. 2007;16(1):1–23. http://biostats.bepress.com/bioconductor/paper2.CrossRefGoogle Scholar
  4. 4.
    Lamport L. LATEX: a document preparation system: user’s guide and reference manual. Addison- Wesley. 1994;Google Scholar
  5. 5.
    Leisch, F.: Sweave. Dynamic generation of statistical reports using literate data analysis. Proceedings in Computational Statistics (2002). URL http://users.stat.umn.edu/~geyer/Sweave
  6. 6.
    Perttola, J.P.: SAS and latex—a perfect match? In: Proceedings of the 2008 Pharmaceutical Users Software Exchange (PhUSE) Conference, vol. TS06 (2008). URL http://www.lexjansen.com/phuse/2008/ts/ts06.pdf
  7. 7.
    Wilkins, J.J., Jonsson, E.N.: Reproducible pharmacometrics. In: Tutorial at the 2013 Population Approach Group in Europe (PAGE) meeting (2013). URL https://www.page-meeting.org/default.asp?abstract=2774
  8. 8.
    Xie, Y.: knitr: a general-purpose tool for dynamic report generation in r. R package version 1(1) (2013). URL https://yihui.name/knitr

Copyright information

© American Association of Pharmaceutical Scientists 2018

Authors and Affiliations

  • Christian Hove Rasmussen
    • 1
    Email author
  • Mike K. Smith
    • 2
  • Kaori Ito
    • 3
  • Vijayakumar Sundararajan
    • 4
  • Mats O. Magnusson
    • 5
  • E. Niclas Jonsson
    • 5
  • Luke Fostvedt
    • 6
  • Paula Burger
    • 7
  • Lynn McFadyen
    • 2
  • Thomas G. Tensfeldt
    • 7
  • Timothy Nicholas
    • 7
  1. 1.Certara Strategic ConsultingBaselSwitzerland
  2. 2.PfizerSandwichUK
  3. 3.Applied Pharmacometrics and ResearchMysticUSA
  4. 4.Ridgeback SolutionsCantonUSA
  5. 5.PharmetheusUppsalaSweden
  6. 6.PfizerSan DiegoUSA
  7. 7.PfizerGrotonUSA

Personalised recommendations