createNetworkFromCytoscapejs: Create a Network from Cytoscapejs

View source: R/Networks.R

createNetworkFromCytoscapejsR Documentation

Create a Network from Cytoscapejs

Description

Create a network from CytoscapeJS JSON

Usage

createNetworkFromCytoscapejs(
  cytoscapejs,
  title = NULL,
  collection = "My CytoscapeJS Network Collection",
  base.url = .defaultBaseUrl
)

Arguments

cytoscapejs

network (nodes, edges, attributes, node positions and metadata) in CytoscapeJS format

title

network name (NULL means use the name in cytoscapejs)

collection

collection name (NULL means create an unnamed collection)

base.url

(optional) Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://localhost:1234 and the latest version of the CyREST API supported by this version of RCy3.

Value

The SUID of the new network

Examples


createNetworkFromCytoscapejs()


cytoscape/RCy3 documentation built on Nov. 1, 2024, 2:49 a.m.