| showEdges,RCyjs-method {RCyjs} | R Documentation |
showEdges if hidden, edges of the specified type will be made visible
## S4 method for signature 'RCyjs' showEdges(obj, edgeType)
obj |
an RCyjs instance |
edgeType |
a character string |
edgeType is a crucial feature for RCyjs. We assume it is an attribute found on every edge in every graph.
no return value
if(interactive()){
rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
getNodes(rcy)
edaNames(rcy) # includes "edgeType"
eda(rcy, "edgeType") # includes "phosphorylates"
hideEdges(rcy, edgeType="phosphorylates")
showEdges(rcy, edgeType="phosphorylates")
}