Skip to main content

A framework for survival prediction and analysis of ICGC datasets

Project description

Random Survival Forest

The ICGC-survival package provides an easy oppurtinity to perform survival prediction on ICGC datasets.

Installation

$ pip install icgc-survival

Contribute

Getting Started

>>> from download_helper import login, download_file_by_project
>>> from feature_creator import extract_gene_affected_counts
>>> from label_creator import extract_survival_labels

>>> token = login(username, password)
>>> df = download_file_by_project(token=token, filetype="simple_somatic_mutation", release=28, project_code="ALL-US")
>>> ssm_gene_affected_counts = extract_gene_affected_counts(df)
>>> labels, features = extract_survival_labels(ssm_gene_affected_counts, donors)

>>> x, x_test, y, y_test = train_test_split(features, labels, shuffle=True, test_size=0.33, random_state=10)
...

Support

If you are having issues or feedback, please let me know.

julian.spaeth@student.uni-tuebinden.de

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

icgc_survival-0.2.3.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

icgc_survival-0.2.3-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file icgc_survival-0.2.3.tar.gz.

File metadata

  • Download URL: icgc_survival-0.2.3.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for icgc_survival-0.2.3.tar.gz
Algorithm Hash digest
SHA256 17c2573a1fbaf0334bd084b07bdd0ffe246488c10ddc145da2c973daa2d9606f
MD5 1a9611496e64bc4e51ae1802de43c8a8
BLAKE2b-256 6648e00b00eb557905f0f15e31219fc48d2682a7f1720e4eb6d28cc52b9ad2a0

See more details on using hashes here.

File details

Details for the file icgc_survival-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: icgc_survival-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for icgc_survival-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d2fb28a28220687ffd302c50f9f6ed188088cc4d31b42b1de85e4335faa0c699
MD5 68296fd7349bb7362808d3224264f40b
BLAKE2b-256 3ef5d25caa449c28b79bfaa7fa766556a6debf314ce4c99278b962f8fea7247c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page