Skip to content

aclyde11/regression_enrichment_surface

Repository files navigation

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)')

image

image

Documentation Status

Code for producing regression enrichment analysis

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published