pypath.inputs.go.go_descendants_to_ancestors§ pypath.inputs.go.go_descendants_to_ancestors(desc)[source]§ Turns a dict of descendants to dict of ancestors by swapping the relationships. This way descendants will be the keys and their ancestors will be the values.