node_style: Node Style

Description Usage Arguments Value Examples

View source: R/style.R

Description

Any recognised cytoscape style option can be passed to the node style. For available options see the cytoscape documentation.

Usage

1

Arguments

cytoscape

object

...

additional parameters passed to the style node object

Value

ctytoscape object

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) %>% node_style('background-color' = '#ff0000')

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