hideEdges,RCyjs-method {RCyjs}R Documentation

hideEdges

Description

hideEdges hide all edges of the specified type

Usage

## S4 method for signature 'RCyjs'
hideEdges(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

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

[Package RCyjs version 2.4.0 Index]