--- title: GOBLET Visualizer Agent emoji: "🔬" colorFrom: blue colorTo: indigo sdk: gradio sdk_version: "5.23.3" app_file: app.py pinned: false license: mit short_description: Clinical oncology plot generator for GOBLET trial datasets --- # GOBLET Visualizer Agent A clinical oncology visualization tool that generates publication-quality plots from GOBLET trial datasets. ## Supported Plots - **Swimmer Plot** — Treatment duration, response markers, and endpoints per patient - **Waterfall Plot (Evaluable)** — Best % change from baseline, evaluable patients only - **Waterfall Plot (All Patients)** — Best % change from baseline, all patients - **Spider Plot** — Target lesion size change over time ## Accepted File Formats - Excel: `.xlsx`, `.xls` - CSV: `.csv` - Archive: `.zip` (or `.rar` if rarfile is available) ## Required Excel Sheets The dataset must contain the following sheets: | Sheet | Description | |-------|-------------| | `DM` | Demographics — includes `Cohort - Code`, `Subject Id` | | `EX1`–`EX5` | Exposure / treatment administration | | `ET` | End of treatment | | `EOS` | End of study | | `RS` | Response assessments (`OVRLDAT`, `OVRLRESP`) | | `BLTUT` | Baseline target lesion measurements | | `BLTUNT` | Baseline non-target lesion locations | | `TUT` | Tumour assessment follow-up | ## Usage 1. Upload your Excel file (or a ZIP/RAR containing it) 2. Enter the study title and cohort number 3. Select which plots to generate 4. Click **Generate Plots** 5. Download individual plots from each tab ## Notes - Data is processed in-memory and never stored or transmitted - Cohort filtering uses the `Cohort - Code` column in the `DM` sheet - Patients without a treatment start date are classified as **Replaced** - Patients with baseline measurement, treatment dates, and at least one assessment are classified as **Evaluable**