Tralala ...
This commit is contained in:
@@ -46,7 +46,7 @@ def dag(terms, ontology):
|
||||
__parents = {'bp' : rpy.r.GOBPPARENTS,
|
||||
'mf' : rpy.r.GOMFPARENTS,
|
||||
'cc' : rpy.r.GOCCPARENTS}
|
||||
gograph = rpy.r.GOGraph(terms, __parents.get(ontology))
|
||||
gograph = rpy.r.GOGraph(terms, __parents.get(ontology.lower()))
|
||||
dag = rpy.r.edges(gograph)
|
||||
#setattr(dag, "_ontology", ontology)
|
||||
return dag
|
||||
|
Reference in New Issue
Block a user