Code for producing regression enrichment analysis
Project description
Regression Enrichment Surface
Under dev.
How to use Simple case: To produced average plots over some stratification (useful for dose response like data to produce results over types of cells for instance)
trues, preds = get_predicition_data()
rds_model = rds.RegressionEnrichmentSurface(percent_min=-3)
rds_model.compute(trues, preds, samples=30)
rds_model.plot(save_file=args.metric_plot_prefix + "rds_on_cell.png",
title='Regression Enrichment Surface (Avg over Unique Cells)')
To produced average plots over some stratification (useful for dose response like data to produce results over types of cells for instance)
trues, preds, labels = get_predicition_data()
rds_model = rds.RegressionEnrichmentSurface(percent_min=-3)
rds_model.compute(trues, preds, stratify=labels, samples=30)
rds_model.plot(save_file=args.metric_plot_prefix + "rds_on_cell.png",
title='Regression Enrichment Surface (Avg over Unique Cells)')
Code for producing regression enrichment analysis
Free software: MIT license
Documentation: https://regression-enrichment-surface.readthedocs.io.
Features
TODO
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2020-01-01)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file regression_enrichment_surface-0.3.0.tar.gz
.
File metadata
- Download URL: regression_enrichment_surface-0.3.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28071d1f5d42353f5866458472b4e1ed98dc94fa1f614f50e46cd783899145b6 |
|
MD5 | 700fd6afb20b99171bf66d06b8a89a15 |
|
BLAKE2b-256 | 0850d063827b5552c83868efd23c88b4b21ae0aa690fae993f3ba1dd94e671d5 |
File details
Details for the file regression_enrichment_surface-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: regression_enrichment_surface-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1706fbcd002d98f82de33aa0ee26226b4b4f004bb914bd53846223d5d4c21ef9 |
|
MD5 | 893124b989b0a21ff6764a6bf47ff72f |
|
BLAKE2b-256 | 70debb02b8b33876bbad1ca612daa179ec9b035cfed82a081b6bebb4e046c298 |