Skip to main content
PyPI version Python versions supported License

master

Coverage (master branch) Travis-CI build Status (master branch) Appveyor build Status (master branch) Documentation Status (master branch)

develop

Coverage (develop branch) Travis-CI build Status (develop branch) Appveyor build Status (develop branch) Documentation Status (develop branch)

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).

Metadata

Release files for xlmhg 2.5.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xlmhg 2.5.4
File Size Uploaded
xlmhg-2.5.4.tar.gz 146.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for xlmhg 2.5.4
File
xlmhg-2.5.4-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
xlmhg-2.5.4-cp38-cp38-manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details
xlmhg-2.5.4-cp38-cp38-manylinux1_i686.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-32 Details
xlmhg-2.5.4-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
xlmhg-2.5.4-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
xlmhg-2.5.4-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
xlmhg-2.5.4-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
xlmhg-2.5.4-cp37-cp37m-manylinux1_i686.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-32 Details
xlmhg-2.5.4-cp37-cp37m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64, macOS 10.6+ x86-64, macOS 10.10+ x86-64 Details
xlmhg-2.5.4-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
xlmhg-2.5.4-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
xlmhg-2.5.4-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
xlmhg-2.5.4-cp36-cp36m-manylinux1_i686.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-32 Details
xlmhg-2.5.4-cp36-cp36m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64, macOS 10.6+ x86-64, macOS 10.10+ x86-64 Details
xlmhg-2.5.4-cp35-cp35m-manylinux1_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 Details
xlmhg-2.5.4-cp35-cp35m-manylinux1_i686.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-32 Details
xlmhg-2.5.4-cp35-cp35m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl CPython 3.5 CPython 3.5 pymalloc macOS 10.9+ x86-64, macOS 10.10+ x86-64, macOS 10.6+ x86-64 Details

Total release size: 3.4 MB

Release files / xlmhg-2.5.4.tar.gz

Download URL xlmhg-2.5.4.tar.gz
Size 146.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3d6764ff16f8eea8522a094cfa119b80ebe4a7c23ae75f2111d0a8306ddd4e57
BLAKE2b-256 checksum
How to use checksums
2a3f0b682714b0242d07c55e41919ee0e6dcc69a8b8652ffac7b4a520db88645
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

Release files / xlmhg-2.5.4-cp38-cp38-win_amd64.whl

Download URL xlmhg-2.5.4-cp38-cp38-win_amd64.whl
Size 88.9 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
f43bea121609ae6b7b79cf9b60f174b7442746d2fdab4a64ff2d60cbb7c60677
BLAKE2b-256 checksum
How to use checksums
d5b5cffaa439e4001183a84bc658a61916e6e5e55bd597573be36bb1dd699ea2
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

Release files / xlmhg-2.5.4-cp38-cp38-manylinux1_x86_64.whl

Download URL xlmhg-2.5.4-cp38-cp38-manylinux1_x86_64.whl
Size 330.8 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
5dfc82555c5572e23f21ec13a3be345fd4caa53fc2fc8a0fc8e8d23b292cedb9
BLAKE2b-256 checksum
How to use checksums
18eadaaa3f0ca280c88bfd2de74ae988da7bb8f40b9bd6c655fff2b17270b5c9
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

Release files / xlmhg-2.5.4-cp38-cp38-manylinux1_i686.whl

Download URL xlmhg-2.5.4-cp38-cp38-manylinux1_i686.whl
Size 308.0 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
92a7e75d1a89a38350c4d3c50407938832947fbd71c827fc0b470efd41a0c488
BLAKE2b-256 checksum
How to use checksums
00a097cb916d01ecdf3df9b059cb55a87380df756d07b6231f097dcb5eb322d4
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

Release files / xlmhg-2.5.4-cp38-cp38-macosx_10_9_x86_64.whl

Download URL xlmhg-2.5.4-cp38-cp38-macosx_10_9_x86_64.whl
Size 92.1 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
25705d854b25f85a08c74238fa4f0b487f3fae8c60df2c9aa8b4f7187aef4f47
BLAKE2b-256 checksum
How to use checksums
4c4c53ceb4401e6c6c6c38da7937af7f4f3474ec0aec7eee877be1c97572b35d
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

Release files / xlmhg-2.5.4-cp37-cp37m-win_amd64.whl

Download URL xlmhg-2.5.4-cp37-cp37m-win_amd64.whl
Size 87.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
2bac3708c89f11246f4c2636ae97b3b94e34d6ce034097c3d47ea961a130874f
BLAKE2b-256 checksum
How to use checksums
71da233fffd72f9ab2c983efe6368acb31c9293b66c5de15d5c0c21bf12c4c45
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

Release files / xlmhg-2.5.4-cp37-cp37m-win32.whl

Download URL xlmhg-2.5.4-cp37-cp37m-win32.whl
Size 72.8 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
346ecdc793b5238348c30bf6d8f73996444fe83a0453d068bba398526058d0fc
BLAKE2b-256 checksum
How to use checksums
f04f3fc260764c03829821652a8aa95636ae7ae011d86b2b83074983a9eeaf1f
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

Release files / xlmhg-2.5.4-cp37-cp37m-manylinux1_x86_64.whl

Download URL xlmhg-2.5.4-cp37-cp37m-manylinux1_x86_64.whl
Size 326.7 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
69abb6a5c8b4b1f1751c20f440e8c08d89fb8e7b82fa66472c1d6072cdac17de
BLAKE2b-256 checksum
How to use checksums
a029be8c1ae8112e5bad31164f69ac56e04951d2924ed5e3e610fd7c0544e4b3
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

Release files / xlmhg-2.5.4-cp37-cp37m-manylinux1_i686.whl

Download URL xlmhg-2.5.4-cp37-cp37m-manylinux1_i686.whl
Size 304.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
0954685504a568a3218807fe21c28656cb85c5c8864b3f357a270d41357dd89d
BLAKE2b-256 checksum
How to use checksums
922ecc54e9ae86b5b9a978875c337ef4df61ad259e8c6bbe1ba006de94245e38
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

Release files / xlmhg-2.5.4-cp37-cp37m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl

Download URL xlmhg-2.5.4-cp37-cp37m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl
Size 92.6 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.10+ x86-64 macOS 10.6+ x86-64 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
3a2ab8616bd1a8b8015f2859b03aecf875d38a3727625e4324732f15b796f38b
BLAKE2b-256 checksum
How to use checksums
ba575f80e39236226565e787548557cf80a0596d393c0aaad66cc9bf1f002591
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

Release files / xlmhg-2.5.4-cp36-cp36m-win_amd64.whl

Download URL xlmhg-2.5.4-cp36-cp36m-win_amd64.whl
Size 87.5 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
918f304d743c189bc0f228aefe1546a7ebce9cc9d3c816ea1205875dddefdcb4
BLAKE2b-256 checksum
How to use checksums
9b38baaa743750507697381a2c44ba18730e22f3a8a9ebd662b60c5a2bbe4e38
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

Release files / xlmhg-2.5.4-cp36-cp36m-win32.whl

Download URL xlmhg-2.5.4-cp36-cp36m-win32.whl
Size 72.8 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
edb97b8950a300b49ac54276a0dfebba2ff6584e1a9e0829df32b45262367869
BLAKE2b-256 checksum
How to use checksums
264c08dc47a0ddbe00d2d0b8a37f91c08c4aa461a69b25797311abba8887fca4
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

Release files / xlmhg-2.5.4-cp36-cp36m-manylinux1_x86_64.whl

Download URL xlmhg-2.5.4-cp36-cp36m-manylinux1_x86_64.whl
Size 327.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
e1cb7f92a7ca5f579e5de77a76396681a67d1b9f1c3dfe8c65532d306efff3e7
BLAKE2b-256 checksum
How to use checksums
b4f8c307f12c2203dbf92b6746022ac218a7dcbd82bcae9cd8ec39dff622f572
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

Release files / xlmhg-2.5.4-cp36-cp36m-manylinux1_i686.whl

Download URL xlmhg-2.5.4-cp36-cp36m-manylinux1_i686.whl
Size 304.7 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
8e69fec87fc042d2620a1b65c5e27bf293632864be94ea26e8d29164d101ed33
BLAKE2b-256 checksum
How to use checksums
30b4d9d5e4fccbddb65ca3b99492a539a6125868a2412a48656930e94778caef
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

Release files / xlmhg-2.5.4-cp36-cp36m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl

Download URL xlmhg-2.5.4-cp36-cp36m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl
Size 92.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.10+ x86-64 macOS 10.6+ x86-64 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
e4e06c5c4fb33e32ccb3666531f1a6a2f310a72b44cc594890355ca971ae1688
BLAKE2b-256 checksum
How to use checksums
6ae08d7e60d4c7afd6ee8015bbe0e52ac32cbe84f423f667b3b8a2b7a5b60249
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

Release files / xlmhg-2.5.4-cp35-cp35m-manylinux1_x86_64.whl

Download URL xlmhg-2.5.4-cp35-cp35m-manylinux1_x86_64.whl
Size 324.0 kB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
5dc9ac6c8c0ed70ca4d64972c7efbbbae422204bac87a041d1cf88e7070e1e2f
BLAKE2b-256 checksum
How to use checksums
c21a35f5c74d2ca824337c63f38235f578711881b08138bbc7d3b8624f707532
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

Release files / xlmhg-2.5.4-cp35-cp35m-manylinux1_i686.whl

Download URL xlmhg-2.5.4-cp35-cp35m-manylinux1_i686.whl
Size 300.8 kB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
2d0595b384fa18181fb4665bec11aa3945f3d5aae96001e37c9ffa828491e0c3
BLAKE2b-256 checksum
How to use checksums
b7b00a9ec4af4b01589c940927417e7402f28b9a576d9ab7161c5fdbb1f281e6
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/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

Release files / xlmhg-2.5.4-cp35-cp35m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl

Download URL xlmhg-2.5.4-cp35-cp35m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl
Size 90.5 kB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.10+ x86-64 macOS 10.6+ x86-64 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
7cce9f2b99a66d96f82028d677937890b6fe71e7c3b94d20da9e64e11faf61b9
BLAKE2b-256 checksum
How to use checksums
949628cf1dc5c418e7709b18f81a7e0f5acfe41bc6dfa0edb01ee6cbd5a7af98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.5.6

Release history Release notifications | RSS feed

This release

2.5.4 This release

18 release files

2.5.2

5 release files

2.5.1

5 release files

2.5.0

5 release files

2.4.8

11 release files

2.4.7

16 release files

2.4.5

13 release files

2.4.4

7 release files

2.4.3

13 release files

2.4.2

13 release files

2.4.1

13 release files

2.4.0

13 release files

2.2.9

11 release files

2.2.8

11 release files

2.2.7

11 release files

2.2.6

11 release files

2.2.5

9 release files

2.2.4

7 release files

2.2.3

6 release files

2.2.1

5 release files

2.2.0

2 release files

2.1.1

1 release file

2.1.0

1 release file

2.0.7

1 release file

2.0.6

1 release file

2.0.5

1 release file

2.0.4

1 release file

2.0.3

1 release file

2.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page