# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
g <- makeSimpleGraph ()
cy2.edge.names (g)
# A~B B~C C~A
# "A (phosphorylates) B" "B (synthetic lethal) C" "C (undefined) A"
cy2.edge.names (g, R.edge.names="B~C")
# B~C
# "B (synthetic lethal) C"
Run the code above in your browser using DataLab