There is a classical problem in statistics known as the two-sample problem. In this setting, you are given discrete observations of two different distributions and asked to determine if the distributions are significantly different. A special univariate case of this problem is familiar to many biologists as a “difference in means” comparison – as performed using Student’s t-test.
This problem becomes somewhat more complex in high-dimensions, as differences between distributions may manifest not only in the mean location, but also in the covariance structure and modality of the data. One approach to comparing distributions in this setting leverages kernel similarity metrics to find the maximum mean discrepancy (Gretton et. al. 2012, JMLR) – the largest difference in the means of the distributions under a flexible transformation.
Here, we adapt the MMD method to compare cell populations in single cell measurement data. In the frame of the two-sample problem, each cell population of interest is considered as a distribution and each cell is a single observation from the source distribution. We use the MMD to compute (1) a metric of the magnitude of difference between two cell populations, and (2) a p-value for the significance of this difference.
Metadata
Release files for scmmd 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scmmd-0.1.0.tar.gz | 7.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scmmd-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.0 kB
Release files / scmmd-0.1.0.tar.gz
| Download URL | scmmd-0.1.0.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6f3a97e61baca041330a9c5e99640901b613c97a97436c05b0a7d9c9be63094
|
|
BLAKE2b-256 checksum How to use checksums |
70b437c46ae863b23dacfd6995024768a45cc1bd54d0ebba90260a4810c5e391
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.6.7
|
Release files / scmmd-0.1.0-py3-none-any.whl
| Download URL | scmmd-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb0043191a55b250386622d041cacd564d33113bcdcd3ac7aa47b9175561bd5a
|
|
BLAKE2b-256 checksum How to use checksums |
7839e6ec290bb314901663e05cf5ad07f3062ab79a92f4bd44511c0dc3f8f443
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.6.7
|