A package for fitting benchmark dose curves to dichotomous, proportional, and light photomotor response data
Project description
bmdrc
Python library for the calculation of BenchMark Dose Response Curves (bmdrc)
See the Sphinx documentation here
We suggest using Python version 3.10 or later.
General Schematic
The bmdrc library was built to calculate benchmark dose (BMD) response curves for dichotomous (morphological) and light photomotor response datasets, where continuous variables are transformed to dichotomous as described in Thomas et al 2019. Potential outputted files include a csv file of all final BMDs and their estimation errors, a csv file of model fits (AIC) for each endpoint, and an html report containing information on how much data was filtered and why, as well as interactive response curve plots. Users may specify their outputs of interest.
-
Input Data Module: Import data into the python library
-
Pre-Processing Module: Combine and remove endpoints as needed
-
Filtering Modules: Apply the EPA recommendations for filtering
-
Model Fitting Modules: Fit EPA-recommended models to data
-
Output Modules: Select tables to output as csvs. View plots in a HTML report.
How to install the package
First, install the package from pip using:
pip install bmdrc
Or from github using:
pip install git+https://github.com/PNNL-CompBio/bmdrc
How to use the package
Vignettes
An example vignette for the dichotomous (binary) data (when plate and well information is available) is located here and an example vignette for when only chemical, endpoint, concentration, and response (ranging from 0-1) information is available is located here. For the light photomotor response data (continuous converted to dichotomous), a vignette is located here.
Example Data
Example data for dichotomous and light photomotor response data can be found here.
Example Report
A sample for the generated report for dichotomous (binary) data can be found here
A sample for the generated report for light photomotor response data can be found here
Data Classes
For datasets with plates and wells, use the BinaryClass object as it contains specific pre-processing and filtering functions that pertain to plates and well. Each value should be 0, 1, or NA, and bmdrc will calculate the response column. If your data does not contain plates and wells, use the SimplifiedClass object which only requires chemical, endpoint, concentration, and response information. The response must be between 0 and 1. If your data is light photomotor response use the LPRClass object. The continuous data will be transformed to dichotomous.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bmdrc-1.0.0.tar.gz.
File metadata
- Download URL: bmdrc-1.0.0.tar.gz
- Upload date:
- Size: 30.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7f65f49c11ac1901c4bc07afe5e434da90b5d9f83980db648da5aa702c4d999
|
|
| MD5 |
f89a15ce01bf284ef7422153cec2999c
|
|
| BLAKE2b-256 |
68fe8599a68ba73679a1787e26b6e37b086f2abb566a93d7d27512fd9563be3d
|
File details
Details for the file bmdrc-1.0.0-py3-none-any.whl.
File metadata
- Download URL: bmdrc-1.0.0-py3-none-any.whl
- Upload date:
- Size: 33.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
609ad25db7eba7394179e76f4c67d7d2e187197e5eeb7890e2fb3cc460c72561
|
|
| MD5 |
544878130f39f99780a8bd70ee7783b8
|
|
| BLAKE2b-256 |
d672f33301fb7252fabb60840d519de83484a082eb09fb2488b699c2d2cc8e0b
|