Liu X et al. Cancer Commun (Lond). 2026;46:0006. doi:10.34133/cancomm.0006
Condition
Locally advanced gastric or gastroesophageal junction adenocarcinoma
Load these data in R or Python
# R
library(survival)
d <- read.csv("https://trialcurve.com/data/trials/preoperative-chemoradiotherapy-vs-chemotherapy-in-gastric-1.csv", encoding = "UTF-8")
d$arm <- relevel(factor(d$arm), ref = "Pre-CT")
survfit(Surv(time, event) ~ arm, data = d)
coxph(Surv(time, event) ~ arm, data = d)
# Python
import pandas as pd
from lifelines import KaplanMeierFitter
d = pd.read_csv("https://trialcurve.com/data/trials/preoperative-chemoradiotherapy-vs-chemotherapy-in-gastric-1.csv")
for arm, g in d.groupby("arm"):
KaplanMeierFitter().fit(g.time, g.event, label=arm).plot_survival_function()
Suggested citation: Liu X et al. Cancer Commun (Lond). 2026;46:0006. doi:10.34133/cancomm.0006. Reconstructed data: TrialCurve (2026), https://trialcurve.com/trials/preoperative-chemoradiotherapy-vs-chemotherapy-in-gastric