pypath.inputs.go.go_ancestors§
- pypath.inputs.go.go_ancestors(aspects=('C', 'F', 'P'))§
Queries the ancestors of GO terms by QuickGO REST API.
Returns dict of sets where keys are GO accessions and values are sets of their ancestors.
- Parameters:
aspects (tuple) – GO aspects: C, F and P for cellular_component, molecular_function and biological_process, respectively.