Description Usage Arguments Details Value Examples
hideEdges
hide all edges of the specified type
1 2 | ## S4 method for signature 'RCyjs'
hideEdges(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
1 2 3 4 5 6 7 8 | 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")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.