getNodeCount: getNodeCount

Description Usage Arguments Value Examples

Description

getNodeCount the number of nodes in the current cytoscape.js graph

Usage

1
2
## S4 method for signature 'RCyjs'
getNodeCount(obj)

Arguments

obj

RCyjs instance

Value

numeric count

Examples

1
2
3
4
if(interactive()){
   rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
   getNodeCount(rcy)
   }

PriceLab/RCyjs documentation built on May 10, 2019, 8:03 a.m.