Welcome to the Survival Analysis Tool by the Molecular and Genomics Informatics Core (MaGIC).
Survival analysis studies the time until a specific event occurs (e.g., death, disease recurrence, progression). The time-to-event is the duration from a defined starting point (diagnosis, treatment start) to the event of interest.
An event (status = 1) means the outcome was observed. If the patient was lost to follow-up or the study ended before the event, they are censored (status = 0). Censored observations still contribute information about survival up to the point of censoring.
The Kaplan-Meier (KM) estimator is a non-parametric method that estimates the survival function S(t) as a step function. At each time an event occurs, the survival probability is recalculated. The resulting KM curve shows the probability of surviving beyond each time point.
Censored patients are marked with tick marks on the curve, indicating they were still event-free when last observed.
The log-rank test compares survival distributions between two or more groups. It tests the null hypothesis that there is no difference in survival between groups. A small p-value (e.g., < 0.05) suggests a statistically significant difference.
The test compares observed vs. expected events at each time point across groups, giving equal weight to all time points.
The hazard ratio (HR) from a Cox proportional hazards model quantifies the relative risk between two groups.
A 95% confidence interval that does not cross 1 indicates statistical significance. HR is only meaningful for two-group comparisons.
patient_id, time, status, group, stage PT001, 450, 1, Treatment, Stage_II PT002, 820, 0, Control, Stage_I
Gene, PT001, PT002, PT003 TP53, 8.2, 7.9, 9.1 BRCA1, 6.5, 7.1, 5.8
Use dynamically generated demo data to explore survival analysis features.
Demo: ~200 patients with time-to-event, censoring, clinical grouping variables, and a matching 50-gene expression matrix.
No expression matrix loaded. Upload an expression matrix on the Data Input tab to enable gene-based stratification.