Skip to main content

Maximum mean discrepancy comparisons single cell profiles

Project description

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.

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

scmmd-0.1.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

scmmd-0.1.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file scmmd-0.1.0.tar.gz.

File metadata

  • Download URL: scmmd-0.1.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for scmmd-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f6f3a97e61baca041330a9c5e99640901b613c97a97436c05b0a7d9c9be63094
MD5 b1f44ed78fde53a331cf335a64d61eec
BLAKE2b-256 70b437c46ae863b23dacfd6995024768a45cc1bd54d0ebba90260a4810c5e391

See more details on using hashes here.

File details

Details for the file scmmd-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: scmmd-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for scmmd-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb0043191a55b250386622d041cacd564d33113bcdcd3ac7aa47b9175561bd5a
MD5 8bb3f7c812b6b18fff54c52d701d84f3
BLAKE2b-256 7839e6ec290bb314901663e05cf5ad07f3062ab79a92f4bd44511c0dc3f8f443

See more details on using hashes here.

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