pypath.inputs.go.go_ancestors_goose§

pypath.inputs.go.go_ancestors_goose(aspects=('C', 'F', 'P'))[source]§

Queries the ancestors of GO terms by AmiGO goose.

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.