showEdges: showEdges

Description Usage Arguments Details Value Examples

Description

showEdges if hidden, edges of the specified type will be made visible

Usage

1
2
## S4 method for signature 'RCyjs'
showEdges(obj, edgeType)

Arguments

obj

an RCyjs instance

edgeType

a character string

Details

edgeType is a crucial feature for RCyjs. We assume it is an attribute found on every edge in every graph.

Value

no return value

Examples

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")
   }

RCyjs documentation built on Nov. 1, 2018, 2:30 a.m.