source: orange-bioinformatics/docs/reference/obiMeSH-calculate-enrichment.py @ 1634:32373d957326

Revision 1634:32373d957326, 343 bytes checked in by mitar, 2 years ago (diff)

Renamed addon reference documentation.

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.