iups
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
""" Module for Gene ontology related functions called in R"""
|
||||
import scipy
|
||||
|
||||
import rpy
|
||||
silent_eval = rpy.with_mode(rpy.NO_CONVERSION, rpy.r)
|
||||
|
||||
@@ -126,3 +125,8 @@ def parents_dag(go_terms, ontology=['BP']):
|
||||
else:
|
||||
edge_dict[nn] = [head]
|
||||
return edge_dict
|
||||
|
||||
def gene_GO_hypergeo_test(genelist, universe, ontology = ['BP']):
|
||||
|
||||
pvals = geneGoHyperGeoTest(entrezGeneIds, lib=None, ontology=ontology[0], universe=universe)
|
||||
return pvals
|
||||
|
Reference in New Issue
Block a user