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
- Source Code: https://github.com/julianspaeth/icgc-survival
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.2.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for icgc_survival-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 181b56b5a867141ca0f20c11874d951fc4c8b2d6e13985c9fc294fa41a83a8b9 |
|
MD5 | bacf295e0a86e0e1deb74048680eece4 |
|
BLAKE2b-256 | a099d0d7a5c312170efce398863c69288aaa82319787657c170a5452da7d64f8 |