pypath.utils.go.annotate§

pypath.utils.go.annotate(graph, organism=9606, aspects=('C', 'F', 'P'))[source]§

Adds Gene Ontology annotations to the nodes of a graph.

Parameters:

graph (igraph.Graph) – Any igraph.Graph object with uniprot IDs in its name vertex attribute.