File: statistics.py

package info (click to toggle)
pyranges 0.0.111%2Bds-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,996 kB
  • sloc: python: 5,546; makefile: 37; sh: 6
file content (9 lines) | stat: -rw-r--r-- 229 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
import pyranges as pr

def test_mcc():

    gr1, gr2 = pr.data.chipseq(), pr.data.chipseq_background()
    g = pr.data.chromsizes()
    mcc = pr.stats.mcc([gr1, gr2], genome=g, labels=["chip", "bg"], strand=True)

    print(mcc)