Methods for detecting signals related to adverse event
Project description
Category | Badge |
---|---|
License | |
CI/CD | |
Code Coverage | |
Code Quality |
Introduction
- In this package, we present the Modified Detecting Deviating Cells (MDDC) algorithm for adverse event identification.
- For a certain time period, the spontaneous reports can be extracted from the safety database and depicted as an $I \times J$ contingency table, where:
- $I$ denotes the total number of AEs
- $J$ denotes the total number of drugs or vaccines
- With cell counts $n_{ij}$ the total number of reported cases corresponding to the $j$-th drug/vaccine and $i$-th AE
- We are interested in which (AE, drug or vaccine) pairs are signals. The signals refer to potential adverse events that may be caused by a drug/vaccine.
- In the contingency table setting, the signals refer to the cells with $n_{ij}$ abnormally higher than the expected values.
- Rousseeuw and Bossche (2018) proposed the Detecting Deviating Cells (DDC) algorithm for outlier identification in a multivariate dataset.
- The original DDC algorithm assumes multivariate normality of the data and selects cutoff values based on this assumption. We modify the DDC algorithm to better suit the discrete nature of adverse event data in pharmacovigilance that clearly do not follow a multivariate normal distribution.
- Our Modified Detecting Deviating Cells (MDDC) algorithm has the following characteristics:
- It is easy to compute.
- It considers AE relationships.
- It depends on data-driven cutoffs.
- It is independent of the use of ontologies.
- The MDDC algorithm has five steps, with the first two steps identifying univariate outliers via cutoffs, and the next three steps evaluating the signals via the use of AE correlations. The algorithm can be found at MDDC algorithm.
Authors
-
Anran Liu Email: anranliu@buffalo.edu
-
Raktim Mukhopadhyay Email: raktimmu@buffalo.edu
-
Marianthi Markatou Email: markatou@buffalo.edu
Maintainer
Raktim Mukhopadhyay
Email: raktimmu@buffalo.edu
Documentation
The documentation is hosted on Read the Docs
at - https://mddc.readthedocs.io/en/latest/
Installation using pip
pip install MDDC
Community
For installing the development version, please download the code files from the master branch of the Github repository.
Please note that installation from Github might be buggy, for the latest stable release please download using pip
.
For downloading from Github, use the following instructions:
git clone https://github.com/rmj3197/MDDC.git
cd MDDC
pip install -e .
Contributing Guide
Please refer to the Contributing Guide.
Code of Conduct
The code of conduct can be found at Code of Conduct.
License
This project uses the GPL-3.0 license, with a full version of the license included in the repository.
Citation
If you use this package in your research or work, please cite it as follows:
@misc{liu2024mddcrpythonpackage,
title={MDDC: An R and Python Package for Adverse Event Identification in Pharmacovigilance Data},
author={Anran Liu and Raktim Mukhopadhyay and Marianthi Markatou},
year={2024},
eprint={2410.01168},
archivePrefix={arXiv},
primaryClass={stat.CO},
url={https://arxiv.org/abs/2410.01168},
}
Funding Information
The work has been supported by Food and Drug Administration, and Kaleida Health Foundation.
References
Liu, A., Mukhopadhyay, R., and Markatou, M. (2024). MDDC: An R and Python package for adverse event identification in pharmacovigilance data. arXiv preprint. arXiv:2410.01168
Liu, A., Markatou, M., Dang, O., and Ball, R. (2024). Pattern discovery in pharmacovigilance through the Modified Detecting Deviating Cells (MDDC) algorithm. Technical Report, Department of Biostatistics, University at Buffalo.
Rousseeuw, P. J., and Bossche, W. V. D. (2018). Detecting deviating data cells. Technometrics, 60(2), 135-145.
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 Distributions
File details
Details for the file mddc-1.0.0.tar.gz
.
File metadata
- Download URL: mddc-1.0.0.tar.gz
- Upload date:
- Size: 78.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29916192eb91213ce56bbe0dc2e059eee138c547bb47ffdb6fb2e51fd7b787df |
|
MD5 | 127d1c82c82be0e32b13bd91f33103b3 |
|
BLAKE2b-256 | b26719e19d6333ad72a9e7fb9ecc4d134a1c4d414587747e387802da47412868 |
File details
Details for the file MDDC-1.0.0-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 160.4 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdab8e426ed61843335ecbb6776c1c780a75a8b58f8362131052668ebd61b11c |
|
MD5 | 6840469f102df236e3c004e147361f13 |
|
BLAKE2b-256 | cf94524f7febbf9754d65d5cb75b15856c8f5825a710d8ebc0a30e50c1868f18 |
File details
Details for the file MDDC-1.0.0-cp312-cp312-win32.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp312-cp312-win32.whl
- Upload date:
- Size: 153.6 kB
- Tags: CPython 3.12, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4750069a16a1daaa5c880f15bf5d04d2a429c94200ca9f0c4e689251436d22be |
|
MD5 | 319136e8001e3f3acde94db57cf4f371 |
|
BLAKE2b-256 | ac61b775857a8da3c1cdd061f19ace2618e53fa0a2e571845108487eca3ce900 |
File details
Details for the file MDDC-1.0.0-cp312-cp312-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85dd5238c569df3e28984246c163273e321dca144deb5186045d596efe8255c8 |
|
MD5 | 019e678478f42eea01068b0b8cd2f75d |
|
BLAKE2b-256 | a2a848634cb5c433048c35badfc3fb5f117086b1b44f5b6222b09d3a96a0077d |
File details
Details for the file MDDC-1.0.0-cp312-cp312-musllinux_1_2_i686.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp312-cp312-musllinux_1_2_i686.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 365d15cf94b4f01c6ba23fdd602b30ab8524032d7f89fbb991dc804107cc5a13 |
|
MD5 | 60970b3b4295592fa2cfe63ed25d9b1e |
|
BLAKE2b-256 | a579c8aabcf8ad47b4004140eb7f841c02e2a83e053e258bfc8aa07810319d6e |
File details
Details for the file MDDC-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 197.3 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dafff83085e7c8d4ae636dfa531fe20917e20fc41f99afe17a12d546fc2b3f3 |
|
MD5 | 34ae81a3d02d22b8b225e6af78f20ce3 |
|
BLAKE2b-256 | 8b722fcd7feb2c2c4e34ad5f103f2904e934e4da04a69d69a86b6480f6391c49 |
File details
Details for the file MDDC-1.0.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 204.7 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b126c55cb71f91ef2a846de8d1125fa6964683d19aa0f45231cf892ed427ce0f |
|
MD5 | 892ce2e0c68e3988f47ced29676389a6 |
|
BLAKE2b-256 | 42baa9ef82a2ead854e78643b432079f4d4b2e4541d0969a3cf7dbd608ae4157 |
File details
Details for the file MDDC-1.0.0-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 160.0 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b85188166b338eff88e6708b38ab834bd62fa66890d09f9f6de9b31820de02eb |
|
MD5 | f5c56671732ae37459fdec842f8ea7e9 |
|
BLAKE2b-256 | 8921830b61cb1bfa0dd85ec67d3f6f79b27ae87f037b37851f7c8d92e0ae39df |
File details
Details for the file MDDC-1.0.0-cp312-cp312-macosx_10_13_x86_64.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp312-cp312-macosx_10_13_x86_64.whl
- Upload date:
- Size: 163.7 kB
- Tags: CPython 3.12, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79aa1368283d7f0dc7482ab26e0b8485aeabe497ca88b4962de79bbc68ce7257 |
|
MD5 | 6daafe93969c65b22cf54b5f0b0eabcb |
|
BLAKE2b-256 | de147dd9ef38b97379b2652fd257fa9422b14f4f078d7192073079011183be07 |
File details
Details for the file MDDC-1.0.0-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 160.0 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e40e32f3b59c589e6d319213df10b02db23f6bc6372be2b6bf2de91be06937d |
|
MD5 | 76bbccf40346bb021dac5f45bc0c3518 |
|
BLAKE2b-256 | 8aebb48052d1fd6235ac9f5bcf61600f3e36ac9b3f5efc9a7e81f6437a1cb7a0 |
File details
Details for the file MDDC-1.0.0-cp311-cp311-win32.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp311-cp311-win32.whl
- Upload date:
- Size: 153.4 kB
- Tags: CPython 3.11, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 300194b695208216d35434520db77cacdda3b3f860b9ab5000476931abd2b86a |
|
MD5 | 65b42516965cd4323343278b1902009f |
|
BLAKE2b-256 | 5f3fd6dbf975ee78ba26525cab31e41894d4c21ec7c14577f7caa851a85076d2 |
File details
Details for the file MDDC-1.0.0-cp311-cp311-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e472f24e13a61e7acf2133280a7417602d124be27820bf844dec53b7b14b629 |
|
MD5 | 15f77cc6dfc7a689a98925a78df8ef23 |
|
BLAKE2b-256 | 713be9d26584168b49b38bff5b0177188f006d75cf59e8891b4ff95a4f2bd7a2 |
File details
Details for the file MDDC-1.0.0-cp311-cp311-musllinux_1_2_i686.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp311-cp311-musllinux_1_2_i686.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63baac84e06b672b672818376ec95f8ab296a2be781ab06e75e991413ac46acf |
|
MD5 | 3a63d0ebcc81f2966eb3e8a84b521b23 |
|
BLAKE2b-256 | 7ade8f2778a6662909df16c814efc024424cc498404d739f58cedd9d92a19631 |
File details
Details for the file MDDC-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 198.0 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a6f8e3bb21015f6dd9214d62eb6fcf936103a1f355664ab1d1cdef82306d34d |
|
MD5 | e4e68cfac5e7a2a69cf6033761fb4a74 |
|
BLAKE2b-256 | 360884a0a603e2386e5032b926f08a60447161b0b33289447bb217999d87b3af |
File details
Details for the file MDDC-1.0.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 204.6 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2484a0394525b8a3d364cb2e00a15ec32b48e1453087a4bd597f9c683c67afea |
|
MD5 | 63ed447c19d8d98afe50607c1c743c9f |
|
BLAKE2b-256 | b237c49af107b175f1c210d25576eac60a9cc7b5302a7f7b696b862a3dc185d1 |
File details
Details for the file MDDC-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 161.2 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23fddecb0003ab3e2940bf10c1581ec240a465636d1367797d9b4fbee5e96a66 |
|
MD5 | 6ab43150f634037633a5ebf89ac3b9dd |
|
BLAKE2b-256 | aa948848c3c13ac02e5a0555d3d77a3c490442f6118ac5526e9cf1580ee4a65e |
File details
Details for the file MDDC-1.0.0-cp311-cp311-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 165.0 kB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20e23891ec4582e7fe9e3bb78ac7cc9f859daf7eaa6707c3466dca3576016f5c |
|
MD5 | fa43269107c26074d8579c8afb616739 |
|
BLAKE2b-256 | 1d0392f26791177f785b6fc6d787e0046fa1f51c800dfc3eecdfa72daaed794e |
File details
Details for the file MDDC-1.0.0-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 158.6 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca7e9e83a118ace50e0e9875662606dbc446439bf1cbdee907941ae93af11139 |
|
MD5 | 187b634ae8787c462440f9fe0e311424 |
|
BLAKE2b-256 | e8712af6826cbf30f8d26e625b8ca5622c52ae96636cdb41b8e2cb130a4181d3 |
File details
Details for the file MDDC-1.0.0-cp310-cp310-win32.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp310-cp310-win32.whl
- Upload date:
- Size: 152.4 kB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 063e89b8cdaa13c39fe50c3973f127a1d90ee9ebdd489aec3b0154a0d9319e30 |
|
MD5 | e5a19693c908f0208c61b3fa7a56b840 |
|
BLAKE2b-256 | c540fe9f62c7b00790b3c52e87d4f021ddf43fe357ac0179d7fb64c24ae2fd27 |
File details
Details for the file MDDC-1.0.0-cp310-cp310-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7d217c3a8a646ed4ed62d870910ed92cc0476be9cb91988bb642d7bb5ea88ae |
|
MD5 | 1cad051a12df7a615ea019f143689887 |
|
BLAKE2b-256 | 811d4a29678640bfabfa429ea1bc93d439ebcf2ddcc44bded8800f51ee9b2be8 |
File details
Details for the file MDDC-1.0.0-cp310-cp310-musllinux_1_2_i686.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp310-cp310-musllinux_1_2_i686.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32a14a638b5ea41ff7b81f2831b7c54581dd324eed24f1722f8388a25003c332 |
|
MD5 | 263aeed97883d4f6281b285c94d17911 |
|
BLAKE2b-256 | c91cf9ec5c2aa3112e9c8c4841c2ef076e44e7286074094af242de7e8828c576 |
File details
Details for the file MDDC-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 196.6 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4814f140dfc88531e021eb5beba6fc0a946a4072e8796db7581fb72eb065cd7 |
|
MD5 | 82b1da50558451aff8660875f4cd3810 |
|
BLAKE2b-256 | d12784e8a9f9837060b051ece3e7a728f322d5fa74e478b4fdcf5cd4fb7f2fd2 |
File details
Details for the file MDDC-1.0.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 203.6 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3000d2607c9dd091342a7a071f62c6122f36a8e1d756c59f2272659b2b01a8f8 |
|
MD5 | 8681c36b09c808d806e9eafd2a141dfb |
|
BLAKE2b-256 | 59d59e08ab258aa5800dfb0e10755e43fc90295ce3f16dc628fb50cf5c649e96 |
File details
Details for the file MDDC-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 159.8 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cd4148b76668f467a6118ab75d214c564b20da599d4cd081900475f8503fe5f |
|
MD5 | 6e3e79c0387d7aaa95258cfb6867bbb2 |
|
BLAKE2b-256 | 9d37d624770039f1e0fe7de17b9b450f9bdbd7b09974d5c69dfeb99683851678 |
File details
Details for the file MDDC-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: MDDC-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 163.6 kB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ca919224d4d6ea2aa36023b2bda66340653e84926523f0fa9d6fb7675abefe3 |
|
MD5 | 99bc778546450c47bd52c72e99d601cd |
|
BLAKE2b-256 | e010b2f370ae657d7b9adac3a36c58f82a04d85ccc1a163dbdd5e7b7ba5c89ba |