xl-mhg:半参数富集试验
xlmhg的Python项目详细描述
master | |
develop |
这是半参数的一个有效的python/cython实现 XL-mHG test用于在排名列表中充实内容。xl-mhg测试是一个扩展 由Dr. Zohar Yakhini及其同事开发的非参数mHG test。
安装
$ pip install xlmhg
开始
xlmhg包提供两个功能(一个简单,一个更高级) 用于执行XL MHG测试。这些功能记录在 User Manual。下面是一个使用“simple”测试函数的快速示例:
importxlmhgstat,cutoff,pval=xlmhg.xlmhg_test(v,X,L)
其中:v是0和1的排名列表,由 整数、X和L是xl mhg参数,返回值有 以下含义:
- stat:xl mhg测试统计信息
- cutoff:获得xl mhg测试统计的截止值
- pval:xl mhg p值
文档
请参阅XL-mHG User Manual(托管在readthedocs上)。
引用xl mhg
如果你在研究中使用xl-mhg测试,请引用Eden et al. (PLoS Comput Biol, 2007)和Wagner (PLoS One, 2015)。
版权和许可
版权所有(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/>.