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).
Copyright and License
Copyright (c) 2015-2017 Florian Wagner
XL-mHG is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License, Version 3, as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Project details
Release history Release notifications | RSS feed
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
Hashes for xlmhg-2.4.6-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | beadc754a75f13daedc2b7696e0bc03aa47bf288a6d71d9ec7c13af97aaa156f |
|
MD5 | c492248d933f9d937866ac3be16a92c0 |
|
BLAKE2b-256 | b8c2624a393b76173a5a2101f20fc52f2a7b8e9bf585face14f2a26f2c8a8f95 |
Hashes for xlmhg-2.4.6-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4eea3a7e4c8eb9c309bec1c40cb0199df1e9e5d92b501d6d0b393a2fe58f128b |
|
MD5 | d9ff5df6e49d560815dd1b53fb40c9a9 |
|
BLAKE2b-256 | 3f92b636b74dff428ffabe9c63d6574a2c93a58f5b2d3a693fdc6c26ca8b4f52 |
Hashes for xlmhg-2.4.6-cp36-cp36m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 961b93bb5c0f94adf9782ecdf03d04d413e8f170a96ac5b3740007f5ce8cbff3 |
|
MD5 | 99dc60832185d2a2c3bb440c760d6435 |
|
BLAKE2b-256 | 7cc7913df5b416da859ccddb9d734ff94b5dfd38e05ff13dfaa2c362ed19201c |
Hashes for xlmhg-2.4.6-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04d71c7dcabf4fe02365f3434d2fecc2287ccc036a307668384d7e8ced51db44 |
|
MD5 | cb795ed9724f5285e85d7b63ea0cf590 |
|
BLAKE2b-256 | 1019ae427113254e450b845b44c9c3dcd7a872509a13646e775cc1a3309442f6 |
Hashes for xlmhg-2.4.6-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad7806cb711a31df53c4c1b743c9969d710509f4b00e6f277cd52746165c3428 |
|
MD5 | 9cf9ae103b3d48e5f18c8edfa48b17df |
|
BLAKE2b-256 | 0fac2299cc5f619f4112b38a6f8c570c4a3eae10536234b46151f5edf2ddb2f7 |
Hashes for xlmhg-2.4.6-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ea50bf7747c90372da41235ce9bef21806c0ac24b3cf214449e2f7a36befe57 |
|
MD5 | 938a18015c0bcfd2590d3932da6b9d15 |
|
BLAKE2b-256 | e243a4616f21e8c1be785410172e24b0f68d1061862b68a5b29719a7df80f39e |
Hashes for xlmhg-2.4.6-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dcb8b88ef0590bd3c44c2b293248f96fcd15dbd0d00b788c817528c6facc152 |
|
MD5 | 45b84d8c6843bf4f750f1d227975df25 |
|
BLAKE2b-256 | ff9f005e5493fc465f3a8ce8b4d81b6545922ee07254c54dff665d82436128c8 |
Hashes for xlmhg-2.4.6-cp35-cp35m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dffe12b0ea365fc28fcc7758328106bee94ad25be0e1fa9fad6d391453b9531 |
|
MD5 | 5edb96030ac5caa0bdb767579a78c18d |
|
BLAKE2b-256 | ecc44475f289cefee12419ee304769b84f9fc71369bf380ba5dc28b125f39f3e |
Hashes for xlmhg-2.4.6-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54745fef73e28df9df2085df8eef4cd12f0302451593b49fb694c9f76f32b7bc |
|
MD5 | 17b27cea81b1123bdc37f102d6286313 |
|
BLAKE2b-256 | 35bd980e3530b54ebb5550e55140d0e26c79fe3d9454de966a905513659bbb36 |
Hashes for xlmhg-2.4.6-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 907b84fb9846e6e015bed6a8f1da4bdf8aa9fe19717a659ff1d21288d8add4b6 |
|
MD5 | bf80410ab7d920240a8f0ab03bf4b84c |
|
BLAKE2b-256 | ba0dc731d3c549edb657f2748d5e3afc6ff0fa5d84a9cadbfaf2f90458f3afa3 |
Hashes for xlmhg-2.4.6-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 809b34efeb81a887ca38cc2f7ad255b3aecc54d6d4ef1aafbc9d382a1e5e7da7 |
|
MD5 | 80a1f945649b2c86e9cd4649b7113224 |
|
BLAKE2b-256 | c0f5626aa5dafa05766cade76ef8f1ee645750a75beb86920af9fb1d2b25075b |
Hashes for xlmhg-2.4.6-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fe76a878e58790c10230c246daa9a5533a29efad68e1e2cf1796e4daddc7610 |
|
MD5 | 41d5ea8bdbe1963358a70f28866b2295 |
|
BLAKE2b-256 | e720a6345d010d4b81ac8233e913fcfdad43a5acce35be310d450a7636ab7eeb |
Hashes for xlmhg-2.4.6-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a3dec23ffe39fad9b7a813ac7317d1177eaed4ad9406d6819378b2429fda3fd |
|
MD5 | 6c6d54cbf991e1764c01dd2667d445c5 |
|
BLAKE2b-256 | a92f78329904f060bb2f8295d5ae55878d8774a040025105290762b8bee750ab |
Hashes for xlmhg-2.4.6-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff0c24365d1100bcf88b4252e4340dd9dda08f09501cd4fc6064cc1ae7a6c373 |
|
MD5 | f5bd7b8a38d1299b00aa8011695796c5 |
|
BLAKE2b-256 | e5d59c2b03447c2a163555ea66177399bd672c586a9403ea4dc15973866945cb |
Hashes for xlmhg-2.4.6-cp27-cp27m-macosx_10_6_x86_64.macosx_10_9_x86_64.macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0e75c15d61914b820e58749b7c60fcebab52f8f19194dc1ab31d36864eebb47 |
|
MD5 | 9bf8e1b59a0ee85836f937d4990592e1 |
|
BLAKE2b-256 | fcf9c9cfc9730068ee419338a94585c8865ee7b5eb37c690978e856c82474714 |