adam-to-tlg

Generate R scripts and TLG outputs from ADaM datasets and mock shells.

35|9|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/Appsilon/mediforce --skill adam-to-tlg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adam-to-tlg
Source: https://github.com/Appsilon/mediforce/tree/main/apps/protocol-to-tfl/plugins/protocol-to-tfl/skills/adam-to-tlg
Command: npx skills add https://github.com/Appsilon/mediforce --skill adam-to-tlg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reads mock TLG shells and ADaM datasets to generate fully formatted Tables, Listings, and Figures (TLGs) ready for clinical review, enabling reproducible reporting with minimal manual scripting.

Core Features & Use Cases

  • TLG code generation: Produces production-ready R scripts that create tables, listings, and figures using gtsummary, gt, and ggplot2 from mock shells and ADaM data.
  • End-to-end workflow integration: Supports a Protocol → SAP → Metadata → TLG Shells → ADaM → TLG pipeline, including population definitions derived from ADSL.
  • Output readiness: Outputs HTML tables, PNG figures, and listings with LS means, p-values, and CI formatting suitable for review and submission.
  • Use case: When a clinical team has ADaM datasets and corresponding mock TLG shells and needs final reporting artifacts produced reproducibly.

Quick Start

Provide your ADaM datasets and mock TLG shells, then run the master run script to generate all TLG outputs.

Frequently Asked Questions about adam-to-tlg

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate clinical TLGs from ADaM datasets automatically?

The best way to generate clinical TLGs is using mock shells and ADaM data to automatically produce production-ready R scripts leveraging gtsummary, gt, and ggplot2 for formatted reporting artifacts.

Can I use ggplot2 and gt to create clinical trial tables and figures?

Yes, you can use ggplot2 and gt to create clinical trial tables and figures; the system generates R scripts that leverage these packages alongside gtsummary to produce formatted outputs from ADaM datasets.

Do I need mock TLG shells to produce clinical study reporting outputs?

Yes, mock TLG shells are required inputs to map the desired output structure, allowing the system to generate accurate R scripts and formatted clinical reporting artifacts from your ADaM data.

What is the ADaM to TLG pipeline for clinical study reporting?

The ADaM to TLG pipeline covers Protocol to SAP, Metadata, Shells, and ADaM, deriving population definitions from ADSL to generate standardized, reproducible clinical reporting artifacts.

How do I ensure reproducibility when generating tables and figures from ADaM data?

Reproducibility when generating clinical tables and figures is enforced by reading mock TLG shells, executing generated R scripts, and organizing all outputs within a standardized directory structure.

Does this clinical reporting pipeline support LS means, p-values, and CI formatting?

Yes, this clinical reporting pipeline supports LS means, p-values, and CI formatting, producing HTML tables and PNG figures with these statistical outputs ready for clinical review and submission.