SurvScope
Explore how a gene's RNA expression relates to survival in a cancer cohort, then edit and download the figure. SurvScope works in your browser, without an account or installation.
Open SurvScope → · Step-by-step guide · Statistical methods
Make your first figure
- Choose a cancer cohort and enter a gene symbol, such as SRD5A1 or TP53.
- Choose how to compare lower and higher expression. Start with the median, or try a percentile, the lowest/highest quarters or thirds, custom percentile groups, the mean, or a TPM threshold. Check the patient counts before running.
- Select Create survival plot. Each panel shows a different outcome, when available.
- Double-click text on the figure to edit it. Select and drag objects; use Properties for fonts, colors, dimensions, axes, and layout, or Layers to hide and lock objects. Optional confidence bands, censor marks, and number-at-risk tables add context.
- Download SVG, PDF, or PNG. Save project lets you reopen the results and keep editing; a style preset reuses the appearance for another analysis.
The workspace fills your screen, with collapsible Analysis and Properties panels. Familiar Selection (V), Type (T), Hand (H), and Zoom (Z) tools help you arrange the figure. Icon commands explain themselves on hover or keyboard focus. Text supports bold, italic, superscripts, and subscripts, with seven bundled font choices, including clearly labeled Arial/Helvetica-style alternatives.
The blue/red, four-panel, 6.8-inch figure shows p-values and hazard ratios by default. Q-values are optional: enable Properties → Survival details → Show adjusted q-value to include them. Editing the figure's appearance does not change the calculated results.
Which cancers and data are available?
The current release includes all 33 TCGA cohorts and 18 CPTAC-3 tumor groups, covering 59,317 uniquely mapped gene symbols. TCGA and CPTAC appear separately in the cohort menu, with patient counts; pancreatic cancer is one of many choices. Availability varies by gene and outcome.
TCGA provides overall survival (OS), disease-specific survival (DSS), progression-free interval (PFI), and disease-free interval (DFI), where the source supports them. CPTAC currently provides RNA expression and OS. Protein abundance and CPTAC-2 survival are not included. Some rare CPTAC groups have only one or two patients and cannot support an estimable comparison. See the coverage table and sources.
Read the results carefully
A curve estimates the fraction of patients who remain event-free over time. The legend gives patients (n) and observed events (e) in each group. Patients without an observed event are censored, so e ≤ n. Double-click a whole legend entry to edit its displayed text; the calculated counts remain in the analysis results. The p-value compares the curves; the hazard ratio compares higher with lower expression. These are unadjusted associations, not proof that a gene causes a difference or predicts an individual's outcome.
Comparing selected lower and upper percentile groups leaves out the middle patients and can increase uncertainty. Trying several genes or group definitions adds multiple comparisons; the optional q-value adjusts only for the available outcomes within one analysis. With one tested outcome, as in current CPTAC analyses, q = p; the figure shows p alone. Choose comparisons for a scientific reason and report what you explored. Learn to read the plot.
JavaScript calculations are checked against Python and independently executed R survival. Group membership, event counts, and risk counts agree exactly in the validation suite. Numerical tolerances and the preserved PAAD reference estimates are documented in methods and validation.
Cite the data behind your figure
Choose Cite this analysis beside the save/export controls. Copy the references, download BibTeX or RIS for a reference manager, or copy a methods paragraph with your gene, cohort, group sizes, exclusions, and data version. Citations follow the displayed result, even while you are choosing the next analysis.
TCGA analyses cite TCGA-CDR for survival outcomes, UCSC Xena for data distribution, and GDC for the data resource. CPTAC analyses cite CPTAC-3 and GDC and its survival documentation. Verified original cohort papers appear alongside those sources. The analyzed patients may differ from the publication's original cohort. Full references and citation guidance.
Use Python or the command line
Install the tested GitHub release:
python -m pip install \
https://github.com/oncologylab/survscope/releases/download/v0.4.3/survscope-0.4.3-py3-none-any.whl
survscope plot --gene SRD5A1 --cohort PAAD --format pdf svg png --outdir plots
survscope plot --gene TP53 --cohort CPTAC-3-LUAD \
--grouping percentile_groups --lower-percent 25 --upper-percent 25 --json --outdir plots
import survscope
from survscope import GroupingSpec
result = survscope.analyze(
"SRD5A1", "PAAD",
grouping=GroupingSpec("percentile_groups", lower_percent=25, upper_percent=25),
)
survscope.plot(result, formats=("pdf", "svg"), output_dir="plots")
The Python package shares the comparison methods and the default figure. Q-values are off by default here too; add --show-q on the command line or show_q=True to survscope.plot(...) to include them. Analysis JSON retains the calculated p- and q-values regardless of figure settings. The interactive editor and its project files are browser features. PyPI publication awaits its one-time Trusted Publisher setup; use the GitHub wheel meanwhile.
Reproducibility and further reading
The website displays its data version. Data releases are immutable; saved projects record both data and software versions. Browser calculations use static assets served with the site, with no external data-service requests or telemetry. Published assets contain no patient identifiers or raw expression matrices.
- User guide: comparisons, editing, downloads, and common questions
- Methods: grouping, statistics, reference validation, and limitations
- CPTAC coverage and research: included cohorts, sources, and exclusions
- Development and releases: local setup, checks, and deployment
- Data format: compact assets and provenance
For scientific use, include the software and the references provided by Cite this analysis for your selected cohort. SurvScope is research software, not a diagnostic or clinical decision-making tool.
Source code uses the MIT License. Bundled fonts and numerical code retain their third-party notices; data retain their original terms and citations.
Metadata
Release files for survscope 0.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| survscope-0.4.3.tar.gz | 49.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| survscope-0.4.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 92.8 kB
Release files / survscope-0.4.3.tar.gz
| Download URL | survscope-0.4.3.tar.gz |
|---|---|
| Size | 49.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef9229aa0028c364ea573b30736a8620df864bccfd5557b43b96094eeb34c30f
|
|
BLAKE2b-256 checksum How to use checksums |
1f91242b216e7a83c6f75fa11d4267d7570ba382105b496916e9811493baa8bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / survscope-0.4.3-py3-none-any.whl
| Download URL | survscope-0.4.3-py3-none-any.whl |
|---|---|
| Size | 42.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
186945feb93e934e02783c7ea008698cf10c5bce52dd4cdd9e9dbfec9cf7b96f
|
|
BLAKE2b-256 checksum How to use checksums |
b5d77688c83be90fe96adf971a11a134b4a9af5e5b4f88c436b186eada8b4416
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|