Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

XL-mHG: A Semiparametric Test for Enrichment

Project Description
master
develop

This is an efficient Python/Cython implementation of the semiparametric XL-mHG test for enrichment in ranked lists. The XL-mHG test is an extension of the nonparametric mHG test, which was developed by Dr. Zohar Yakhini and colleagues.

Installation

$ pip install xlmhg

Getting started

The xlmhg package provides two functions (one simple and more more advanced) for performing XL-mHG tests. These functions are documented in the User Manual. Here’s a quick example using the “simple” test function:

import xlmhg
stat, cutoff, pval = xlmhg.xlmhg_test(v, X, L)

Where: v is the ranked list of 0’s and 1’s, represented by a NumPy array of integers, X and L are the XL-mHG parameters, and the return values have the following meanings:

  • stat: The XL-mHG test statistic
  • cutoff: The cutoff at which XL-mHG test statistic was attained
  • pval: The XL-mHG p-value

Documentation

Please refer to the XL-mHG User Manual (hosted on ReadTheDocs).

Citing XL-mHG

If you use the XL-mHG test in your research, please cite Eden et al. (PLoS Comput Biol, 2007) and Wagner (PLoS One, 2015).

Release History

Release History

This version
History Node

2.4.9

History Node

2.4.8

History Node

2.4.7

History Node

2.4.6

History Node

2.4.5

History Node

2.4.4

History Node

2.4.3

History Node

2.4.2

History Node

2.4.1

History Node

2.4.0

History Node

2.3.1

History Node

2.3.0

History Node

2.2.12

History Node

2.2.11

History Node

2.2.10

History Node

2.2.9

History Node

2.2.8

History Node

2.2.7

History Node

2.2.6

History Node

2.2.5

History Node

2.2.4

History Node

2.2.3

History Node

2.2.1

History Node

2.2.0

History Node

2.1.1

History Node

2.1.0

History Node

2.0.7

History Node

2.0.6

History Node

2.0.5

History Node

2.0.5rc1

History Node

2.0.4

History Node

2.0.3

History Node

2.0.1

History Node

1.1rc3

History Node

1.1rc2

History Node

1.1rc1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
xlmhg-2.4.9-cp27-cp27m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl (98.1 kB) Copy SHA256 Checksum SHA256 cp27 Wheel Mar 4, 2017
xlmhg-2.4.9-cp27-cp27mu-manylinux1_i686.whl (313.6 kB) Copy SHA256 Checksum SHA256 cp27 Wheel Mar 4, 2017
xlmhg-2.4.9-cp27-cp27mu-manylinux1_x86_64.whl (334.3 kB) Copy SHA256 Checksum SHA256 cp27 Wheel Mar 4, 2017
xlmhg-2.4.9-cp27-cp27m-win32.whl (74.5 kB) Copy SHA256 Checksum SHA256 cp27 Wheel Mar 4, 2017
xlmhg-2.4.9-cp27-cp27m-win_amd64.whl (86.7 kB) Copy SHA256 Checksum SHA256 cp27 Wheel Mar 4, 2017
xlmhg-2.4.9-cp34-cp34m-manylinux1_i686.whl (315.2 kB) Copy SHA256 Checksum SHA256 cp34 Wheel Mar 4, 2017
xlmhg-2.4.9-cp34-cp34m-manylinux1_x86_64.whl (340.9 kB) Copy SHA256 Checksum SHA256 cp34 Wheel Mar 4, 2017
xlmhg-2.4.9-cp35-cp35m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl (93.4 kB) Copy SHA256 Checksum SHA256 cp35 Wheel Mar 4, 2017
xlmhg-2.4.9-cp35-cp35m-manylinux1_i686.whl (306.7 kB) Copy SHA256 Checksum SHA256 cp35 Wheel Mar 4, 2017
xlmhg-2.4.9-cp35-cp35m-manylinux1_x86_64.whl (328.8 kB) Copy SHA256 Checksum SHA256 cp35 Wheel Mar 4, 2017
xlmhg-2.4.9-cp35-cp35m-win32.whl (70.3 kB) Copy SHA256 Checksum SHA256 cp35 Wheel Mar 4, 2017
xlmhg-2.4.9-cp35-cp35m-win_amd64.whl (82.0 kB) Copy SHA256 Checksum SHA256 cp35 Wheel Mar 4, 2017
xlmhg-2.4.9-cp36-cp36m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl (93.6 kB) Copy SHA256 Checksum SHA256 cp36 Wheel Mar 4, 2017
xlmhg-2.4.9-cp36-cp36m-manylinux1_i686.whl (307.2 kB) Copy SHA256 Checksum SHA256 cp36 Wheel Mar 4, 2017
xlmhg-2.4.9-cp36-cp36m-manylinux1_x86_64.whl (331.2 kB) Copy SHA256 Checksum SHA256 cp36 Wheel Mar 4, 2017
xlmhg-2.4.9.tar.gz (131.8 kB) Copy SHA256 Checksum SHA256 Source Mar 4, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting