@in_place_transformation<EOL>def collapse_protein_variants(graph: BELGraph) -> None:
_collapse_variants_by_function(graph, PROTEIN)<EOL>
Collapse all protein's variants' edges to their parents, in-place.