pylimma.gene_set_test
- pylimma.gene_set_test(index, statistics, alternative='mixed', type='auto', ranks_only=True, nsim=9999, rng=None)[source]
Competitive gene-set test.
Port of R limma’s
geneSetTest. Whenranks_only=Truethe p-value is obtained analytically viarank_sum_test_with_correlation(); otherwise a permutation distribution is simulated usingrng.The
typekeyword shadows the Python builtin type; this is deliberate for R-signature parity (limma’sgeneSetTest(type=...)). The shadow is local to this function and the body never invokestype(); callers keyword-passingtype=...works as expected.