Thank you for your answer! Can I ask one more question?
I guess that obonet represents the network containing nodes (=GO term) and edges (=hierarchical relation).
But I need gene-gene adjacency matrix. If two genes have a common GO term, the value of them is set to 1 in the matrix.
Can obonet and networkx make this matrix?