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).
Copyright and License
Copyright (c) 2015-2019 Florian Wagner
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xlmhg-2.5.4.tar.gz.
File metadata
- Download URL: xlmhg-2.5.4.tar.gz
- Upload date:
- Size: 146.1 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d6764ff16f8eea8522a094cfa119b80ebe4a7c23ae75f2111d0a8306ddd4e57
|
|
| MD5 |
845c3958a0aaf1dee57e7c2e2e31726f
|
|
| BLAKE2b-256 |
2a3f0b682714b0242d07c55e41919ee0e6dcc69a8b8652ffac7b4a520db88645
|
File details
Details for the file xlmhg-2.5.4-cp38-cp38-win_amd64.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 88.9 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f43bea121609ae6b7b79cf9b60f174b7442746d2fdab4a64ff2d60cbb7c60677
|
|
| MD5 |
ed53ee5e0bf94498b06eba85f617addd
|
|
| BLAKE2b-256 |
d5b5cffaa439e4001183a84bc658a61916e6e5e55bd597573be36bb1dd699ea2
|
File details
Details for the file xlmhg-2.5.4-cp38-cp38-manylinux1_x86_64.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp38-cp38-manylinux1_x86_64.whl
- Upload date:
- Size: 330.8 kB
- Tags: CPython 3.8
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dfc82555c5572e23f21ec13a3be345fd4caa53fc2fc8a0fc8e8d23b292cedb9
|
|
| MD5 |
d8c061ed6606b54357fc43d1bb43ffba
|
|
| BLAKE2b-256 |
18eadaaa3f0ca280c88bfd2de74ae988da7bb8f40b9bd6c655fff2b17270b5c9
|
File details
Details for the file xlmhg-2.5.4-cp38-cp38-manylinux1_i686.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp38-cp38-manylinux1_i686.whl
- Upload date:
- Size: 308.0 kB
- Tags: CPython 3.8
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92a7e75d1a89a38350c4d3c50407938832947fbd71c827fc0b470efd41a0c488
|
|
| MD5 |
259cdabe12a270005996bae3c555a5a9
|
|
| BLAKE2b-256 |
00a097cb916d01ecdf3df9b059cb55a87380df756d07b6231f097dcb5eb322d4
|
File details
Details for the file xlmhg-2.5.4-cp38-cp38-macosx_10_9_x86_64.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 92.1 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25705d854b25f85a08c74238fa4f0b487f3fae8c60df2c9aa8b4f7187aef4f47
|
|
| MD5 |
503069024ada934e1c49c5c172d99d03
|
|
| BLAKE2b-256 |
4c4c53ceb4401e6c6c6c38da7937af7f4f3474ec0aec7eee877be1c97572b35d
|
File details
Details for the file xlmhg-2.5.4-cp37-cp37m-win_amd64.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 87.5 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bac3708c89f11246f4c2636ae97b3b94e34d6ce034097c3d47ea961a130874f
|
|
| MD5 |
68dfe0f586345c02b8345ed0f6af685d
|
|
| BLAKE2b-256 |
71da233fffd72f9ab2c983efe6368acb31c9293b66c5de15d5c0c21bf12c4c45
|
File details
Details for the file xlmhg-2.5.4-cp37-cp37m-win32.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp37-cp37m-win32.whl
- Upload date:
- Size: 72.8 kB
- Tags: CPython 3.7m, Windows x86
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
346ecdc793b5238348c30bf6d8f73996444fe83a0453d068bba398526058d0fc
|
|
| MD5 |
8dd84673028d4d6f929923a467e9dfb6
|
|
| BLAKE2b-256 |
f04f3fc260764c03829821652a8aa95636ae7ae011d86b2b83074983a9eeaf1f
|
File details
Details for the file xlmhg-2.5.4-cp37-cp37m-manylinux1_x86_64.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 326.7 kB
- Tags: CPython 3.7m
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69abb6a5c8b4b1f1751c20f440e8c08d89fb8e7b82fa66472c1d6072cdac17de
|
|
| MD5 |
f9e9c0e0138a375b7e43e48f50ffe08b
|
|
| BLAKE2b-256 |
a029be8c1ae8112e5bad31164f69ac56e04951d2924ed5e3e610fd7c0544e4b3
|
File details
Details for the file xlmhg-2.5.4-cp37-cp37m-manylinux1_i686.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp37-cp37m-manylinux1_i686.whl
- Upload date:
- Size: 304.1 kB
- Tags: CPython 3.7m
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0954685504a568a3218807fe21c28656cb85c5c8864b3f357a270d41357dd89d
|
|
| MD5 |
c4dfc2aab9d4df2bbc7dafb81847034f
|
|
| BLAKE2b-256 |
922ecc54e9ae86b5b9a978875c337ef4df61ad259e8c6bbe1ba006de94245e38
|
File details
Details for the file xlmhg-2.5.4-cp37-cp37m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp37-cp37m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl
- Upload date:
- Size: 92.6 kB
- Tags: CPython 3.7m, macOS 10.10+ x86-64, macOS 10.6+ x86-64, macOS 10.9+ x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a2ab8616bd1a8b8015f2859b03aecf875d38a3727625e4324732f15b796f38b
|
|
| MD5 |
890582c60b1dda1bbaf1240d68c37fc4
|
|
| BLAKE2b-256 |
ba575f80e39236226565e787548557cf80a0596d393c0aaad66cc9bf1f002591
|
File details
Details for the file xlmhg-2.5.4-cp36-cp36m-win_amd64.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 87.5 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
918f304d743c189bc0f228aefe1546a7ebce9cc9d3c816ea1205875dddefdcb4
|
|
| MD5 |
5033f77047850c962107b0f29d71bfc9
|
|
| BLAKE2b-256 |
9b38baaa743750507697381a2c44ba18730e22f3a8a9ebd662b60c5a2bbe4e38
|
File details
Details for the file xlmhg-2.5.4-cp36-cp36m-win32.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp36-cp36m-win32.whl
- Upload date:
- Size: 72.8 kB
- Tags: CPython 3.6m, Windows x86
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edb97b8950a300b49ac54276a0dfebba2ff6584e1a9e0829df32b45262367869
|
|
| MD5 |
0582fca68e39f81cede965be39b43e01
|
|
| BLAKE2b-256 |
264c08dc47a0ddbe00d2d0b8a37f91c08c4aa461a69b25797311abba8887fca4
|
File details
Details for the file xlmhg-2.5.4-cp36-cp36m-manylinux1_x86_64.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 327.3 kB
- Tags: CPython 3.6m
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1cb7f92a7ca5f579e5de77a76396681a67d1b9f1c3dfe8c65532d306efff3e7
|
|
| MD5 |
f4951845c4f61362edde650de9f9954c
|
|
| BLAKE2b-256 |
b4f8c307f12c2203dbf92b6746022ac218a7dcbd82bcae9cd8ec39dff622f572
|
File details
Details for the file xlmhg-2.5.4-cp36-cp36m-manylinux1_i686.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp36-cp36m-manylinux1_i686.whl
- Upload date:
- Size: 304.7 kB
- Tags: CPython 3.6m
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e69fec87fc042d2620a1b65c5e27bf293632864be94ea26e8d29164d101ed33
|
|
| MD5 |
9b1189514cad3e10bad0cffae7436d96
|
|
| BLAKE2b-256 |
30b4d9d5e4fccbddb65ca3b99492a539a6125868a2412a48656930e94778caef
|
File details
Details for the file xlmhg-2.5.4-cp36-cp36m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp36-cp36m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl
- Upload date:
- Size: 92.3 kB
- Tags: CPython 3.6m, macOS 10.10+ x86-64, macOS 10.6+ x86-64, macOS 10.9+ x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4e06c5c4fb33e32ccb3666531f1a6a2f310a72b44cc594890355ca971ae1688
|
|
| MD5 |
30c4f4c0542b3b8087436b3e09f95199
|
|
| BLAKE2b-256 |
6ae08d7e60d4c7afd6ee8015bbe0e52ac32cbe84f423f667b3b8a2b7a5b60249
|
File details
Details for the file xlmhg-2.5.4-cp35-cp35m-manylinux1_x86_64.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 324.0 kB
- Tags: CPython 3.5m
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dc9ac6c8c0ed70ca4d64972c7efbbbae422204bac87a041d1cf88e7070e1e2f
|
|
| MD5 |
e23df1472aa719d6cae9bb59aafe1bdd
|
|
| BLAKE2b-256 |
c21a35f5c74d2ca824337c63f38235f578711881b08138bbc7d3b8624f707532
|
File details
Details for the file xlmhg-2.5.4-cp35-cp35m-manylinux1_i686.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp35-cp35m-manylinux1_i686.whl
- Upload date:
- Size: 300.8 kB
- Tags: CPython 3.5m
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d0595b384fa18181fb4665bec11aa3945f3d5aae96001e37c9ffa828491e0c3
|
|
| MD5 |
2c45e2aa6b029b20823b9bac695ebd9f
|
|
| BLAKE2b-256 |
b7b00a9ec4af4b01589c940927417e7402f28b9a576d9ab7161c5fdbb1f281e6
|
File details
Details for the file xlmhg-2.5.4-cp35-cp35m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl.
File metadata
- Download URL: xlmhg-2.5.4-cp35-cp35m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl
- Upload date:
- Size: 90.5 kB
- Tags: CPython 3.5m, macOS 10.10+ x86-64, macOS 10.6+ x86-64, macOS 10.9+ x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cce9f2b99a66d96f82028d677937890b6fe71e7c3b94d20da9e64e11faf61b9
|
|
| MD5 |
812854d6de63729ff12f308fae21850b
|
|
| BLAKE2b-256 |
949628cf1dc5c418e7709b18f81a7e0f5acfe41bc6dfa0edb01ee6cbd5a7af98
|