Recap: Exploring Clinical Submissions with admiral: An R-Based ADaM Solution with Ben Straub
![](https://cdn.prod.website-files.com/654fd3ad88635290d9845b9e/667c3385de2b4134ae84a533_SGxPharmaverse%20(1).jpg)
Have you been looking for a more efficient way to create ADaM (Analysis Data Model) datasets for your clinical trial submissions? Look no further than Admiral, an open-source R package.
In our latest Shiny Gathering, hosted in collaboration with Pharmaverse, featured Ben Straub, Principal Programmer at GSK and one of the maintainers of the package.
Collaborative projects led by pharmaceutical companies are propelling advancements in research. Explore R Packages for Clinical Trial Data in our blog post.
Ben shared his insights and expertise on the admiral R package, highlighting its utility for creating ADaM datasets in clinical submissions. Here’s a quick overview of the session for those who missed it.
The Admiral Package: An Overview
![](https://cdn.prod.website-files.com/654fd3ad88635290d9845b9e/667c2f170c822d7d8ce1cba9_AD_4nXfewubc2y9qVU-j8rU2ijEexk3wq4CwkBs1_ew0Z7sYCtbpvUrtTagcdbbMS6SDgdYw0VmMpKlgxY30Zhg8Srh42gsR0XuopQdcihhlegFTe8OFNIF1C7mtkqd6r19uWO9zZUIH95wny6C-Zt_ug6GugdJs.png)
Admiral is an R package designed to facilitate the creation of ADaM datasets, a critical component in clinical drug submissions. Ben walked through the package’s history, its alignment with CDISC standards, and its collaborative development involving multiple pharmaceutical companies.
Watch the Video
Key Features of Admiral
![](https://cdn.prod.website-files.com/654fd3ad88635290d9845b9e/667c2f18ce773e277736f19a_AD_4nXcYfojvUR7R6CuHsBa8MqhKI8Cs_SWJVAKAs6qyn0Jsxn4WlNAZqth-DPc_W85OOuBbUPNazd1Ma3Mc9kIfYfn0O4v8NttexwKYsAMvPTDf5Gm5qPlP5_xvsUfeCNbU6pOpDbxG4VoecNXNkouLPGtcJ2sH.png)
- Modular Functions: Admiral offers modular functions for adding variables and records to datasets. This modularity simplifies the process of constructing ADaM datasets, making it easier to follow and less prone to errors.
- Documentation and Examples: The package includes extensive documentation and examples, aiding users in understanding and utilizing its functions effectively.
- Unit Testing: Admiral incorporates unit testing to ensure code reliability, crucial in the highly regulated pharmaceutical industry.
- GitHub Integration: The package leverages GitHub for collaborative development, with features like issue tracking, pull requests, and continuous integration ensuring high-quality code and documentation.
Practical Demonstration
Ben provided a practical demonstration of using the admiral package, showcasing how to derive variables and merge datasets. He highlighted the simplicity and efficiency of admiral functions compared to base R and tidyverse alternatives, particularly in reducing repetitive coding tasks.
- Deriving Variables: Using the derive_vars functions, users can easily add new variables to datasets.
- Adding Records: The derive_param_computed functions allow for the addition of new records based on existing dataset information.
Future Goals for Admiral
Ben outlined some of the future goals for the admiral package, including:
- Reducing Complexity: Simplifying the datetime functions to enhance maintainability and reduce code complexity.
- Improving Error Messaging: Enhancing user messaging to provide clearer guidance when errors occur, making it easier for users to troubleshoot issues.
Contributing to Admiral
![](https://cdn.prod.website-files.com/654fd3ad88635290d9845b9e/667c2f1780d849db9d11088f_AD_4nXdBaOflWx3kaXam7VSOFAqAiprfuF6wLtgRxxnJSn9MJ2G0AJDqq_JTMvlF_j8UAHzABGRsCP9tXxU2ZN9iQdsGbhVdQiS4hql34RoQtEf3eVNqDEOPHhYC7yBNGL0FyYkt6KizSSIPWU-w05o5ekrFdbY1.png)
He encouraged the community to contribute to the admiral package, highlighting resources like the dummy issue for onboarding new contributors. He emphasized the collaborative nature of admiral’s development and the valuable learning opportunities it offers.
Conclusion
Admiral represents a significant step forward in using R for clinical submissions. By providing a standardized, well-documented, and collaboratively developed solution, it's helping to pave the way for more R-based submissions in the pharmaceutical industry alongside other open-source packages in the Pharmaverse.
Here are some helpful links:
- Join the Pharmaverse Slack channel
- Subscribe to the Pharmaverse newsletter
- Blog post about the latest admiral 1.1 update
Our next Shiny Gathering promises to share more insights for the pharma industry. Sign up for our newsletter to find out the details.
Contact us!
![Damian's Avatar](https://cdn.prod.website-files.com/6525256482c9e9a06c7a9d3c/668ffa9e26059fdf0cec0526_Screenshot%202024-07-11%20at%2017.30.06.png)