Apply layout to a network in Cytoscape

Description

This functions allows to apply a given layout to a particular network in Cytoscape, with the use of the cyREST plugin.

Usage

1
applyLayout(network.suid, layout.name, port.number = 1234)

Arguments

network.suid

The network ID in the cytoscape session

layout.name

The layout name to display the network in Cytoscape

port.number

The local port number used by cyREST plugin to communicate with Cytoscape

Details

Layouts from yFiles must be set manually in Cytoscape, because it can not be used by cyREST for license use reasons.

See Also

addGraphToCytoscape

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.