source: orange-bioinformatics/docs/modules/obiMeSH-calculate-enrichment.py @ 1623:186d828e3699

Revision 1623:186d828e3699, 343 bytes checked in by mitar, 2 years ago (diff)

Renamed documentation directory.

Line 
1import obiMeSH
2import orange
3
4# load datasets
5reference = orange.ExampleTable('obiMeSH-reference-dataset.tab')
6cluster = orange.ExampleTable('obiMeSH-cluster-dataset.tab')
7
8# find and print enriched MeSH terms with p-value < 0.1
9d = obiMeSH.obiMeSH()
10enrichment = d.findEnrichedTerms(reference, cluster, pThreshold=0.1)
11d.printMeSH(enrichment)
Note: See TracBrowser for help on using the repository browser.