cytoscape: Cytoscape Network Chart

Description Usage Arguments Examples

View source: R/cytoscape.R

Description

Cytoscape Network Chart

Usage

1
2
3
cytoscape(df = NULL, nodes = NULL, edges = NULL, json = NULL,
  id = "id", source = "source", target = "target", message = NULL,
  width = NULL, height = NULL, elementId = NULL)

Arguments

df

data.frame or tibble

nodes

data.frame or tibble

edges

data.frame or tibble

json

pass single json object. This option over-rules all others.

id

character column name where df used

source

character column name where df used

target

character column name where df used

elementId

Examples

1
2
3
4
 nodes <- data.frame(id = c('a','b'))
 edges <- data.frame(id = 'ab', source = 'a', target = 'b')

 cytoscape(nodes = nodes, edges = edges)

mrjoh3/cytoscape documentation built on Nov. 14, 2020, 9:29 a.m.