Skip to main content

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)')
https://img.shields.io/pypi/v/regression_enrichment_surface.svg https://img.shields.io/travis/aclyde11/regression_enrichment_surface.svg Documentation Status

Code for producing regression enrichment analysis

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


Download files

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

Source Distribution

regression_enrichment_surface-0.3.0.tar.gz (10.0 kB view hashes)

Uploaded Source

Built Distribution

regression_enrichment_surface-0.3.0-py2.py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 2 Python 3

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