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.
$ pip install xlmhg
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:
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/>.