Output guide

What to Expect

A breakdown of what each tool needs, what it produces and how to use the outputs in your manuscript.

Study Designer

Complete Study Protocol

Enter a clinical research question in natural language. The Study Designer parses it into PICO components, searches PubMed for relevant literature, and drafts a TriNetX study protocol that cites the papers it found. It is a starting point for your protocol: review the codes and citations before you run the study.

What you get

PICO Framework

Population, Exposure/Intervention, Comparator, and Outcome parsed automatically from your question.

Cohort Queries

Complete query builder configurations with exposure/comparator cohorts, index events, and coded criteria groups (ICD-10, CPT, RxNorm, Demographics, Labs). Codes are checked against the official ICD-10-CM and RxNorm code sets; review each one in TriNetX before you run the study.

Analysis Recommendations

Primary and secondary analysis types (Compare Outcomes, Cox PH, Kaplan-Meier, etc.) with rationale and step-by-step TriNetX workflow instructions.

Matching Configuration

PSM setup with 10-15 covariates including code system, variable type, time windows, and clinical rationale — matches TriNetX's covariate selection table.

Outcome Definitions

Primary, secondary, and safety outcomes with coded criteria, measurement windows, and time-after-index specifications.

Supporting Literature

Citations from the PubMed search, with direct links. Check that each paper supports the point it is cited for.

PDF Export

Download the complete study design as a formatted PDF for sharing with collaborators or IRB review.

Analyzer

Compare Outcomes, PSM Baseline and Analyze Outcomes take an unzipped TriNetX download as it is: outcome names come from its _Read_Me.txt. Kaplan-Meier, Absolute Risk and Cox Trend combine several separate exports, so each file needs its group number in its name (see those cards). Each analysis produces a ZIP of Word tables, PDF figures and the underlying CSV data.

Counts of 1 to 10. TriNetX reports any patient count from 1 to 10 as 10 to protect privacy. The outputs show these as “≤10” rather than as an exact 10, and percentages built on them are upper bounds.

Compare Outcomes

Uses CSVs from the TriNetX Compare Outcomes analysis. Each CSV is one outcome comparison between two cohorts, containing cohort statistics, risk difference, risk ratio, and odds ratio blocks. The tab also offers two beta modes — Kaplan-Meier and Absolute Risk — for multi-group dose-response studies (see the two cards below).

.csvSTACKED_OUTCOME_TABLE.csv — raw stacked data with all timepoints
.docxSTACKED_OUTCOME_TABLE.docx — formatted Word table with bold section headers, right-aligned counts, bold significant p-values (Times New Roman, 10pt)
.pdfforest_plot.pdf — forest plot of odds ratios with 95% CI whiskers and timepoint-prefixed labels (vector PDF, embedded fonts)

Table columns

Outcome | Cohort 1 events | Cohort 2 events | Odds Ratio (95% CI) | P-value (risk difference)

Section headers

Each folder you upload becomes a bold section header showing the follow-up time read from its name (e.g. 90 Days, 1 Year, 5-10 Years) and the cohort N values. Upload folders in the order you want them stacked.

P-value formatting

The p-value is TriNetX's risk-difference test. <0.001 is shown as <0.001**, <0.05 as <0.05*, others to 3 decimal places. Significant values are bold in the Word doc.

PSM Baseline

Before/after matching tables with standardized mean differences and p-values. Upload the Baseline Patient Characteristics CSV as downloaded (one file holds both before and after matching) and pick one of three table formats.

.csv*_PSM_STACKED.csv — long-format stacked table (Before + After matching)
.xlsx*_PSM_JOURNAL.xlsx — journal-formatted hierarchical table
.docx*_PSM_JOURNAL.docx (Formats 1 and 2) or *_PSM_COMPACT.docx (Format 3, side by side, portrait or landscape) — Word table with merged variable cells and bold significant p-values

Table columns

Variable | Group | Mean ± SD | Patients, n | % of cohort | Std diff | P-value

Layout

"Before matching" and "After matching" appear as bold full-width divider rows. Each demographic variable shows Cohort 1 and Cohort 2 data in consecutive rows with the variable name vertically merged.

Cohort names

If TriNetX embeds cohort names in the CSV headers (e.g. "Depression", "No Depression"), they're extracted automatically. Otherwise, the names you enter in the form are used.

Kaplan-Meier — Compare Outcomes mode

Beta — Free

Inside the Compare Outcomes tab, switch to the Kaplan-Meier mode. Upload one pairwise KM CSV per exposure group, each comparing that group with the same reference group. Rename each file so its group number comes before "vs" and the reference after it.

.csvresults_summary.csv — group, PSM N, events, survival probability, HR, CI, p-value
.pdfpublication_summary_table.pdf — color-coded results table (green = reference, red = baseline)
.pdfforest_plot.pdf — hazard ratio forest plot with 95% CI
.pdfsurvival_probability_chart.pdf — bar chart of end-of-window survival by group
.pdfdose_response.pdf — dose-response curve with 95% CI band

File names

The first number before "vs" (or "v") is the group: "Group 2 vs 1.csv", "6_v_1_within_1_year.csv", "6+ vs 1.csv" (open-ended top group). A name that starts with No, None, Non, Zero, Never, Unexposed or Control is group 0.

Reference group

The reference is the number or name after "vs" ("Dose 3 vs Control.csv" compares with Control). It appears as HR = 1.00 in the plots, and group 0 is highlighted.

Customization

You provide the Outcome Name (used in titles and y-axis labels) and Exposure Label (used as x-axis label) on the upload form.

Absolute Risk — Compare Outcomes mode

Beta — Free

Inside the Compare Outcomes tab, switch to the Absolute Risk mode. Upload one Measures of Association CSV from TriNetX per exposure group, renamed so the group number comes first ("2 Injections.csv", "6+ Injections.csv"). A name that starts with No, None, Non, Zero, Never, Unexposed or Control is group 0.

.csvrisk_summary.csv — absolute risk, risk difference, risk ratio and NNT/NNH per group, with risk_summary_NOTES.txt explaining the columns
.pdfabsolute_risk_bar.pdf — color-coded bar chart with % labels and sample sizes
.pdfrisk_difference_bar.pdf — absolute risk difference vs baseline (percentage points)
.pdfnnh_curve.pdf — number needed to treat or harm by group

Baseline

Group 0 is the baseline for risk difference, risk ratio and NNT/NNH. These compare separate exports, so they are crude comparisons with no confidence interval.

Customization

You provide the Outcome Name and Exposure Label on the upload form. These appear on all chart titles and axis labels.

Cox Trend

Beta — Free

Upload one Cox proportional hazards CSV from TriNetX per exposure level, each against the same reference, renamed so the group number comes before "vs" ("2 vs 1.csv"). TriNetX's raw "Outcome_1_..." names are refused with a message asking you to rename them.

.csvresults.csv — comparison, HR, coefficient, SE, z-stat, 95% CI, p-value, interpretation
.pdfforest.pdf — hazard ratio forest plot with error bars
.pdfdose_response_styled.pdf — publication-quality dose-response with CI band, color-coded markers, reference annotation

Comparisons

Each level is compared with the reference. Hazard ratios, 95% CIs and p-values come from TriNetX's Cox model; no formal test for trend is reported.

Analyze Outcomes — single cohort

Beta — Free

Uses CSVs from the TriNetX Analyze Outcomes analysis, which describes outcomes in one cohort. Pick one sub-analysis per run: Risk, Kaplan-Meier or Number of Instances. An unzipped TriNetX download works as it is (outcome names come from its _Read_Me.txt), or name the files "<Outcome> Risk.csv", "<Outcome> KM Analysis.csv" or "<Outcome> Number of Instances.csv". For two-cohort downloads, use Compare Outcomes.

.csvrisk_table.csv, km_table.csv or instances_table.csv — one row per outcome
.docxThe same table as a Word document
.pdfrisk_bar.pdf, km_survival_prob_bar.pdf or instances_bar.pdf — bar chart across outcomes

Risk

Patients in cohort, patients with the outcome (n, %) and risk for each outcome.

Kaplan-Meier

Median survival and survival probability at the end of the time window for each outcome.

Number of Instances

Events per patient (mean ± SD) for each outcome.

Why These File Types?

DOCX

Word Documents

Tables are delivered as native .docx files — not images or PDFs. This means you can directly edit cell values, reword headers, adjust column widths, change fonts, or copy the table into your manuscript. No retyping, no screenshot cropping. The formatting (bold p-values, merged cells, borders) is already set to journal standards, but every element is fully editable in Word or Google Docs.

PDF

Vector PDF Figures

All plots are saved as vector PDFs, not rasterized PNGs. They scale to any size without losing quality — perfect for journal figures that get resized during typesetting. Fonts are embedded as Type 42 (TrueType) at 300 DPI so they render identically on any system.

CSV

Raw CSV Data

Every analysis includes the underlying data as a CSV file alongside the formatted outputs. Import into Excel, R, SPSS, or any tool for custom analyses, supplementary tables, or to verify the computed statistics.

XLSX

Excel Workbooks (PSM)

PSM baseline tables include an Excel file as an intermediate format. Re-sort variables, add calculated columns, or use Excel's built-in formatting tools before final publication.

General Notes

Delivery

All analyzer outputs are delivered as a single .zip download. Unzip and you have everything — data, tables, and figures ready for your manuscript.

Figure Quality

Vector PDFs at 300 DPI with TrueType fonts embedded, so they render the same on any system. Check your target journal's figure requirements (fonts, sizes, color) before submitting.

Word Formatting

Times New Roman (10pt; 9pt in the compact PSM layout), publication-standard borders (heavy top/bottom, light internal), bold significant p-values. Every cell stays editable.

Input Compatibility

Compare Outcomes, PSM Baseline and Analyze Outcomes take TriNetX downloads as they are. Kaplan-Meier, Absolute Risk and Cox Trend need a group number in each file name. When files are skipped or a choice is made for you, the download includes PROCESSING_NOTES.txt explaining it.

Processing Speed

Analyzer results usually take under 30 seconds. Study Designer protocols take 30-60 seconds; revisions can take up to about 2 minutes.

Complete Workflow

Use the Study Designer to plan your research, check its codes and run the study in TriNetX, then upload the exports to the Analyzer for tables and figures.

Ready to get started?

Design a study or upload your TriNetX exports now.