dataFramesToJSON: Create a cytoscape.js JSON graph from one or two data.frames.

View source: R/graphsToJSON.R

dataFramesToJSONR Documentation

Create a cytoscape.js JSON graph from one or two data.frames.

Description

Create a cytoscape.js JSON graph from one or two data.frames.

Usage

dataFramesToJSON(tbl.edges, tbl.nodes = NULL)

Arguments

tbl.edges

data.frame, with source, target and interaction columns, others option for edge attributes

tbl.nodes

data.frame, options, useful for orphan nodes, and necessary for adding node attributes

Value

a string with a cytoscape.js JSON graph


cyjShiny documentation built on March 31, 2023, 10:24 p.m.