createIgraphFromNetwork: Create an igraph network from a Cytoscape network

Description Usage Arguments Details Value See Also Examples

View source: R/createIgraphFromNetwork.R

Description

Takes a Cytoscape network and generates data frames for vertices and edges to send to the graph_from_data_frame function. Returns the network.suid and applies the perferred layout set in Cytoscape preferences.

Usage

1
2
createIgraphFromNetwork(network = "current",
  base.url = "http://localhost:1234/v1")

Arguments

network

name or suid of the network; default is "current" network

base.url

cyrest base url for communicating with cytoscape

Details

Nodes and edges from the Cytoscape network will be translated into vertices and edges in igraph. Associated table columns will also be passed to igraph as vertiex and edge attributes.

Value

(igraph) an igraph network

See Also

createNetwork, createIgraphFromNetwork

Examples

1

cytoscape/r2cytoscape documentation built on May 4, 2019, 6:36 p.m.