TLF Flow

For biostatistics and statistical programming teams at sponsors and CROs

Turn clinical mock shells into traceable R and SAS® programs.

Upload Word or RTF shells, review the specification TLF Flow extracts from each table, and download readable programs that run on your own ADaM data. Summary tables today; listings and figures are not yet supported.

A hosted service, in development and offered through early access. You upload mock shells, never datasets; the programs run, and every number is calculated, in your own environment.

From shell to program to output

One adverse-event table, start to finish. The shell is illustrative; the program excerpt and output come from a test run on public CDISC pilot data.

  1. 1 · Mock shell you upload

    Word shell · illustrative

    TEAEs by System Organ Class and Preferred Term · Safety Population

    RowPlacebo
    (N=xx)
    Low Dose
    (N=xx)
    High Dose
    (N=xx)
    Subjects with at least one TEAExx (xx.x%)xx (xx.x%)xx (xx.x%)
    SYSTEM ORGAN CLASS
    Preferred termxx (xx.x%)xx (xx.x%)xx (xx.x%)

    Read into a specification: population, treatment columns, row variables, statistics, footnotes. You review and finalise it.

  2. 2 · Generated R program TLF Flow, hosted

    # Program    : t_st_ev_01_v1.R
    # Population : Safety Population (SAFFL = "Y" in ADSL)
    # Input      : events adae.rds (md5 4f63373b…)
    #              denominator adsl.rds (md5 c94c8909…)
    # Filters    : TRTEMFL in (Y)
    # Shell      : t_st_ev_01 v1 (sha f723d40100b7)
    # Generator  : tlfflow 0.1.0
    
    check_vars(adae, c("USUBJID", "AEBODSYS",
      "AEDECOD", "TRTEMFL"), "ADAE")
    
    basic_table(round_type = "sas") %>%
      split_cols_by("TRT01A") %>%
      split_rows_by("AEBODSYS", …) %>%
      count_occurrences(vars = "AEDECOD", …)

    Excerpt. You download one R or SAS® program per table: plain code using public packages (rtables and tern for R).

  3. 3 · Output your environment

    t_st_ev_01.rtf · public CDISC pilot data

    TEAEs by System Organ Class and Preferred Term · Safety Population

    RowPlacebo
    (N=86)
    Xanomeline Low
    (N=96)
    Xanomeline High
    (N=72)
    Subjects with at least one TEAE65 (75.6%)84 (87.5%)68 (94.4%)
    GENERAL DISORDERS AND ADMINISTRATION SITE CONDITIONS
    APPLICATION SITE PRURITUS6 (7.0%)23 (24.0%)21 (29.2%)
    APPLICATION SITE ERYTHEMA3 (3.5%)13 (13.5%)14 (19.4%)

    Calculated when you run the program on your data; we never see it. Excerpt; Total column and remaining rows omitted. The program also writes DOCX, PDF, HTML, text and an analysis results dataset (CSV).

Where the time goes today

  1. Shells arrive as documents. A programmer reads each Word or RTF table and writes its program by hand.
  2. QC adds a second pass. Many teams program key tables a second time, independently, to check the numbers.
  3. Late shell changes ripple. A new statistic or footnote means editing programs and rerunning QC.
  4. Data mismatches can be quiet. A wrong population flag or the wrong ADSL can give a table that looks plausible and counts the wrong subjects.

How it fits your programming workflow

01

Upload shells

One or more .docx or .rtf files. Each table is parsed into a specification and marked Ready, Needs edits or Not supported.

02

Review the specification

Rule-based review findings point to gaps: missing population, unmapped rows, unclear statistics. Fix them in the shell editor.

03

Approve a version

An approver finalises the shell as version N with a content fingerprint. Any later content edit returns it to draft; only a finalised, unchanged shell can generate code.

04

Download and run

Download the R or SAS® program and run it on your ADaM datasets in your environment. Your team reviews and validates the output as with any program.

What is checked, and when

Checks happen at three stages. Problems that are detected stop the table with a message; a specification TLF Flow cannot build is marked “Not supported” and no program is made for it. Because your datasets never reach us, checks on data values happen when you run the program.

A On upload and review

In TLF Flow · shell only

  • Table id, title and a single table per block
  • Population, treatment columns and N=xx headers present
  • Every row mapped to a variable and statistic
  • Table type is one TLF Flow supports

B Against your column names

In TLF Flow · optional

  • If you paste the column names of your datasets, TLF Flow checks that the term, grade, filter, treatment and population-flag variables the shell needs exist
  • Without them, the same variables are checked when the program runs
  • Values are never sent, so population counts and subject matching cannot be checked here

C When the program runs

In your environment

  • Stops with a clear message if an input file or a required variable is missing
  • Your QC confirms population counts and subject numbers, as for any program
✕ [B] Event term: adae has no column AEDECOD.
✕ [B] Population: adsl has no population flag SAFFL.
✕ [C] ADAE is missing: TRTEMFL
Message formats as the product writes them. Dataset and variable names are illustrative.

Traceable, reviewable, repeatable

Provenance in every program
The header names the shell id, version and fingerprint, when it was finalised, the input files with their MD5 checksums, filters, method, rounding rule and generator version.
Repeatable generation
The same finalised shell version, generated by the same TLF Flow version with the same settings, gives the same program logic. Run-specific fields, such as folder paths and run time stamps, differ between runs. Identical outputs also need the same data and controlled R or SAS® package versions in your environment.
Audit trail
Uploads, reviews, approvals with a field-by-field difference and program downloads are logged with user and time.
Tested templates
Starter templates are tested on public CDISC pilot data. In our test library, each template's SAS® program ran with a clean log and reproduced the reference results. R tables display with SAS®-style rounding (round half up).
Readable code
R programs follow the sectioned, commented style of the R Consortium submission pilot programs and use the open-source pharmaverse rtables and tern packages.

What it supports today

Coverage grows with the starter-template library. If a shell is outside it, TLF Flow says so on import.

AreaAvailablePartial or not yet
Output typesSummary tablesListings and figures: not supported
Table familiesDemographic and baseline summaries · adverse events and other event tables · by-visit summaries · criteria counts · shift tables · time-to-event · responseModel-based (ANCOVA), PK and exposure-adjusted rates: partial · MMRM and anti-drug antibody tables: not yet
Statisticsn, mean, SD, SE, median, Q1–Q3, IQR, min–max, 95% CI, geometric mean, CV · n (%) · max severity or toxicity grade · subgroup columns · Kaplan–Meier, Cox, log-rank · Clopper–Pearson, Fisher, CMHOther models: ask us
DataPrograms read your ADaM datasets in your environment: ADSL as denominator plus the analysis dataset (e.g. ADAE), as CSV, SAS® datasets, XPT, Excel or R filesDesigned for ADaM; derive ADaM from SDTM first
ProgramsR or SAS® per table, chosen at download; run in your own R or SAS® environment—
OutputsWritten by the program when you run it: RTF, DOCX, PDF, HTML, text · analysis results dataset (CSV)Custom house styles: limited to titles, footnotes and the provided layout
Shells.docx and .rtf with one table per blockPDF shells: not supported

Your datasets stay with you

TLF Flow is a hosted service run by Rudraayaan AI Technologies Private Limited, now in development. You send it mock shells and, if you choose, column names. Datasets never reach us: the programs you download read them and calculate every number in your own environment.

Mock shells are confidential study documents even without patient data, and we treat them that way. Generated programs are plain R and SAS® files that need no connection to TLF Flow to run. Security and data handling →

Sent to TLF Flow
Mock shells (.docx, .rtf)
Optional column names
Stays with you
ADSL, ADAE and every other dataset
Every number in every table

Getting access

  1. Agree the plan. An evaluation or subscription is set up for your organisation.
  2. We create your accounts. We set up your organisation's admin and approver access; approvers finalise shells before programs can be generated.
  3. Access by email. Sign-in details are sent by email to the people named in the agreement once it is signed.

Plans

Start with a free evaluation on your own shells. Paid plans are quoted per organisation.

Evaluation

Free

  • 5 tables per organisation
  • Up to 10 regenerations of each table
  • R or SAS® program per table
  • Evaluation outputs are not for submission or production use
Request a free evaluation

For sponsors & CROs

Subscription

Annual

  • Site subscription for sponsors
  • Per-study plans for CROs
  • Programs licensed for their study, including submission to regulators
  • Audit trail and download log
  • Optional fixed-fee pilot, credited against year one
Discuss a pilot

Private hosted instance

On request

  • A dedicated hosted instance for one organisation
  • Separate from other customers
  • Scope and data residency agreed with you
Ask about it

Questions

Do you see our clinical data?

No. You upload mock shells and, optionally, column names. Datasets stay in your environment, and every number is calculated there when you run the program.

How do we get access?

Once your evaluation or subscription is agreed, we create your organisation's admin and approver accounts and email sign-in details to the people named in the agreement.

Is the hosted service available now?

It is in development. Early access starts with an evaluation agreed with you, and the deployment and security details, including where it runs, are agreed before your organisation is onboarded.

Does it produce listings and figures?

Not yet. TLF Flow generates programs for summary tables. Shells for listings or figures are marked “Not supported” on upload.

Which tables are supported?

Demographic and baseline summaries, adverse event and other event tables (including by maximum severity or grade, and by subgroup), by-visit summaries, criteria counts, shift tables, time-to-event and response tables. See What it supports today.

Do the programs need TLF Flow to run?

No. Each program is a standalone R or SAS® file with a small helper file. R programs use public CRAN packages listed at the top of the program. Set the input folder and run.

Does this replace independent QC?

No. TLF Flow checks the specification, and the program checks its inputs when it runs, but your independent QC and SOPs still apply.

Can generated programs go into a regulatory submission?

Under a paid plan, the licence for each study's programs allows you to submit them to regulators. Evaluation outputs are not for submission.

Is TLF Flow validated or approved by a regulator?

Regulators do not approve software tools. Validation documentation (requirements, test results, change log) is available to support your own validation. You remain responsible for validating outputs in your environment.

Try it on your own shells.

Email us your organisation, your role and the tables you would like to evaluate. Please do not send datasets, or shells, by email.