File size: 1,875 Bytes
acb0f46
 
3e3d71f
acb0f46
 
 
a3052e5
acb0f46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3e3d71f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
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**